Template:Template color name/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: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