Template:Semantic markup templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jay D. Easy +kbdnowiki; updated {{subst:codenowiki}} example and use |
meta>Colonies Chris m minor fixes |
||
Line 30: | Line 30: | ||
| {{tlxs|kbdnowiki}} | <kbd><nowiki>{{big|big text}}</nowiki></kbd> | To wrap example code in {{code|<kbd><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></kbd>}} | | {{tlxs|kbdnowiki}} | <kbd><nowiki>{{big|big text}}</nowiki></kbd> | To wrap example code in {{code|<kbd><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></kbd>}} | ||
| {{tlxb|syntaxhighlight}} | <sub>[this is a block template]</sub> | ({{ | | {{tlxb|syntaxhighlight}} | <sub>[this is a block template]</sub> | ({{thin space|or {{tlx|sxhl}}}}) Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text | ||
| {{tlxb|deprecated code}} | "Do not use {{tag|{{deprecated code|blink}}|o}}." | ({{ | | {{tlxb|deprecated code}} | "Do not use {{tag|{{deprecated code|blink}}|o}}." | ({{thin space|or {{tlx|dc}}}}) To indicate [[Deprecation|deprecated]] source code in template documentation, articles on HTML specs, etc. The {{tlx|dc2}} variant uses {{nowrap|strike-through}} ({{tag|{{dc2|blink}}|o}}) while {{tlx|dcr}} uses red ({{tag|{{dcr|blink}}|o}}). | ||
| {{tlxb|pre}} | <sub>[this is a block template]</sub> | For larger blocks of source code and other pre-formatted text | | {{tlxb|pre}} | <sub>[this is a block template]</sub> | For larger blocks of source code and other pre-formatted text | ||
| {{tlxb|quote}} | <sub>[this is a block template]</sub> | For block quotations (only – never for non-quotations) | | {{tlxb|quote}} | <sub>[this is a block template]</sub> | For block quotations (only – never for non-quotations) |