Template:Semantic markup templates: Difference between revisions
Jump to navigation
Jump to search
(create) |
(links) |
||
| Line 15: | Line 15: | ||
| Template | Example output | Use | | Template | Example output | Use | ||
| {{tlb|strong}} | {{strong|Important!}} | To indicate | | {{tlb|strong}} | {{strong|Important!}} | To indicate <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}} | "An {{em|emphatic phrase}}" | To indicate | | {{tlb|em}} | "An {{em|emphatic phrase}}" | To indicate <nowiki><em></nowiki> stress emphasis (not just purely typographical italicization like for book titles or foreign terms) | ||
| {{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|var serif}} 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|var serif}} should be used to ensure a noticeable distinction | ||
| {{tlb|var serif}} | {{var serif|strIllustratePrefix}} | (see {{braces|var}} above) | | {{tlb|var serif}} | {{var serif|strIllustratePrefix}} | (see {{braces|var}} above) | ||