Template:Tlg: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus Update via sandbox/testcases ("plaincode" option, "boldlink"/"boldname" and "italics" alternatives) |
meta>Zyxw Add "kbd" parameter to display output wrapped in <kbd> tags, similar to output of Template:Tltt, Template:Tltt2, etc. See template documentation for example. |
||
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:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- | ||
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | -->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | ||
Line 42: | Line 43: | ||
-->{{#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>}}<!-- |