Template:Template color name/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} {{tsh|Tcn}} __NOTOC__ This template, and it's shortcut {{tl|tcn}}, makes the text bold and applies the color {{code|#4169e1}}. 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 {{tl|tj}} and {{tl|tji}} since this is to be used...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
__NOTOC__
__NOTOC__


This template, and it's shortcut {{tl|tcn}}, makes the text bold and applies the color {{code|#4169e1}}. 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 {{tl|tj}} and {{tl|tji}} since this is to be used in the place of those. It is for the template name.
This template, and it's shortcut {{tl|tcn}}, makes the text bold and applies the color {{code|#4169e1}}. 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 of those. It is for the template name.


== Usage ==
== Usage ==
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:37, 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 {{tcn}}, makes the text bold and applies the color #4169e1. 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 template name.

Usage

  • {{Template color name|Template Name}}
  • {{tcn|Template Name}}

Examples

  • {{Template color name|Track list}}Track list
  • {{tcn|Cast listing}}Cast listing

See Also

TemplateData

To color and bold the Template Name of a template for documentation.

Template parameters

ParameterDescriptionTypeStatus
Name1

The name of the template being shown.

Example
romaji
Stringrequired