Шаблон:citation/док
Изглед
This template is used to form the level-two header of citations on citations pages. Please do not use it in entries (in the main namespace).
Parameters
[уреди]It recognizes up to seven parameters, all optional: up to five unnamed (positional) parameters for entries, "lang" for the language, and "ct" for the context.
- Шаблон:docparam The entry to be linked. If empty or omitted, the entry is equal to the page name without the "Citations:" prefix.
- Шаблон:docparam A second entry to be linked.
- Шаблон:docparam A third entry to be linked.
- Шаблон:docparam A fourth entry to be linked.
- Шаблон:docparam A fifth entry to be linked.
- Шаблон:docparam The language of the citation, represented by a language code. if empty or omitted, en (English) is assumed.
- Шаблон:docparam The context of a word, in case it is outside the main namespace. For example, "Harry Potter".
Категоризација
[уреди]- Using this template in a "Цитати:" page result in categorizing it into a category of citations of the respective language (e.g., Категорија:Енглески цитати, Категорија:Португалски цитати).
- In addition, using this template in a "Цитати:" linking to an entry which does not exist result in categorizing it into Категорија:Енглески цитати од недефинисаних термина, Категорија:Француски цитати од недефинисаних термина, etc. according to the appropriate language.
Examples
[уреди]{{citation|banquette|lang=en}}
- (deprecated use of
|lang=
parameter)Енглески цитати од banquette
{{citation|Molotov cocktail|Molotov cocktails|lang=en}}
- (deprecated use of
|lang=
parameter)Енглески цитати од Molotov cocktail and Molotov cocktails
{{citation|angst bunny|angst-bunny|angstbunny|angst.bunny|lang=en}}
- (deprecated use of
|lang=
parameter)Енглески цитати од angst bunny, angst-bunny, angstbunny, and angst.bunny
{{citation|malapodán|lang=es}}
- (deprecated use of
|lang=
parameter)Шпански цитати од malapodán
(Note that the change in background color seen in these examples is not part of the output of the template.)