Difference between revisions of "Test category cloud sub"

From FollowTheScore
Jump to: navigation, search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style=font-size:{{#expr:6+floor(sqrt({{#dpl:category={{{1}}}
+
<includeonly>{{#vardefine:freq|{{#ifeq:{{{3|}}}|LINK
 +
|{{#dpl:
 +
|linksto={{{1}}}
 
  |resultsheader=%PAGES%
 
  |resultsheader=%PAGES%
 
  |noresultsheader=0
 
  |noresultsheader=0
 
  |format=,
 
  |format=,
))}}}}pt>{{{1}}}</span>
+
|reset=all
{{#expr:6+round(sqrt(13))}}
+
}}
 +
|{{#dpl:
 +
|category={{{1}}}
 +
|resultsheader=%PAGES%
 +
|noresultsheader=0
 +
|format=,
 +
|reset=all
 +
}}
 +
}}}}<!--
 +
-->{{#ifeq:{{{3|}}}|LINK
 +
|<span style=font-size:{{#expr:6+3*floor(sqrt({{#var:freq}}))}}pt>[[{{{1}}}|{{{2}}}]]</span> ({{#var:freq}})
 +
|<span style=font-size:{{#expr:6+1.5*floor(sqrt({{#var:freq}}))}}pt>[[:{{{1}}}|{{{2}}}]]</span> ({{#var:freq}})
 +
}}</includeonly>

Latest revision as of 08:42, 20 November 2008