Template:Tlg: Difference between revisions

Jump to navigation Jump to search
79 bytes added ,  6 July 2017
Add "kbd" parameter to display output wrapped in <kbd> tags, similar to output of Template:Tltt, Template:Tltt2, etc. See template documentation for example.
w:en>Sardanaphalus
(Update via sandbox/testcases ("plaincode" option, "boldlink"/"boldname" and "italics" alternatives))
w:en>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>}}<!--
Anonymous user

Navigation menu