మూస:Tcplain/doc
Jump to navigation
Jump to search
This is a documentation subpage for మూస:Tcplain. It may contain usage information, categories and other content that is not part of the original మూస page. |
"tcplain" ⇒ "[t]emplate code in <[c]ode> font made [plain]er"
{{tcplain|template_name|first_parameter|second_parameter|...|ninth_parameter}}
A version of {{tc}} that uses a plainer <code>
style.
Comparison: | |
Code | Output |
{{tcplain|Template|a|b|c|...|i}} | {{Template|a|b|c|...|i}} |
{{tc|Template|a|b|c|...|i}} | {{Template|a|b|c|...|i}} |
Resizing
[మార్చు]If the first parameter ends in a percent sign ("%"), it will be treated as a font-size setting for the template's output. For example:
{{tcplain|Example|a|b|c}} | produces: | {{Example|a|b|c}} |
{{tcplain|95%|Example|a|b|c}} | produces: | {{Example|a|b|c}} |
{{tcplain|95|Example|a|b|c}} | produces: | {{95|Example|a|b|c}} |
Alternatively, the font-size may be set via |size=
e.g. {{tcplain|size=1.2em|Example|a|b|c}}
produces: {{Example|a|b|c}}