Template:Template color parameter: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{fcb|#2e8b57|{{{1}}}}}</includeonly><noinclude> {{Documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>") |
m (Protected "Template:Template color parameter" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
(No difference)
|
Latest revision as of 01:41, 18 August 2023
This template, and it's shortcut {{tcp}}, makes the text bold and applies the color #2e8b57
. It is to be used on documentation pages when displaying examples of templates used inside other templates within the {{pre}} template, since {{tj}} and {{tji}} will not properly display templates within templates. The color was choosen to match the color used by {{tj}} and {{tji}} since this is to be used in the place of those. It is for the parameter names.
Usage
- {{Template color parameter
|Parameter name}} - {{tcp
|Parameter name}}
Examples
{{Template color parameter|colwidth}}
→ colwidth
{{tcp|romaji}}
→ romaji
See Also
TemplateData
To color and bold the parameter of a template for documentation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Parameter | 1 | Parameters of the template being shown.
| String | required |