Template:Wpstat: Difference between revisions
Jump to navigation
Jump to search
(it works! - more examples) |
Hoof Hearted (talk | contribs) m (Text replacement - "{{tag|Shortcut templates|shortcut template}}" to "{{tag|shortcut template}}") Tags: mobile edit mobile web edit |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>https://{{{1|de}}}.Wikipedia.org/wiki/Special:Statistics</includeonly><noinclude> | ||
:''Note: this template is <u>depreciated</u>. Please use <tt>{{Template|Size}}</tt> when amending any existing {{tag|Wikipedia}} articles which use this. | |||
---- | |||
This {{tag|shortcut template}} provides a [[:Category:Wiki language|language]]-specific mechanism by using the {{Wp|List of ISO 639-1 codes|ISO language code}} for getting access to the relevant {{tag|Wikipedia}} statistics page. | |||
if you want to use it: | |||
if you want to use it | |||
type: | type: | ||
<pre>{{Wpstat|de}}</pre> | |||
and | and it will generate the following: | ||
{{ | {{Wpstat}} | ||
or type: | or type: | ||
<pre>{{Wpstat|en|}}</pre> | |||
and get something like: | and get something like: | ||
{{ | {{Wpstat|en|}} | ||
more examples using another shortcut ([[template: | more examples using another shortcut ([[template:Wpstat/1]]): | ||
* {{ | *{{Wpstat/1|da}} | ||
* {{ | *{{Wpstat/1|de}} | ||
* {{ | *{{Wpstat/1|en}} | ||
* {{ | *{{Wpstat/1|es}} | ||
* {{ | *{{Wpstat/1|fr}} | ||
* {{ | *{{Wpstat/1|it}} | ||
* {{ | *{{Wpstat/1|sv}} | ||
* {{ | *{{Wpstat/1|zh}} | ||
See also [[template:Wikipedia]]. | |||
[[ | [[Category:Wikipedia|*]] | ||
</noinclude> | [[Category:Wikimedia Foundation templates]]</noinclude> |
Latest revision as of 18:49, 28 May 2023
- Note: this template is depreciated. Please use {{Size}} when amending any existing Wikipedia articles which use this.
This shortcut template provides a language-specific mechanism by using the ISO language code for getting access to the relevant Wikipedia statistics page.
if you want to use it:
type:
{{Wpstat|de}}
and it will generate the following:
https://de.Wikipedia.org/wiki/Special:Statistics
or type:
{{Wpstat|en|}}
and get something like:
https://en.Wikipedia.org/wiki/Special:Statistics
more examples using another shortcut (template:Wpstat/1):
See also template:Wikipedia.