Template:Template link general: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content deleted Content added
Add "kbd" parameter to display output wrapped in <kbd> tags, similar to output of Template:Tltt, Template:Tltt2, etc. See template documentation for example. |
Add "nowrapname" to prevent template name from wrapping but allow rest of template to wrap. See documentation for example. |
||
Line 6:
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!--
-->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
-->{{#if:{{{nolink|}}} |<!--then omit template link, else:
-->{{!((}}:<!--(start building link with "[[:")
-->{{#ifeq:{{padleft:|1|{{{1}}}}}|: <!--i.e. if {{{1}}}'s first character is a colon,
Line 27 ⟶ 28:
-->}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
-->{{#if:{{{nowrapname|}}} |</span>}}<!--
-->{{#if:{{{italic|{{{italics|}}}}}} |<span style="font-style:italic;">}}<!--
|