Help talk:Valuerank format
|Thread title||Replies||Last modified|
|Remove the span element from valuerank results||2||18:54, 11 March 2016|
I'm attempting to use the results of a valuerank formatted query as a variable, to be used in later experessions on my article, but the valuerank - unlike any other result format as far as I can tell - insists on placing the query result inside a span element. This prevents me from using the result as a variable inside any expressions. I had tried using liststyle=none or specifying an additional class for the query result where display: none, but neither method removed the span element. Every other format places results within a p tag. Is there a reason valuerank insists on using a span and can I get around this?
> Every other format places results within a p tag. Is there a reason valuerank insists on using a span and can I get around this?
If it is not a template related output then it will either use 'span' or 'li' as element according to .
Thank you for the reference, MWJames, that helps. I did experiment with using a template format option with the valuerank, but I wound up with the result wrapped in a div rather than a span - so different result but same end result problem once I tried to insert the variable into an expression. I might be on the right track though if I can pull the div from the template fomrat somehow. I'm going to keep playing. Thank you for the info.