From Wikiversity
(Redirected from Template:W2c)
Jump to: navigation, search
This macro displays the same link, in the format no matter what the sister project {{{SITENAME}}}.
It's used by WikiProject Template sharing to make usage text portable.

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

Similar templates at English sister projects [edit]
Wikipedia-logo.png wpd Wikipedia Cms
Commons-logo.svg cms Commons Cms
Wikibooks-logo.svg wbk Wikibooks Cms
Wikispecies-logo.svg wsp Wikispecies Cms
Wikiversity-logo.svg wvy Wikiversity Cms

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

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

and the Wikimedia Commons' category space accessing template


Purpose: Cms 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).