Jump to content

Teamplaid:C/documentation

O Wiktionary
{{C|category name}}
{{C|category name |link text}}

Ùsaid - Usage

[deasaich]

Use {{C}} to create a namespace-free link to a category, e.g. Philosophy rather than Roinn-seòrsa:Philosophy, Roinn:Philosophy:

{{C|Philosophy}} produces: Philosophy
{{C|Category:philosophy}} produces: philosophy

To specify the text used for the link – e.g. "Philosophy category" in place of "Philosophy" – add it as the next parameter:

{{C|Philosophy|Philosophy category}} produces: Philosophy category
{{C|Category:philosophy|Philosophy category}} produces: Philosophy category

Teamplaid-dàta - TemplateData

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

C

Creates links to categories without the namespace prefix.

Paramadairean na teamplaide[Stiùirich an TemplateData]

ParamadairTuairisgeulSeòrsaStaid
Category name1

The name of the category to link to, with or without the Category: prefix

Sreangriatanach
Link text2

Text of the actual link, if you want to override it

Sreangroghainneil

Faic cuideachd - Also see

Template Example output
{{C}} Example
{{Cl}} Roinn-seòrsa:Example
{{Cls}} Roinn:Example
Template Example output
{{Clc}} Roinn-seòrsa:Example (0)
{{Lc}} Roinn-seòrsa:Example (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lcs}} Roinn-seòrsa:Example (deasaich deasbaireachd ceanglaichean eachdraidh)