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&nbsp;    | Example output&nbsp;                | Use&nbsp;
   | Template&nbsp;    | Example output&nbsp;                | Use&nbsp;


   | {{tlb|strong}}    | {{strong|strong semantic emphasis}} | To indicate [[HTML element#strong|<nowiki><strong></nowiki>]] emphasis instead of just simple typographical boldfacing.
   | {{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}}      | As per {{braces|strong}} but for the milder [[HTML element#em|<nowiki><em></nowiki>]] emphasis (instead of{{\}}as well as typographical italicization).
   | {{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&nbsp;i) and/or "l" (lowercase&nbsp;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&nbsp;i) and/or "l" (lowercase&nbsp;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)

Revision as of 03:37, 16 September 2017