Template:Semantic markup templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
shorter example wording
meta>Sardanaphalus
a rephrasing (var)
Line 18: Line 18:
   | {{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}}      | As per {{braces|strong}} but for the milder [[HTML element#em|<nowiki><em></nowiki>]] emphasis (instead of{{\}}as well as typographical italicization).
   | {{tlb|var}}        | {{var|strPrefix}}                  | To indicate text is a variable name. Use for any variables except those whose names include "I" (uppercase&nbsp;i) and/or "l" (lowercase&nbsp;L), where {{braces|varserif}} below should be used instead to ensure a distinction between these letters is noticeable.
   | {{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)
   | {{tlb|wikivar}}    | {{wikivar|DEFAULTSORT|Y, X}}        | To display wikicode variables and [[Help:Magic words|magic words]] as they would appear in code.
   | {{tlb|wikivar}}    | {{wikivar|DEFAULTSORT|Y, X}}        | To display wikicode variables and [[Help:Magic words|magic words]] as they would appear in code.
Line 24: Line 24:
   | {{tlb|param}}      | {{param|title|alt}}                | To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{braces|para}} above.
   | {{tlb|param}}      | {{param|title|alt}}                | To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{braces|para}} above.
   | {{tlb|tlx}} etc.  | {{tlx|Template|''1''|''2''|...|''10''}}  | To display a template call (with or without parameters and values) as code.
   | {{tlb|tlx}} etc.  | {{tlx|Template|''1''|''2''|...|''10''}}  | To display a template call (with or without parameters and values) as code.
   | {{tlb|tag}}        | {{resize|95%|"HTML {{tag|img}} tags..."}} | To render [[HTML element]]s ("tags") as prose.
   | {{tlb|tag}}        | {{resize|95%|"The {{tag|img}} tags..."}} | To render [[HTML element]]s ("tags") as prose.
   | {{tlb|code}}      | {{resize|95%|"Ensure the {{code|1=alt=}} parameter..."}} | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}.
   | {{tlb|code}}      | {{resize|95%|"Ensure the {{code|1=alt=}} parameter..."}} | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}.



Revision as of 20:57, 6 December 2014