Difference between revisions of "Template:Category explanation/doc"

From blackwiki
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

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:

Template:Tlcw

Output:

Redirects

See also

Other category-header templates