Sari la conținut

Sikavno:W2

De la Vikipidiya

{{ #if:{{{2|}}}|[[{{{1}}}|{{{2}}}]] | [[{{{1}}}|{{{1}}}]] }}

Commons logo
Commons logo
Wikimedia Commons has the same or the similar Template listed below. Commons template:

Purpose is to duplicate the wikimedia commons template 'w' which doesn't match the en.wikipedia 'w' template, by creating a 'w2' template for both sister projects that also takes a pipetrick using an if then else construct.
This will 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 versions: [[w:Article name|Pipetricked name to 'Article name']] or {{W|Article name}} to wikipedia's [[Article name]] on en.wikipedia. The [[xxx]] forms allow pipetrick renaming, whereas {{w|xxx}} does not.
  • This 'W2 template' will allow such pipetricking, and also any used to be consistant across sister projects, as well by testing for the second arguement using if then else conditionals.