Template:Template color value/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
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 05: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 {{tcv}}, applies the color #933 to the text. 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 Value of a parameter.

Usage

  • {{Template color value|Value of a parameter}}
  • {{tcv|Value of a parameter}}

Examples

  • {{Template color value|5}}5
  • {{tcv|羽多野渉}}羽多野渉

See Also

TemplateData

To color the value of a parameter of a template for documentation.

Template parameters

ParameterDescriptionTypeStatus
Value1

The value of a parameter of the template being shown.

Example
romaji
Stringrequired