Template:Template color value/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} {{tsh|Tcv}} __NOTOC__ This template, and it's shortcut {{tl|tcv}}, applies the color {{code|#933}} to the text. 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 used in the place...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
== Usage ==
== Usage ==
* {{tji|Template color value|Value of a parameter}}
* {{tji|Template color value|Value of a parameter}}
* {{tji|tcp|Value of a parameter}}
* {{tji|tcv|Value of a parameter}}


== Examples ==
== Examples ==
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