Template:Wikistats v2.2-project: Difference between revisions

Fix the unwanted {{PAGENAME}} magic word transclusion error with a manual 3rd option
(Example, similar template)
(Fix the unwanted {{PAGENAME}} magic word transclusion error with a manual 3rd option)
Line 1: Line 1:
*[[WikiStats-WMCloud:{{{1|1}}}|WikiStats – List of {{{2|2}}}]] — sortable list table of {{PAGENAME}} wiki sites from [[Wikistats 2.2]] at WikiStats.WMCloud.org; MediaWiki statistics, hosted by [[:Category:Wikimedia Cloud Services|Wikimedia Cloud Services]] (WMCS)<noinclude><br>
*[[WikiStats-WMCloud:{{{1|1}}}|WikiStats – List of {{{2|2}}}]] — sortable list table of {{{3|3}}} wiki sites from [[Wikistats 2.2]] at WikiStats.WMCloud.org; MediaWiki statistics, hosted by [[:Category:Wikimedia Cloud Services|Wikimedia Cloud Services]] (WMCS)<noinclude><br>
----{{Clear}}
----{{Clear}}
{{TOCright}}
{{TOCright}}
Line 7: Line 7:
==Usage==
==Usage==
;Code
;Code
:<code><nowiki>{{Wikistats 2.2|''1''|''2''}}</nowiki></code>
:<code><nowiki>{{Wikistats 2.2|'1'|'2'|'3'}}</nowiki></code>
Where:
Where:
# = two-letter identifying code for wiki project from Wikistats 2.2 URL
# = two-letter identifying code for wiki project from Wikistats 2.2 URL
# = pluralised name of wiki project as shown in title of target Wikistats 2.2 page
# = pluralised name of wiki project as shown in title of target Wikistats 2.2 page
# = singular name of wiki project as shown on our WikiIndex [[Special:Categories|category]] or [[article]] page
;Example - project listing
;Example - project listing
:<code><nowiki>{{Wikistats 2.2|wt|Wiktionaries}}</nowiki></code>
:<code><nowiki>{{Wikistats 2.2|wt|Wiktionaries|Wiktionary}}</nowiki></code>
;Output
;Output
{{Wikistats 2.2|wt|Wiktionaries}}
{{Wikistats 2.2|wt|Wiktionaries|Wiktionary}}
''Please note:''  the unlinked 'Wikistats 2.2' will automatically change to the pagename of the actual [[Special:Categories|category]] or [[article]] which this template is used on


==Similar related template==
==Similar related template==