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}} | {{ | | {{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}} | <sub>[this is a block template]</sub> | ({{thinsp|or {{tlx|sxhl}}}}) Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text | | {{tlxb|syntaxhighlight}} | <sub>[this is a block template]</sub> | ({{thinsp|or {{tlx|sxhl}}}}) Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text |