Шаблон:Wpd

Материал из Provizorii
Перейти к: навигация, поиск
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 Commons Return to old logic with explicit #ifeq test. The shorter 'streamlined' logic is not robust inside other templates. This one is balanced and should not have the same 'breakage of other logic' issues. FrankB 04:56, 23 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  

Similar templates at English sister projects [edit]
Wikimedia-logo.svg mta Meta-wiki Wpd
Wikipedia-logo.png wpd Wikipedia Wpd
Commons-logo.svg cms Commons Wpd
Wikibooks-logo.svg wbk Wikibooks Wpd
Wikispecies-logo.svg wsp Wikispecies Wpd
Файл:Wikiversity-logo.svg wvy Wikiversity Wpd
This project now less under construction ...
Pardon our appearance whist we remodel,
pull the engine, and change the tires.




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