Template:Shortcut: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| id="shortcut" class="noprint" style="border: 1px solid #999; background: #fff; margin: 0 0 .5em 1em; text-align: center; padding: 5px; float: {{{float|right}}}; clear: {{{clear|right}}}; font-size: smaller;" | {| id="shortcut" class="noprint" style="border: 1px solid #999; background: #fff; margin: 0 0 .5em 1em; text-align: center; padding: 5px; float: {{{float|right}}}; clear: {{{clear|right}}}; font-size: smaller;" | ||
|- | |- | ||
! | ! Shortcut<br />{{{1}}} | ||
|- | |- | ||
|}<noinclude> | |}<noinclude> | ||
Line 9: | Line 9: | ||
Please '''do not use''' this template on other templates, e.g. to state that the shortcut to [[Template:Foo]] is in fact <nowiki>{{Foo}}</nowiki>. There's no need to state the obvious like that, '''each''' template uses its own name as a shortcut, by default. | Please '''do not use''' this template on other templates, e.g. to state that the shortcut to [[Template:Foo]] is in fact <nowiki>{{Foo}}</nowiki>. There's no need to state the obvious like that, '''each''' template uses its own name as a shortcut, by default. | ||
This text was stolen straight out of http://en.wikipedia.org/w/index.php?title=Template:Shortcut&action=edit -- I'll edit it fFor use if i can make it work. | |||
This text was stolen straight out of http://en.wikipedia.org/w/index.php?title=Template:Shortcut&action=edit -- I'll edit it fFor use if i can make it work. so fFar, not working. Hm, it doesnt terribly like the use of the syntax or something. Looks like wikipedia uses {{{ }}} by default to identify shortcuts, and then there's a nice page which describes how that fFormats. But the parsing seems to be pretty much a build thing. i think. | |||
</noinclude> | </noinclude> |
Revision as of 19:55, 1 March 2006
Usage
This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, WP:V redirects to Wikipedia:Verification
Please do not use this template on other templates, e.g. to state that the shortcut to Template:Foo is in fact {{Foo}}. There's no need to state the obvious like that, each template uses its own name as a shortcut, by default.
This text was stolen straight out of http://en.wikipedia.org/w/index.php?title=Template:Shortcut&action=edit -- I'll edit it fFor use if i can make it work. so fFar, not working. Hm, it doesnt terribly like the use of the syntax or something. Looks like wikipedia uses {{{ }}} by default to identify shortcuts, and then there's a nice page which describes how that fFormats. But the parsing seems to be pretty much a build thing. i think.