Difference between revisions of "Template:Tlg"
Jump to navigation
Jump to search
imported>Liflon (update brace inclusion in the link, per Template:Tn) |
imported>SMcCandlish (minor compression of code, and kind of minimize reference to "tt" which is not actually semantically correct) |
||
Line 2: | Line 2: | ||
-- begin span of class "nowrap" if nowrap=yes | -- begin span of class "nowrap" if nowrap=yes | ||
-->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!-- | -->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!-- | ||
− | -- begin | + | -- begin code style if code=yes or tt=yes |
− | -->{{#if:{{{tt|}}} | + | -->{{#if:{{{code|{{{tt|}}}}}}|<code>}}<!-- |
-- opening brace unless braceinside=yes | -- opening brace unless braceinside=yes | ||
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- | ||
Line 62: | Line 62: | ||
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- | ||
-- end code style if code=yes or tt=yes | -- end code style if code=yes or tt=yes | ||
− | -->{{#if:{{{code| | + | -->{{#if:{{{code|{{{tt|}}}|</code>}}<!-- |
-- end span of class "nowrap" if nowrap=yes | -- end span of class "nowrap" if nowrap=yes | ||
-->{{#if:{{{nowrap|}}}|</span>}}<!-- | -->{{#if:{{{nowrap|}}}|</span>}}<!-- |