Changes
Jump to navigation
Jump to search
Line 2:
Line 2:
− +
+
+
− -->| {{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!--+
Line 17:
Line 19:
+
+
− +
+
Line 41:
Line 46:
− +
+
add "brace", tested with /sandbox and /testcases
-->{{#if:{{{nowrap|}}} |<span class="nowrap">}}<!--
-->{{#if:{{{nowrap|}}} |<span class="nowrap">}}<!--
-->{{#if:{{{code|{{{tt|}}}}}} |<code> |{{#if:{{{plaincode|}}}|<code style="border:none;background:transparent;">}} }}<!--
-->{{#if:{{{code|{{{tt|}}}}}} |<code> |{{#if:{{{plaincode|}}}|<code style="border:none;background:transparent;">}} }}<!--
-->{{#if:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!--
-->{{#if:{{{kbd|}}} |<kbd>}}<!--
-->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!--
-->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!--
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!--
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
-->{{#if:{{{nolink|}}} |<!--then omit template link, else:
-->{{#if:{{{nolink|}}} |<!--then omit template link, else:
-->| {{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!--
-->{{!((}}:<!--(start building link with "[[:")
-->{{!((}}:<!--(start building link with "[[:")
-->{{#ifeq:{{padleft:|1|{{{1}}}}}|: <!--i.e. if {{{1}}}'s first character is a colon,
-->{{#ifeq:{{padleft:|1|{{{1}}}}}|: <!--i.e. if {{{1}}}'s first character is a colon,
-->{{!}}<!--(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|}}} | |<!--
-->{{!))}}<!--(end link)
-->{{))!}}<!--(end link)
-->{{#if:{{{braceinside|}}} |<nowiki>}</nowiki>}}<!--
-->{{#if:{{{braceinside|}}} |<nowiki>}</nowiki>}}<!--
-->}}<!--
-->}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
-->{{#if:{{{nowrapname|}}} |</span>}}<!--
-->{{#if:{{{italic|{{{italics|}}}}}} |<span style="font-style:italic;">}}<!--
-->{{#if:{{{italic|{{{italics|}}}}}} |<span style="font-style:italic;">}}<!--
-->{{#if:{{{italic|{{{italics|}}}}}} |</span>}}<!--
-->{{#if:{{{italic|{{{italics|}}}}}} |</span>}}<!--
-->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!--
-->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!--
-->{{#if:{{{kbd|}}} |</kbd>}}<!--
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!--
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!--
-->{{#if:{{{nowrap|}}} |</span>}}<!--
-->{{#if:{{{nowrap|}}} |</span>}}<!--