Template:Template color parameter/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} {{tsh|Tcp}} __NOTOC__ This template, and it's shortcut {{tl|tcp}}, makes the text bold and applies the color {{code|#2e8b57}}. It is to be used on documentation pages when displaying examples of templates used inside other templates within the {{tl|pre}} template, since {{tl|tj}} and {{tl|tji}} will not properly display templates within templates. The color was choosen to match the color used by {{tls|tj}} and {{tls|tji}} since this is to be us...")
 
mNo edit summary
 
Line 38: Line 38:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:Documentation formatting templates]]
[[Category:Documentation formatting templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 06:38, 20 August 2023

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


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.

Template parameters

ParameterDescriptionTypeStatus
Parameter1

Parameters of the template being shown.

Example
romaji
Stringrequired