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)


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: WPC


Commons
The sister project Commons has this template: WPC


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


Wikisource
The sister project Wikisource has this template: WPC


Wiktionary
The sister project Wiktionary has this template: WPC


Wikinews
The sister project Wikinews has this template: WPC


Wikispecies
Wikispecies has this template: WPC


Wikiversity
The sister project Wikiversity has this template: WPC








Mnemonically, 'W' from Wiki plus 'D' for Dictionary: (An initialism): Adapted from [[commons:[[commons:{{{1}}}|{{{2}}}]]|[[commons:{{{1}}}|{{{2}}}]]]], 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.]]