Difference between revisions of "Template:Shortcut"

From MINR.ORG WIKI
(update -- allowing up to 5 parameters; manual linking no longer required, but will work anyway for now (see talk). May *want* to update current transclusions, but don't have to.)
(+ correct talk page coloring)
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint">
+
<noinclude>{{protected template}}</noinclude><table style="border: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|999}}; background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|f8eaba|fff}}; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint">
 
<th id="shortcut" class="noprint" align="center" valign="top"><small>[[Wikipedia: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" class="noprint" align="center" valign="top"><small>[[Wikipedia: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></table><noinclude>{{/doc}}</noinclude>
 
</th></table><noinclude>{{/doc}}</noinclude>

Revision as of 22:30, 3 April 2007