Difference between revisions of "Template:Tlg"
Jump to navigation
Jump to search
imported>Gadget850 (<tt> → <code>) |
imported>Dinoguy1000 (if {{{tt}}} and {{{code}}} both result in a <code/> tag, they might as well be combined) |
||
| Line 3: | Line 3: | ||
<span style="white-space:nowrap;"> | <span style="white-space:nowrap;"> | ||
--><!-- | --><!-- | ||
| − | -- begin tt style if tt=yes given | + | -- begin tt style if tt=yes or code=yes given |
| − | -->{{#if:{{{tt|}}} | + | -->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!-- |
| − | |||
| − | |||
-- opening brace unless braceinside=yes | -- opening brace unless braceinside=yes | ||
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- | ||
| Line 65: | Line 63: | ||
-- closing brace unless braceinside=yes | -- closing brace unless braceinside=yes | ||
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- | ||
| − | -- end code style if code=yes given | + | -- end code style if code=yes or tt=yes given |
| − | -->{{#if:{{{code|}}} | + | -->{{#if:{{{code|}}}{{{tt|}}}|</code>}}<!-- |
| − | |||
| − | |||
-- end | -- end | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||