Template:Tlg: Difference between revisions
Jump to navigation
Jump to search
add "brace", tested with /sandbox and /testcases
w:en>Ianblair23 (link) |
w:en>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>}}<!-- |