Template:Semantic markup templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
m typo
meta>Jdaloner
m Updated usage of one template (with its current name).
Line 28: Line 28:


   | {{braces|subst:'''{{tlbare|codenowiki}}'''}}
   | {{braces|subst:'''{{tlbare|codenowiki}}'''}}
   | {{longitem|style=font-size:95%;font-family:monospace; |&lt;code&gt;&lt;nowiki&gt;&nbsp;{{var|code}}&nbsp;...<br/>...&lt;/nowiki&gt;&lt;/code&gt;}}
   | {{longitem|style=font-size:95%;font-family:monospace; |&lt;code&gt;&lt;nowiki&gt;&nbsp;{{var|code}}&nbsp;...<br />...&lt;/nowiki&gt;&lt;/code&gt;}}
   | To wrap example code in {{tag|code|o}} and nested {{tag|nowiki|o}} tags.
   | To wrap example code in {{tag|code|o}} and nested {{tag|nowiki|o}} tags.


   | {{tlb|syntaxhighlight}} | | ''({{thinsp|or {{tl|sxhl}}}})''&nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text.
   | {{tlb|syntaxhighlight}} | | ''({{thinsp|or {{tl|sxhl}}}})''&nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text.
   | {{tlb|deprecated code}} | "Do not use {{deprecated code|&lt;blink&gt;}}." | ''({{thinsp|or {{tl|dc}}}})''&nbsp; To indicate [[Deprecation|deprecated]] source code in template documentation, articles on HTML specs, etc. The {{tl|dc2}} variant uses {{nowrap|strike-through}} ({{dc2|&lt;blink&gt;}}) while {{mono|<nowiki>{{dc|red{{=}}y}}</nowiki>}} uses red ({{dc|red=y|&lt;blink&gt;}}).
   | {{tlb|deprecated code}} | "Do not use {{deprecated code|&lt;blink&gt;}}." | ''({{thinsp|or {{tl|dc}}}})''&nbsp; To indicate [[Deprecation|deprecated]] source code in template documentation, articles on HTML specs, etc. The {{tl|dc2}} variant uses {{nowrap|strike-through}} ({{dc2|&lt;blink&gt;}}) while {{mono|<nowiki>{{dc|red{{=}}y}}</nowiki>}} uses red ({{dc|red=y|&lt;blink&gt;}}).
   | {{tlb|pre}}       | | For larger blocks of source code and other pre-formatted text.
   | {{tlb|pre}}                   | | For larger blocks of source code and other pre-formatted text.
   | {{tlb|bq}}         | | For indented blocks of content, such as block quotations, examples, poems, etc.
   | {{tlb|bq}}                   | | For indented blocks of content, such as block quotations, examples, poems, etc.
   | {{tlb|kbd}}       | {{kbd|user input}}                 | To indicate user input.
   | {{tlb|kbd}}                   | {{kbd|user input}}                         | To indicate user input.
   | {{tlb|key press}} | {{key press|Ctrl}}{{key press|X}}   | To indicate specific-keystroke input.
   | {{tlb|key press}}             | {{key press|Ctrl}}{{key press|X}}           | To indicate specific-keystroke input.
   | {{tlb|pskeypress}} | {{lower|0.2em|{{pskeypress|x}}}}   | To indicate PlayStation-style gamepad key presses.
   | {{tlb|PlayStation key press}} | {{lower|0.2em|{{PlayStation key press|x}}}} | To indicate PlayStation-style gamepad key presses.
   | {{tlb|samp}}       | {{samp|example output}}             | To indicate sample or example output.
   | {{tlb|samp}}                 | {{samp|example output}}                     | To indicate sample or example output.
   }}
   }}


}}<noinclude>{{Documentation}}</noinclude>
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 00:19, 22 December 2014