Difference between revisions of "Template:Tlg"
Jump to navigation
Jump to search
imported>Ianblair23 (link) |
imported>Zyxw (add optional parameter "a" which if set to any value displays an asterisk before template code) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
-->{{#if:{{{kbd|}}} |<kbd>}}<!-- | -->{{#if:{{{kbd|}}} |<kbd>}}<!-- | ||
-->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!-- | -->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!-- | ||
− | -->{{#if:{{{braceinside|}}} | + | -->{{#if:{{{a|}}} |<nowiki>*</nowiki> }}<!-- |
+ | -->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- | ||
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | -->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | ||
Line 19: | Line 20: | ||
-->{{!}}<!--(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 47: | ||
-->{{#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>}}<!-- |