Sarna News: Bad 'Mechs - Icestorm

Difference between revisions of "Template:Semantic markup templates"

m (Updating)
m (Updating)
 
Line 23: Line 23:
 
   | {{tlb|para}}      | {{para|year|2008}}                                  | To display template parameters with or without values
 
   | {{tlb|para}}      | {{para|year|2008}}                                  | To display template parameters with or without values
 
   | {{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|param value}}| {{pvalue|  2 blanks fore and aft  |space=·}}          | To display parameter values lightly bordered; replaces <code>...</code>, especially when value contains embedded or leading/trailing blanks; visualized here with [[middot]] (·) but can use ␠, ▯, or any character.
+
   | {{tlb|param value}}| {{pvalue|  2 blanks fore and aft  |space=·}}          | To display parameter values lightly bordered; replaces <code>...</code>, especially when value contains embedded or leading/trailing blanks; visualized here with middot (·) but can use ␠, ▯, or any character.
 
   | {{tlb|tlx}} etc.  | {{tlx|Template|{{var|1}}|{{var|2}}|...|{{var|10}}}}  | To display a template call (with or without parameters and values) as code
 
   | {{tlb|tlx}} etc.  | {{tlx|Template|{{var|1}}|{{var|2}}|...|{{var|10}}}}  | To display a template call (with or without parameters and values) as code
 
   | {{tlb|tag}}        | {{resize|95%|"The {{tag|img}} tags ..."}}    | To render HTML elements ("tags") in prose
 
   | {{tlb|tag}}        | {{resize|95%|"The {{tag|img}} tags ..."}}    | To render HTML elements ("tags") in prose

Latest revision as of 02:36, 9 March 2023