Difference between revisions of "Template:Category explanation/doc"
Jump to navigation
Jump to search
imported>Senator2029 (Add wikilinks to related templates, guidelines, and categories) |
imported>Zyxw (add examples) |
||
| Line 11: | Line 11: | ||
Where the parameter '''<nowiki>{{{1}}}</nowiki>''' can be any text, including text with [[Help:Link|links]]. | Where the parameter '''<nowiki>{{{1}}}</nowiki>''' can be any text, including text with [[Help:Link|links]]. | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | === Standard usage === | ||
| + | ''Usage:'' | ||
| + | : {{tlc|{{BASEPAGENAME}}|an explanation without a period at the end}} | ||
| + | ''Output:'' | ||
| + | {{{{BASEPAGENAME}}|an explanation without a period at the end}} | ||
| + | |||
| + | === Ending with period === | ||
| + | ''Usage:'' | ||
| + | : {{tlc|{{BASEPAGENAME}}|an explanation with a period at the end.}} | ||
| + | ''Output:'' | ||
| + | {{{{BASEPAGENAME}}|an explanation with a period at the end.}} | ||
| + | |||
| + | === Leading/trailing spaces === | ||
| + | ''Usage:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | an explanation with leading and trailing spaces }} | ||
| + | ''Output:'' | ||
| + | {{{{BASEPAGENAME}} | an explanation with leading and trailing spaces }} | ||
==Redirects== | ==Redirects== | ||
Revision as of 06:24, 22 April 2017
| This is a documentation subpage for Template:Category explanation. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Mnemonically Category explanation.
This template is meant to be a brief explanation of a category.
Template contents
This category is for {{{1}}}.
Where the parameter {{{1}}} can be any text, including text with links.
Examples
Standard usage
Usage:
{{Category explanation|an explanation without a period at the end}}
Output:
Ending with period
Usage:
{{Category explanation|an explanation with a period at the end.}}
Output:
Leading/trailing spaces
Usage:
Output:
Redirects
{{About cat}}{{Cat about}}{{Category about}}{{Catexp}}{{Cat exp}}
See also
{{Cat main}}{{Cat more}}{{Category main section}}{{Category see also}}
Other category-header templates