Template:MW

From Wikipedia, the free encyclopedia



Template Logic
{{#if: {{{2|}}} |<!--THEN---> [[ m: {{{1}}} | {{{2}}} ]] |<!--ELSE---> [[ m: {{{1}}} | {{{1}}} ]] <!--ENDIF--->}} (whitespace added)
Other Sister Projects sharing this template or one like it

Metawiki
Our umbrella organization, Metawiki has this template: [[m:template:|]]



Wikipedia
Wikipedia has this template: MW


Commons
The sister project Commons has this template: MW


Wikibooks logo
Wikibooks has the similar template:
Wikiquote
The sister project Wikiquote has this template: MW


Wikisource
The sister project Wikisource has this template: MW


Wiktionary
The sister project Wiktionary has this template: MW


Wikinews
The sister project Wikinews has this template: MW


Wikispecies
Wikispecies has this template: MW


Wikiversity
The sister project Wikiversity has this template: MW






Purpose is to duplicate the wikimedia commons template 'w2c' which doesn't match the en.wikipedia 'Wc' (World Cup) template, by creating a 'w2c' template for both sister projects that also takes a pipetrick using an if then else construct.

On {{W2}}/{{Wb}}/{{W2c}}/{{Wd}}/{{Wq}}/{{Ws}} (sister templates)

'W2' and 'Wc' interwiki templates:

  • Both enable both sister-projects to use the same call in category pages being equalized by the various interwiki templates such as {{Commonscat4}} by simply copying the same language between the two matching categories. Such now takes a lot of manual editing converting from the commons (Article page link) forms [[w:Article name]] or {{W|Article name}} to [[Article name]] on en.wikipedia.
  • 'Wc' is primarily useful for see also lists on en.wikipedia or other direct accessing needs into a commons page. (Talk to Talk page, say for example).
  • This template will allow such pipetricking as well by testing for the second arguement using if then else conditionals.