మూస:Tcplain
(మూస:Tcpl నుండి దారిమార్పు చెందింది)
{{tcplain|...}}
"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}}