Template:Semantic markup templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish ce |
meta>Matt Fitzpatrick rephrase <strong>, importance instead of emphasis to align with HTML5 spec |
||
Line 14: | Line 14: | ||
| Template | Example output | Use | | Template | Example output | Use | ||
| {{tlb|strong}} | {{strong|strong semantic emphasis}} | To indicate [[HTML element#strong|<nowiki><strong></nowiki>]] | | {{tlb|strong}} | {{strong|strong semantic emphasis}} | To indicate [[HTML element#strong|<nowiki><strong></nowiki>]] importance, seriousness, or urgency instead of just simple typographical boldfacing. | ||
| {{tlb|strongbad}} | "{{strongbad|Never}} use..." | Same as {{braces|strong}} but in red. | | {{tlb|strongbad}} | "{{strongbad|Never}} use..." | Same as {{braces|strong}} but in red. | ||
| {{tlb|stronggood}} | "{{stronggood|Only}} use..." | Same as {{braces|strong}} but in green. | | {{tlb|stronggood}} | "{{stronggood|Only}} use..." | Same as {{braces|strong}} but in green. | ||
| {{tlb|em}} | {{em|mild semantic emphasis}} | | | {{tlb|em}} | {{em|mild semantic emphasis}} | To indicate [[HTML element#em|<nowiki><em></nowiki>]] stress emphasis (instead of{{\}}as well as typographical italicization). | ||
| {{tlb|var}} | {{var|strPrefix}} | To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{braces|varserif}} should be used to ensure a noticeable distinction. | | {{tlb|var}} | {{var|strPrefix}} | To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{braces|varserif}} should be used to ensure a noticeable distinction. | ||
| {{tlb|varserif}} | {{varserif|strIllustratePrefix}} | (see {{braces|var}} above) | | {{tlb|varserif}} | {{varserif|strIllustratePrefix}} | (see {{braces|var}} above) |