Template:C

From The Adachi Wiki
Revision as of 14:32, 31 March 2023 by Adachi (talk | contribs) (Created page with "<onlyinclude>{{ll | 1 = Category:{{#ifeq:{{NAMESPACENUMBER:{{{1}}}}}|14|{{PAGENAME:{{{1}}}}}|{{{1}}}}} | 2<includeonly>{{#ifeq:{{{2|}}}|{{{2}}}||¬}}</includeonly> = {{{2}}} | nsp = {{yesno|{{{nsp|¬}}}|yes=|no=0|¬={{#ifeq:{{NAMESPACENUMBER:{{{1}}}}}|14||0}}}} }}</onlyinclude> {{Documentation}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[[Special:MyLanguage/Category:{{{1}}}|{{{2}}}]][[:Category:{{{1}}}| ]]

Template documentation

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Category link

Creates a link to a category in the user’s language.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Category1

The name of the category (The “Category:” prefix may be omitted)

Auto value
Stringrequired
Displayed Text2

The displayed text

Lineoptional
Namespace?nsp

Whether to display the “Category:” namespace prefix, defaults to whether parameter 1 includes the “Category:” prefix.

Suggested values
0 1 ¬
Default
{{#ifeq:{{NAMESPACENUMBER:{{{1}}}|14|1|0}}}}
Auto value
0
Booleanoptional

Examples

No |nsp= parameter
  • {{C|Foo}}Foo
  • {{C|Category:Foo}}Category:Foo
|nsp=0
  • {{C|Foo|nsp=0}}Foo
  • {{C|Category:Foo|nsp=0}}Foo
|nsp=1