మూస:Tcplain/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

"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}}

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}}


"https://te.wikipedia.org/w/index.php?title=మూస:Tcplain/doc&oldid=1346681" నుండి వెలికితీశారు