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