Template:Semantic markup templates: Difference between revisions

From Celestial Lance Universe Wiki
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 [[HTML element#strong|<nowiki><strong></nowiki>]] importance, seriousness, or urgency instead of just simple typographical boldfacing
   | {{tlb|strong}}    | {{strong|Important!}}                                | To indicate <nowiki><strong></nowiki> importance, seriousness, or urgency instead of just simple typographical boldfacing
   | {{tlb|strongbad}}  | "{{strongbad|Never}} use&thinsp;..."                | Same as {{braces|strong}} but in red
   | {{tlb|strongbad}}  | "{{strongbad|Never}} use&thinsp;..."                | Same as {{braces|strong}} but in red
   | {{tlb|stronggood}} | "{{stronggood|Only}} use&thinsp;..."                | Same as {{braces|strong}} but in green
   | {{tlb|stronggood}} | "{{stronggood|Only}} use&thinsp;..."                | Same as {{braces|strong}} but in green
   | {{tlb|em}}        | "An {{em|emphatic phrase}}"                          | To indicate [[HTML element#em|<nowiki><em></nowiki>]] stress emphasis (not just purely typographical italicization like for book titles or foreign terms)
   | {{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&nbsp;i) and/or "l" (lowercase&nbsp;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&nbsp;i) and/or "l" (lowercase&nbsp;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)

Latest revision as of 15:59, 6 September 2023