Template:Tlg: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
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.
m 1 revision imported
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><!--
#REDIRECT [[Template:Template link general]]
-->{{#if:{{{nowrap|}}}        |<span class="nowrap">}}<!--
-->{{#if:{{{code|{{{tt|}}}}}} |<code> |{{#if:{{{plaincode|}}}|<code style="border:none;background:transparent;">}} }}<!--
-->{{#if:{{{kbd|}}}          |<kbd>}}<!--
-->{{#if:{{{braceinside|}}}  | |<nowiki>{{</nowiki>}}<!--
-->{{#if:{{{subst|}}}        |[[Help:Substitution|subst]]:}}<!--


-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
{{Redirect category shell|
-->{{#if:{{{nolink|}}} |<!--then omit template link, else:
{{R from move}}
  -->| {{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!--
}}
      -->{{!((}}:<!--(start building link with "[[:")
                  -->{{#ifeq:{{padleft:|1|{{{1}}}}}|: <!--i.e. if {{{1}}}'s first character is a colon,
              then:--> |{{FULLPAGENAME:{{{1}}}}}<!--
              else:--> |{{#switch:{{NAMESPACE:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}}}
                        | {{ns:0}} = {{ns:10}}:{{#if:{{{1|}}}|{{PAGENAME:{{{1}}}}}|{{PAGENAME}}}}
                        | #default = {{#if:{{{1|}}}|{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}}}}
                      }}}}<!--
      -->{{!}}<!--(pipe between link and label, i.e. [[:link|label]])
-->}}<!--
-->{{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!--
label / template name:
-->{{{alttext|{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}<!--
-->{{#if:{{{braceinside|}}} |<nowiki>}</nowiki>}}<!--
-->{{#if:{{{nolink|}}} | |<!--
      -->{{!))}}<!--(end link)
    -->{{#if:{{{braceinside|}}} |<nowiki>}</nowiki>}}<!--
-->}}<!--
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!--
 
-->{{#if:{{{italic|{{{italics|}}}}}} |<span style="font-style:italic;">}}<!--
-->{{#ifeq:{{{2|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{2}}}}}}}<!--
-->{{#ifeq:{{{3|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{3}}}}}}}<!--
-->{{#ifeq:{{{4|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{4}}}}}}}<!--
-->{{#ifeq:{{{5|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{5}}}}}}}<!--
-->{{#ifeq:{{{6|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{6}}}}}}}<!--
-->{{#ifeq:{{{7|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{7}}}}}}}<!--
-->{{#ifeq:{{{8|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{8}}}}}}}<!--
-->{{#ifeq:{{{9|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{9}}}}}}}<!--
-->{{#ifeq:{{{10|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{10}}}}}}}<!--
-->{{#ifeq:{{{11|¬}}}|¬ | |&#124;{{#tag:nowiki|{{{11}}}}}}}<!--
-->{{#if:{{{12|}}} |&#124;…}}<!--
-->{{#if:{{{italic|{{{italics|}}}}}} |</span>}}<!--
 
-->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!--
-->{{#if:{{{kbd|}}} |</kbd>}}<!--
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!--
-->{{#if:{{{nowrap|}}} |</span>}}<!--
--></includeonly><noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 17:48, 30 November 2023