Template:Wdy

From The Sonic Eats Rings Museum
Jump to navigation Jump to search
This macro displays the same link, in the format no matter what the sister project {{{SITENAME}}}. It's also used by WikiProject Template sharing to make usage text portable.

Version-at-a-glance

source: Wikiversity - New format with interlingual linking capability. // FrankB 03:22, 16 August 2008 (UTC)

{{Wdy}} accesses a dictionary page (prefix: wikt:) from any sister project and gives a user friendly pipetricked format for interwiki linking directly inline to access a Wiktionary page.

  • The parameter {{{L}}} (or {{{LANG}}}) can be defined for cross-language sister project linking.

example: Specifying L=de: {{wqt|L=de:|Saxon}} will form the link: [[wikt:de:Saxon]]

given
{{wdy|L=de:|Saxon}} ↔ wikt:de.Saxon (which page does not exist) but in Hungarian
{{wdy|L=hu:|Saxon}} ↔ Saxonwikt:hu:Saxon



Mnemonically, 'W' from Wiki plus 'dy' for Dictionary: (An initialism): Gives pipetricked form for inline interwiki linking direct to access a Wiktionary page.

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: Wdy 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).