Template:Wpsize: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(add in wikiFactor to template, wikilinks, tidy)
(improve)
Line 1: Line 1:
<includeonly>{{Size
<includeonly>{{Size
|statistics_URL = {{wpstat|{{{1}}}}}
|pages = {{{2}}}
|pages = {{{2}}}
|wikiFactor = <!--Optional. If unknown leave void. See Proposal:wikiFactor.-->
|statistics URL = {{wpstat|{{{1}}}}}
|wikiFactor URL = <!--Preferred, source of wiki factor (often 'Popularpages'). If unknown leave void.-->
|wikiFactor = <!--Optional. If unknown leave void. See Category:wikiFactor.-->
|wikiFactor URL = <!--Preferred, source of wikiFactor (often 'PopularPages'). If unknown leave void.-->
}}(As of: DD Month YYYY)<!--manually add date when stats are verified and/or updated--></includeonly><noinclude>
}}(As of: DD Month YYYY)<!--manually add date when stats are verified and/or updated--></includeonly><noinclude>
 
This [[:Category:Templates|template]] is used as a shortcut for generating [[:Category:Wiki Language|language]]-specific [[:Category:Wikipedia|Wikipedia]] statistics, from their stats URL – to render the standard [[template:Size|page size box]] after the edit is saved.  Type (both parameters are required) . . .
This [[:Category:Templates|template]] is used for [[:Category:Wikipedia|Wikipedia]] statistics, type
  <nowiki>{{</nowiki>wpsize|''[[wp:List of ISO 639-1 codes|ISO language code]]''|''number of "good" pages''<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>wpsize|''[[language code]]''|''number of "good" pages''<nowiki>}}</nowiki>
both parameters are required – and you'll get the [[template:Size|standard size box]] filled automatically.


[[Category:Shortcut templates]]
[[Category:Shortcut templates]]
[[Category:Wikipedia templates]]</noinclude>
[[Category:Wikipedia templates]]</noinclude>

Revision as of 17:23, 8 October 2012

This template is used as a shortcut for generating language-specific Wikipedia statistics, from their stats URL – to render the standard page size box after the edit is saved. Type (both parameters are required) . . .

{{wpsize|ISO language code|number of "good" pages}}