Template:Size: Difference between revisions

swap page code around to try reducing whitespace at top of rendered size template
(minor tweak to try and remove excessive whitespace at top of rendered template, minor wikilinks & corrections)
(swap page code around to try reducing whitespace at top of rendered size template)
Line 1: Line 1:
<!--
<!--Starting template code-->
Categorizing logic-->
{{#set:Wiki size={{{pages|}}} |Wiki factor={{{wikiFactor|}}} }}
{|style="margin:0; padding:0; border:none"
|-style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
|style="margin:0 0 4px 4px; padding:2px;" scope="row"|[[:Category:Wiki Size|Wiki Size]]:
|style="margin:0 4px 4px 0; padding:2px"|{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
{{!}} style="margin:4px 0 0 4px; padding:2px;" scope="row" {{!}} [[:Category:WikiFactor|wikiFactor]]:
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
}}
|}<noinclude>
<!--Categorizing logic-->
<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]
|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]
Line 11: Line 22:
[[wikifactor::{{{wikiFactor|{{{wiki factor|0}}}}}}| ]]<!-- Semantic Property -->
[[wikifactor::{{{wikiFactor|{{{wiki factor|0}}}}}}| ]]<!-- Semantic Property -->
}}</includeonly>
}}</includeonly>
<!--
Starting template code-->
{{#set:Wiki size={{{pages|}}} |Wiki factor={{{wikiFactor|}}} }}
{|style="margin:0; padding:0; border:none"
|-style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
|style="margin:0 0 4px 4px; padding:2px;" scope="row"| [[:Category:Wiki Size|Wiki Size]]:
|style="margin:0 4px 4px 0; padding:2px"| {{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
{{!}} style="margin:4px 0 0 4px; padding:2px;" scope="row" {{!}} [[:Category:WikiFactor|wikiFactor]]:
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
}}
|}<noinclude>
__NOTOC__
__NOTOC__
==Parameters==
==Parameters==
Line 59: Line 57:


==How to get size information==
==How to get size information==
Most [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a page count.  Here's how to find them for various wiki engines (although it can also depend on the software version being run by the said [[wiki]]).  For most, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your web browser.
Many [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a page count.  Here's how to find them for various wiki engines (although it can also depend on the software version being run by the said [[wiki]]).  For most, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your web browser.
#[[:Category:MediaWiki|MediaWiki]] – add ''Special:Statistics'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> – There is a number called "Content pages" or sometimes "pages that are probably legitimate content pages" -- use <u>that</u> number.  Ignore the (often much larger) "all pages in the wiki, including redirects" number.  We can also [http://s23.org/wikistats/addwiki/ add] MediaWiki listings to the http://s23.org/wikistats/mediawikis_html.php system which tracks various wiki stats.
#[[:Category:MediaWiki|MediaWiki]] – add ''Special:Statistics'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> – There is a number called "Content pages" or sometimes "pages that are probably legitimate content pages" -- use <u>that</u> number.  Ignore the (often much larger) "all pages in the wiki, including redirects" number.  We can also [http://s23.org/wikistats/addwiki/ add] MediaWiki listings to the http://s23.org/wikistats/mediawikis_html.php system which tracks various wiki stats.
#[[:Category:MoinMoin|MoinMoin]] – add ''PageSize'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>
#[[:Category:MoinMoin|MoinMoin]] – add ''PageSize'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>