Difference between revisions of "Template:Template shortcut"

From DMARC Wiki
Jump to navigation Jump to search
(«+{{clear}}»)
(server localurl -> fullurl; add {{{pre|}}} for prefix (like subst:))
Line 1: Line 1:
 
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint plainlinks">
 
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint plainlinks">
<th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<br />&#123;&#123;[{{SERVER}}{{localurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;{{#if:{{{2|}}}|<br />&#123;&#123;[{{SERVER}}{{localurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}
+
<th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<!--
{{#if:{{{3|}}}|<br />&#123;&#123;[{{SERVER}}{{localurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}</small></th>
+
--><br />&#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;<!--
 +
-->{{#if:{{{2|}}}|<br />&#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}<!--
 +
-->{{#if:{{{3|}}}|<br />&#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}
 +
</small></th>
 
</table><noinclude>{{clear}}{{template doc}}</noinclude>
 
</table><noinclude>{{clear}}{{template doc}}</noinclude>

Revision as of 00:12, 12 March 2007