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}} | | {{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; |<code><nowiki> {{var|code}} ...<br />... </nowiki></code>}} | To wrap example code in {{tag|code|o}} and nested {{tag|nowiki|o}} tags | | {{tlxs|codenowiki}} | {{longitem|style=font-size:95%;font-family:monospace; |<code><nowiki> {{var|code}} ...<br />... </nowiki></code>}} | To wrap example code in {{tag|code|o}} and nested {{tag|nowiki|o}} tags |