Template:Wpd

From The Sonic Eats Rings Museum
Revision as of 11:21, 7 November 2008 by SoNick (talk | contribs) (New page: <includeonly>{{#ifeq:Wikipedia|{{SITENAME}}<!--- ----- ----> |{{#if: {{{2|}}}<!--- ===---->|[[ {{{LANG|}}}{{{1|}}} |{{{2|}}}]]<!--- ===---->|[[ {{{LANG|}}}{{{1|}}} |{{{1|}}}]]<!--- ===--->...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This macro displays the same link, in the format no matter what the sister project {{{SITENAME}}}.
Note page has hidden operative code when viewed directly.
Version at a glance for M:TSP [ Template:Wpd ]
Version Origin Change Description datestamp and programmer

Ver: D Meta Fix so is wikilinks locally, not url's consitent with similar changes to the similar macro templates. FrankB 20:04, 26 March 2007 (UTC)

Ver: C Meta Fix up this version record and ready for export FrankB 23:18, 28 February 2007 (UTC)

Ver: B Meta ({{subst:WPTSP version}) on Meta FrankB 22:59, 28 February 2007 (UTC)

Ver: A Meta/Wikipedia (Imp groomed version frm wp) FrankB 02:26, 28 February 2007 (UTC)

Ver: _ Meta/Commons (Genesis--new form ala wp:w2c, rear end now for old w2) FrankB 19:36, 24 February 2007 (UTC)


It's used by Meta:WikiProject Template sharing to make usage text portable.

This 'Wikimacro usage' template documentation is transcluded for all {{ Wikimacro usage}} tagged templates [edit].Masterpage  


This is a common usage page for the sister macro templates:

{{Mta}} / {{Wbk}} / {{Cms}} / {{Wdy}} / {{Wqt}} / {{Mdw}} / {{Wpd}} / {{Wsp}} / {{Wsr}} / {{Wvy}} etcetera.

Purpose: Wpd is one of a family of interwiki Macro templates which will give identical output for all Wikimedia Foundation sister projects;



On {{Wpd}} / {{Wbk}} / {{Cms}} / {{Wdy}} / {{Wqt}} / {{Wsp}} / {{Wsr}} / {{Wvy}} (sister templates)
  • All such macro's enable calls from any sister project to use the same call and get the same output result.
  • Each connects to the general 'main' namespace of the given sister. Prefixing other namespaces such as Template: or Category:, even talk spaces will link to such namespaces fine. In that case, the pipe-trick parameter {{{2}}} may be given to create a trimmer link of more pleasing appearance.
  • 'Cms' is primarily useful for see also lists on en.wikipedia or other direct accessing needs into a commons page. (Talk to Talk page, for example).
Notes on genesis and equivalence
'W2' (ALSO: 'W' on many English sister projects, but with some name collisions on others) and 'W2c' (alternative name ({{Cmscat}}) interwiki templates came out of efforts to tag, annotate and interlink key categories on the Wikimedia Commons and En.Wikipedia, as the two places foreign language wiki's tie into and plant interwiki links. All were written to enhance text portability when tagging and linking categories and then templates with common hyper linked prose to appropriate reference pages.
These four originals are now exist only 'as redirects' to the more mnemonic 'Wpd', 'Cms', 'Mta' and 'Wdy' respectively adopting the three letter near-mnemonic's of Wikiproject template sharing project, which is standardizing templates to enhance productivity on all the sister projects.
Some like the commons template {{Cms}}, {{Wbk}}, {{Wdy}}, and {{Wsp}}, require logic to bypass their own prefix on their own site to enable interwiki portability or display of local links. (This is to say, that without such logic, these would display a full url, which does not reveal bad links, but full sitename prefixes are even worse, as evince always as redlinks).