Template:Wpsize: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(add in wikiFactor to template, wikilinks, tidy)
(Fix red link following category rename)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Size
<includeonly>{{Size <!--see Template:Size for full detail-->
|statistics_URL = {{wpstat|{{{1}}}}}
|pages= {{{2}}}
|pages = {{{2}}}
|statistics URL= {{Wpstat|{{{1}}}}}
|wikiFactor = <!--Optional. If unknown leave void. See Proposal:wikiFactor.-->
|wikiFactor= <!--preferred; if unknown leave void; see: Category:wikiFactor for help-->
|wikiFactor URL = <!--Preferred, source of wiki factor (often 'Popularpages'). If unknown leave void.-->
|wikiFactor URL= <!--wF source (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: YYYY-MM-DD)<!--YYYY-MM-DD; manually add/amend date when stats are verified and/or updated--></includeonly><noinclude>
:'''''Note:'''''  this template is <u>depreciated</u>.  Please use the <tt>{{Template|Size}}</tt> template when amending any existing {{tag|Wikipedia}} articles which use this.


This [[:Category:Templates|template]] is used for [[:Category:Wikipedia|Wikipedia]] statistics, type
This [[:Category:Templates|template]] is used as a {{tag|Shortcut template|shortcut}} for generating [[:Category:Wiki language|language]]-specific {{tag|Wikipedia}} statistics, from their statistics URL; to render the standard [[Template:Size|page size box]] after the edit is saved.  Type (both parameters are required) . . .
  <nowiki>{{</nowiki>wpsize|''[[language code]]''|''number of "good" pages''<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>Wpsize|''{{Wp|List of ISO 639-1 codes|ISO 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:Wikipedia|*]]
[[Category:Wikipedia templates]]</noinclude>
[[Category:Wikimedia Foundation templates]]</noinclude>

Latest revision as of 19:19, 28 May 2023

Note: this template is depreciated. Please use the {{Size}} template when amending any existing Wikipedia articles which use this.

This template is used as a shortcut for generating language-specific Wikipedia statistics, from their statistics 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}}