Template:Tlg: Difference between revisions
minor compression of code, and kind of minimize reference to "tt" which is not actually semantically correct
w:en>Liflon (update brace inclusion in the link, per Template:Tn) |
w:en>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>}}<!-- |