Template:Semantic markup templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paradoctor
+use note
meta>Jay D. Easy
+kbdnowiki; updated {{subst:codenowiki}} example and use
Line 27: Line 27:
   | {{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|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}}. {{tl|codett}} differs only in styling: {{code|someMethod}} becomes  {{codett|someMethod}}
   | {{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}}. {{tl|codett}} differs only in styling: {{code|someMethod}} becomes  {{codett|someMethod}}
 
   | {{tlxs|codenowiki}} | <code><nowiki>{{small|small text}}</nowiki></code>  | To wrap example code in {{code|<code><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></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|kbdnowiki}}  | <kbd><nowiki>{{big|big text}}</nowiki></kbd>        | To wrap example code in {{code|<kbd><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></kbd>}}


   | {{tlxb|syntaxhighlight}}      | &nbsp; &nbsp; <sub>[this is a block template]</sub> | ({{thinsp|or {{tlx|sxhl}}}})&nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text
   | {{tlxb|syntaxhighlight}}      | &nbsp; &nbsp; <sub>[this is a block template]</sub> | ({{thinsp|or {{tlx|sxhl}}}})&nbsp; Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text

Revision as of 13:20, 2 May 2019