Template:W2

From Demopædia
Jump to: navigation, search

Template:ITemplate logic:{{#if: {{{2|}}} | [[w:{{{1}}}|{{{2}}}]] | [[w:{{{1}}}|{{{1}}}]] }}

Similar templates at English sister projects [edit]
25x25px mta Meta-wiki W2
25x25px wpd Wikipedia W2
25x25px cms Commons W2
25x25px wbk Wikibooks W2
25x25px wsp Wikispecies W2
25x25px wvy Wikiversity W2
This project now less under construction ...
Pardon our appearance whist we remodel,
pull the engine, and change the tires.

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 {{WikiPcat}} by simply copying the same language between the two matching categories. Such now takes a lot of manual editing converting from the commons [[w:Article name]] or {{W|Article name}} to [[Article name]] on en.wikipedia. The [[xxx]] forms allow pipetrick renaming, whereas {{w|xxx}} does not.

  • This template will allow such pipetricking as well by testing for the second arguement using if then else conditionals.

See also