Template:Semantic markup templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish
→‎top: make that actually work (looks right in Chrome on Mac, anyway – may need tweaks to work universally, to stop the {{PlayStation key press}} output from overlapping the {{key top}} and {{button}} output)
meta>Paradoctor
+{{tl|code}} variant
Line 26: Line 26:
   | {{tlxb|tlx}} etc.  | {{tlx|Template|{{var|1}}|{{var|2}}|...|{{var|10}}}}  | To display a template call (with or without parameters and values) as code
   | {{tlxb|tlx}} etc.  | {{tlx|Template|{{var|1}}|{{var|2}}|...|{{var|10}}}}  | To display a template call (with or without parameters and values) as code
   | {{tlxb|tag}}        | {{resize|95%|"The {{tag|img}} tags ..."}}    | To render [[HTML element]]s ("tags") in prose
   | {{tlxb|tag}}        | {{resize|95%|"The {{tag|img}} tags ..."}}    | To render [[HTML element]]s ("tags") in prose
   | {{tlxb|code}}       | {{nowrap|{{resize|95%|"Ensure the {{code|1=alt=}} parameter ..."}}}}  | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}
   | {{tlxb|code}}/{{tlxb|codett}} | {{nowrap|{{resize|95%|"Ensure the {{code|1=alt=}} parameter ..."}}}}  | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}


   | {{tlxs|codenowiki}} | {{longitem|style=font-size:95%;font-family:monospace;      |&lt;code&gt;&lt;nowiki&gt;&nbsp;{{var|code}}&thinsp;...<br />...&thinsp;&lt;/nowiki&gt;&lt;/code&gt;}} | To wrap example code in {{tag|code|o}} and nested {{tag|nowiki|o}} tags
   | {{tlxs|codenowiki}} | {{longitem|style=font-size:95%;font-family:monospace;      |&lt;code&gt;&lt;nowiki&gt;&nbsp;{{var|code}}&thinsp;...<br />...&thinsp;&lt;/nowiki&gt;&lt;/code&gt;}} | To wrap example code in {{tag|code|o}} and nested {{tag|nowiki|o}} tags

Revision as of 12:55, 1 March 2019