Template:Size: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(link to MoreThanX cats for better maintenance)
(auto cat old style size cats)
Line 1: Line 1:
<table><tr><td style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;">
<table><tr><td style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;">
[{{{ wiki_statistics_URL }}} Statistics]<br />[[:Category:Wiki Size|Wiki Size]]: {{#if: {{{wiki_pages|}}}|[[:Category:{{SizeCat|{{{wiki_pages}}}}}|{{{wiki_pages}}} pages]]|[[:Category:{{{wiki_size|UnknownSize}}}|{{{wiki_size|UnknownSize}}}]]}}
[{{{ wiki_statistics_URL }}} Statistics]<br />[[:Category:Wiki Size|Wiki Size]]: {{#if: {{{wiki_pages|}}}|[[:Category:{{SizeCat|{{{wiki_pages}}}}}|{{{wiki_pages}}} pages]]|[[:Category:{{{wiki_size|UnknownSize}}}|{{{wiki_size|UnknownSize}}}]]}}
</td></tr></table><includeonly>{{#if: {{{wiki_pages|}}}|[[Category:{{SizeCat|{{{wiki_pages}}}}}]]|[[Category:{{{wiki_size|UnknownSize}}}]]}}</includeonly><noinclude>
</td></tr></table><includeonly>{{#if: {{{wiki_pages|}}}|[[Category:{{SizeCat|{{{wiki_pages}}}}}]]|[[Category:{{{wiki_size|UnknownSize}}}]]}}{{#if: {{{wiki_size|}}}|[[Category:old style size cats]]}}</includeonly><noinclude>


== boilerplate (new style) ==
== boilerplate (new style) ==
Line 7: Line 7:
  <nowiki>{{</nowiki>Size
  <nowiki>{{</nowiki>Size
  | wiki_statistics_URL =  No  
  | wiki_statistics_URL =  No  
  | wiki_pages = ''number of pages''
  | wiki_pages = <nowiki><!-- number of pages, leave blank if unknown --></nowiki>
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
</div>
</div>
== boilerplate (old style) ==
== boilerplate (old style) ==
don't use this style ano more, use the new style instead
don't use this style any more, use the new style instead
  <nowiki>{{</nowiki>Size
  <nowiki>{{</nowiki>Size
  | wiki_statistics_URL =  No  
  | wiki_statistics_URL =  No  

Revision as of 16:24, 24 July 2007

[{{{ wiki_statistics_URL }}} Statistics]
Wiki Size: UnknownSize

boilerplate (new style)

{{Size
| wiki_statistics_URL =  No 
| wiki_pages = <!-- number of pages, leave blank if unknown -->
}}

boilerplate (old style)

don't use this style any more, use the new style instead

{{Size
| wiki_statistics_URL =  No 
| wiki_size = Size category
}}