Template:Wpstat: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(tippo)
m (Text replacement - "{{tag|Shortcut templates|shortcut template}}" to "{{tag|shortcut template}}")
Tags: mobile edit mobile web edit
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>http://{{{1|de}}}.wikipedia.org/w/index.php?title=Special:Statistics&action={{{2|raw}}}</includeonly><noinclude>
<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.


this template seems to provides a language-independend mechanism for getting access to [[Wikipedia]] statistics pages.
if you want to use it:
 
if you want to use it,


type:
type:
<nowiki>{{</nowiki>wpstat|''[http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes language code]''<nowiki>}}</nowiki>
<pre>{{Wpstat|de}}</pre>
and get something like:
and it will generate the following:
  {{wpstat}}
  {{Wpstat}}


or type:
or type:
<nowiki>{{</nowiki>wpstat|''[http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes language code]''|<nowiki>}}</nowiki>
<pre>{{Wpstat|en|}}</pre>
and get something like:
and get something like:
  {{wpstat|en|}}
  {{Wpstat|en|}}
 
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:Shortcut templates]]
[[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.