Template:Shortcut

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (Testing)
(Still working on the shortcut template)
Line 1: Line 1:
-
<noinclude>{{protected template}}</noinclude><table class="noprint Template-Shortcut" style="border: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|999}}; background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|f8eaba|fff}}; margin: .3em .3em .3em 1em; padding: 3px; float: right">
+
{{{1{{{1|}}}|<table style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px; float: right" class="noprint">
-
<th class="noprint" align="center" valign="top"><small>[[Template:Shortcut|Shortcut]]:<br />{{#ifexist:{{{1|}}}|[[{{{1}}}]]|{{{1|}}} }}{{#if:{{{2|}}}|<br />[[{{{2}}}]]}}{{#if:{{{3|}}}|<br />[[{{{3}}}]]}}{{#if:{{{4|}}}|<br />[[{{{4}}}]]}}{{#if:{{{5|}}}|<br />[[{{{5}}}]]}}</small>
+
<th id="shortcut" align="center" valign="top"><small>[[Template:Shortcut|Shortcut]]:<br />{{{1|}}}</small>
-
</th></table><noinclude>{{/doc}}</noinclude>
+
</table>}}}<noinclude>
 +
----
 +
This template is primarily used on MeritBadgeDotOrg project, article and policy pages to show the shortest alias of a given page. For example, [[MB:MB]] redirects to [[MeritBadgeDotOrg:Merit Badges]].
 +
The optional parameter is typically a link to a shortcut. For usage within other templates no parameter results in no output.
 +
 
 +
[[Category:Template|{{PAGENAME}}]]
 +
</noinclude>

Revision as of 08:57, April 9, 2007

Shortcut:

This template is primarily used on MeritBadgeDotOrg project, article and policy pages to show the shortest alias of a given page. For example, MB:MB redirects to MeritBadgeDotOrg:Merit Badges. The optional parameter is typically a link to a shortcut. For usage within other templates no parameter results in no output.

Personal tools
language