Template:Wktsize: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(add in wikiFactor to template, wikilinks, tidy)
(Fix red link following category rename)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Size
<includeonly>{{Size <!--see Template:Size for full detail-->
|statistics URL = {{wktstat|{{{1}}}}}
|pages= {{{2}}}
|pages = {{{2}}}
|statistics URL= {{Wktstat|{{{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>
This [[:Category:Templates|template]] is used for [[Wiktionary]] statistics, type
:'''''Note:'''''  this template is <u>depreciated</u>.  Please use the <tt>{{Template|Size}}</tt> template when amending any existing {{tag|Wiktionary}} articles which use this.
<nowiki>{{</nowiki>wktsize|''[[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]]
This [[:Category:Templates|template]] is used as a {{tag|Shortcut template|shortcut}} for generating [[:Category:Wiki language|language]]-specific {{tag|Wiktionary}} statistics, from their statistics URL – to render the standard [[Template:Size|page size box]] after the edit is saved.  Type (both parameters are required) . . .
[[Category:Wikipedia templates]]</noinclude>
<nowiki>{{</nowiki>Wktsize|''[[wp:List of ISO 639-1 codes|ISO language code]]''|''number of 'good' pages''<nowiki>}}</nowiki>
 
[[Category:Wiktionary| ]]
[[Category:Wikimedia Foundation templates]]</noinclude>

Latest revision as of 19:18, 28 May 2023

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

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

{{Wktsize|ISO language code|number of 'good' pages}}