Template:Tlg: Difference between revisions
Content added Content deleted
m (1 revision imported: Math) |
m (update placement of span) |
||
Line 2: | Line 2: | ||
-->{{#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:{{{kbd|}}} |<kbd>}}<!-- |
|||
-->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!-- |
|||
-->{{#if:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- |
-->{{#if:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- |
||
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- |
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- |
||
Line 7: | Line 9: | ||
-->{{#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, |
||
Line 26: | Line 28: | ||
-->}}<!-- |
-->}}<!-- |
||
-->{{#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;">}}<!-- |
||
Line 42: | Line 45: | ||
-->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!-- |
-->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!-- |
||
-->{{#if:{{{kbd|}}} |</kbd>}}<!-- |
|||
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!-- |
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!-- |
||
-->{{#if:{{{nowrap|}}} |</span>}}<!-- |
-->{{#if:{{{nowrap|}}} |</span>}}<!-- |