Jump to content

Template:Cms

From Wikiversity
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.
Template:Left66

This 'Wikimacro usage' template documentation is [[Template:WPDWikipedia:Template_doc_page_pattern|transcluded]] for all {{ Wikimacro usage}} tagged templates [edit].[[Template:CMS:template:Cms|Masterpage]]  

Similar templates at English sister projects [edit]
wpd Wikipedia Cms
cms Commons Cms
wbk Wikibooks Cms
wsp Wikispecies Cms
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

{{W2c}}

Purpose: Cms is one of a family of interwiki Macro templates which will give identical output for all Template:Mta 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).