Template:WPC

From Wikipedia, the free encyclopedia


[[commons:[[commons:{{{1}}}|{{{2}}}]]|[[commons:{{{1}}}|{{{2}}}]]]]



[[wiktionary:[[wiktionary:{{{1}}}|{{{2}}}]] |[[wiktionary:{{{1}}}|{{{2}}}]] ]] (Edit{{ WD }} ) Adapted from well debugged {{W2c}}, and like {{W2}}, will access a wikipedia page from any sister project or {{W2c}} access a commons page, {{Wd}} accesses a dictionary page from any sister project and gives a user friendly pipetricked format for interwiki linking direct to access a Wiktionary page.




Template Logic
{{#if: {{{2|}}} | [[wiktionary:{{{1}}}|{{{2}}}]] | [[wiktionary:{{{1}}}|{{{1}}}]] }}
   (an if-then-else structure)
Similar templates at English sister projects [edit]
mta Meta-wiki WPC
wpd Wikipedia WPC
cms Commons WPC
wbk Wikibooks WPC
wqt Wikiquote WPC
wsr Wikisource WPC
wsp Wikispecies WPC
wvy Wikiversity WPC
This project under construction ...
Pardon our appearance whist we remodel,
pull the engine, and change the tires.



Mnemonically, 'W' from Wiki plus 'D' for Dictionary: (An initialism): Adapted from [[commons: [[commons:|]] | ]] , Gives pipetricked form for interwiki linking direct to access a Wiktionary page.

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

'Wp' and 'Wc' are constrained by unavailable terms, including capital letter only variations, so as the first interwiki namespace to namespace templates (The goal was to have text links that reproduce identically on any sister project, so that text and link explainations on category pages could be shared across the sister project gulf, while trying hard to connect them efficiently. So these are not templates with a trivial local need.

Like this template will be ported with usage and links to other sister's, the template family allows direct same syntax connection between sisters's, making it easier to weave interwiki links (e.g. Word definition links in technical matter) nearly seamlessly with and within standard wiki text.
  • They collectively eliminate link conversion. 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.
  • 'WD' is primarily useful for see also lists on en.wikipedia or other direct accessing needs into a Dictionary page.
       (Talk page spats, for example).
  • This template will allow such pipetricking as well by testing for the second argument using if then else conditionals.]]