Difference between revisions of "Template:Tlg"
Jump to navigation
Jump to search
imported>Ianblair23 (link) |
imported>Zyxw (add "brace", tested with /sandbox and /testcases) |
||
Line 4: | Line 4: | ||
-->{{#if:{{{kbd|}}} |<kbd>}}<!-- | -->{{#if:{{{kbd|}}} |<kbd>}}<!-- | ||
-->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!-- | -->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!-- | ||
− | -->{{#if:{{{braceinside|}}} | + | -->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- |
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | -->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | ||
Line 19: | Line 19: | ||
-->{{!}}<!--(pipe between link and label, i.e. [[:link|label]]) | -->{{!}}<!--(pipe between link and label, i.e. [[:link|label]]) | ||
-->}}<!-- | -->}}<!-- | ||
+ | -->{{#if:{{{brace|}}} |<nowiki>{{</nowiki>}}<!-- | ||
-->{{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!-- | ||
label / template name: | label / template name: | ||
-->{{{alttext|{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}<!-- | -->{{{alttext|{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}<!-- | ||
+ | -->{{#if:{{{brace|}}} |<nowiki>}}</nowiki>}}<!-- | ||
-->{{#if:{{{braceinside|}}} |<nowiki>}</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}} |<nowiki>}</nowiki>}}<!-- | ||
-->{{#if:{{{nolink|}}} | |<!-- | -->{{#if:{{{nolink|}}} | |<!-- | ||
Line 44: | Line 46: | ||
-->{{#if:{{{italic|{{{italics|}}}}}} |</span>}}<!-- | -->{{#if:{{{italic|{{{italics|}}}}}} |</span>}}<!-- | ||
− | -->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!-- | + | -->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!-- |
-->{{#if:{{{kbd|}}} |</kbd>}}<!-- | -->{{#if:{{{kbd|}}} |</kbd>}}<!-- | ||
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!-- | -->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!-- |