Шаблон:Wikimacro usage
Материал из Provizorii
- Note page has hidden operative code when viewed directly.
Version | Origin | Change Description | datestamp and programmer |
---|---|---|---|
Ver: E_a | Commons | Trim fat out of usage and shorten significantly | FrankB 22:24, 20 March 2007 (UTC) |
Ver: E | Meta | Add usage <pre-/pre> 'block' and adjust formatting on main text displayed | FrankB 08:13, 16 March 2007 (UTC) |
Ver: D | Meta | (b)Rework and update this table with earliest edits. (b) Compatibility for Wikibooks, Template:Tl2 has prior use, so substituting on Meta Mastercopy for export there. Re-export to others unneeded at this time |
(a) and (b) [same save] FrankB 22:44, 13 March 2007 (UTC) |
Ver:_,a | Wikipedia | (a): Origin--one of several interwiki templates for documentation needs to sisters; cut and paste excerpts from various templates reworked to call this page. _: (Genesis - consolidated usage for all the macro types used for interwiki portability begun with: {subst:interwiki doc page pattern}) |
(a)Iterim: FrankB 08:42, 13 February 2007 _: FrankB 03:27, 7 February 2007 (UTC) |
This is a common usage page for the sister macro templates:
{{Wpd}} / {{Wbk}} / {{Cms}} / {{Wdy}} / {{Wqt}} / {{Wsp}} / {{Wsr}} / {{Wvy}} etcetera.
This page takes numeric parameters thru which normal control mnemonics may be passed to define them for {interwikitmp-grp}. {{#if:{{{1|}}}|<!--- These if's for passing exceptions Passing an equals sign is not successful... so adding this logic here so need only pass the control mnemonic. ---->|{{{1}}}={{#if:{{{2|}}}|<!--- ---->|{{{2}}}=}}{{#if:{{{3|}}}|<!--- ---->|{{{3}}}=}}{{#if:{{{4|}}}|<!--- ---->|{{{4}}}=}}<!--- ---->}}... these act as inputs to interwikitmp-grp This page takes one other parameter: RDIR = defined or not defined, ... use this on redirects pages of the old templates names now redirects such as 'W2', 'W2c', 'Wd', 'WD', and 'Mw', etc. and include this page instead of using direct inclusions of interwikitmp-grp. This provides for one place to update and maintain auto-catgegorization and participating sister projects, etc. When RDIR defined, properly pipetricks PAGENAME to indicate redirects pages.
Similar templates at English sister projects [edit] | |||
---|---|---|---|
mta | Meta-wiki | Wikimacro usage | |
wpd | Wikipedia | Wikimacro usage | |
cms | Commons | Wikimacro usage | |
wbk | Wikibooks | Wikimacro usage | |
wsp | Wikispecies | Wikimacro usage | |
Файл:Wikiversity-logo.svg | wvy | Wikiversity | Wikimacro usage |
This project now less under construction ... Pardon our appearance whist we remodel, pull the engine, and change the tires. |
- 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).