வார்ப்புரு:Semantic markup templates
{{Navbox
 | name = Semantic markup templates
 | state = {{{state|{{{1|&lt;includeonly&gt;collapsed&lt;/includeonly&gt;}}}}}}
 | title = {{c|Semantic markup templates}}
 | liststyle = font-size:110%;
 | tracking = no &lt;!-- keep the documented templates out of the hlist tracking category --&gt;
 
 | list1 =
   {{Aligned table
    |cols=3 |class=sortable |style=line-height:1.35em;text-align:left;
    |colstyle=&lt;!--vertical-align:middle;--&gt;padding-right:1.0em;
    |col2style=white-space:nowrap; |col3style=white-space:normal;
    |row1style=line-height:1.6em;
    |row1header=on
    | Template&amp;nbsp;      | Example output&amp;nbsp;                                 | Use&amp;nbsp;
 
    | {{tlb|strong}}     | {{strong|Important!}}                                | To indicate [[HTML element#strong|&lt;nowiki&gt;&lt;strong&gt;&lt;/nowiki&gt;]] importance, seriousness, or urgency instead of just simple typographical boldfacing
    | {{tlb|strongbad}}  | &quot;{{strongbad|Never}} use&amp;thinsp;...&quot;                 | Same as {{braces|strong}} but in red
    | {{tlb|stronggood}} | &quot;{{stronggood|Only}} use&amp;thinsp;...&quot;                 | Same as {{braces|strong}} but in green
    | {{tlb|em}}         | &quot;An {{em|emphatic phrase}}&quot;                          | To indicate [[HTML element#em|&lt;nowiki&gt;&lt;em&gt;&lt;/nowiki&gt;]] 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 &quot;I&quot; (uppercase&amp;nbsp;i) and/or &quot;l&quot; (lowercase&amp;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|tld}}        | {{tld|DEFAULTSORT:Y, X}}                             | To display wikicode variables and [[Help:Magic words|magic words]] as they would appear in code
    | {{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 value}}| {{pvalue|  2 blanks fore and aft  |space=·}}          | To display parameter values lightly bordered; replaces &amp;lt;code&gt;...&amp;lt;/code&gt;, especially when value contains embedded or leading/trailing blanks; visualized here with [[middot]] (&amp;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|tag}}        | {{resize|95%|&quot;The {{tag|img}} tags&amp;thinsp;...&quot;}}     | To render [[HTML element]]s (&quot;tags&quot;) in prose
    | {{tlb|code}}/{{tlb|codett}} | {{nowrap|{{resize|95%|&quot;Ensure the {{code|1=alt=}} parameter&amp;thinsp;...&quot;}}}}  | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}. {{tl|codett}} differs only in styling: {{code|someMethod}} becomes  {{codett|someMethod}}
    | {{tls|codenowiki}} | &lt;code&gt;&lt;nowiki&gt;{{small|small text}}&lt;/nowiki&gt;&lt;/code&gt;   | To wrap example code in {{code|&lt;code&gt;&lt;&lt;nowiki&gt;nowiki&lt;/nowiki&gt;&gt;...&lt;&lt;nowiki&gt;/nowiki&lt;/nowiki&gt;&gt;&lt;/code&gt;}}
    | {{tls|kbdnowiki}}  | &lt;kbd&gt;&lt;nowiki&gt;{{big|big text}}&lt;/nowiki&gt;&lt;/kbd&gt;         | To wrap example code in {{code|&lt;kbd&gt;&lt;&lt;nowiki&gt;nowiki&lt;/nowiki&gt;&gt;...&lt;&lt;nowiki&gt;/nowiki&lt;/nowiki&gt;&gt;&lt;/kbd&gt;}}
 
    | {{tlb|syntaxhighlight}}       | &amp;nbsp; &amp;nbsp; &lt;sub&gt;[this is a block template]&lt;/sub&gt; | ({{thin space|or {{tlx|sxhl}}}})&amp;nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text
    | {{tlb|deprecated code}}       | &quot;Do not use {{tag|{{deprecated code|blink}}|o}}.&quot;   | ({{thin space|or {{tlx|dc}}}})&amp;nbsp; To indicate [[Deprecation|deprecated]] source code in template documentation, articles on HTML specs, etc. The {{tlx|dc2}} variant uses {{nowrap|strike-through}} ({{tag|{{dc2|blink}}|o}}) while {{tlx|dcr}} uses red ({{tag|{{dcr|blink}}|o}}).
    | {{tlb|pre}}                   | &amp;nbsp; &amp;nbsp; &lt;sub&gt;[this is a block template]&lt;/sub&gt; | For larger blocks of source code and other pre-formatted text
    | {{tlb|quote}}                 | &amp;nbsp; &amp;nbsp; &lt;sub&gt;[this is a block template]&lt;/sub&gt; | For block quotations (only – never for non-quotations)
    | {{tlb|block indent}}          | &amp;nbsp; &amp;nbsp; &lt;sub&gt;[this is a block template]&lt;/sub&gt; | For indented blocks of material; visually identical to {{tlx|quote}} but without quote markup
    | {{tlb|kbd}}                   | {{kbd|user input}}                                  | To indicate user input
    | {{tlb|key press}}             | {{key press|Ctrl|x}}                                | To indicate specific-keystroke input, including combinations
    | {{tlb|key top}}               | {{key top|Left shift}}                              | Similar; includes more symbols, but does not directly support combinations
    | {{tlb|button}}                | {{button|Don't save}}                               | To indicate a button in a user interface
    | {{tlb|samp}}                  | {{samp|example output}}                             | To indicate sample or example output
   }}