Template:citation
Definition from Wiktionary, the free dictionary
(Redirected from Template:citations)
English citations of citation
- The following documentation is located at Template:citation/documentation. [edit]
Usage
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 has six parameters, all optional: "lang" for the language, up to four unnamed parameters for entries, and "ct" for the context.
- {{{1}}}: The entry to be linked. If empty or omitted, the entry is equal to the page name without the "Citations:" prefix.
- {{{2}}}: A second entry to be linked.
- {{{3}}}: A third entry to be linked.
- {{{4}}}: A fourth entry to be linked.
- {{{lang}}}: The language of the citation, represented by a language code. if empty or omitted, en (English) is assumed.
- {{{ct}}}: The context of a word, in case it is outside the main namespace. For example, "Harry Potter".
Categorization
- Using this template in a "Citations:" page result in categorizing it into a category of citations of the respective language.
- In addition, using this template in a "Citations:" page and linking it to an entry which does not exist result in categorizing it into Category:Citations of undefined terms.
Examples
- {{citation|Quote}}
-
English citations of Quote
-
- {{citation|Quote|quote}}
- {{citation|Quote|quote|foo}}
- {{citation|Quote|quote|foo|bar}}
- {{citation|Quote|quote|foo|bar|baz}}
- {{citation|Quote|quote|foo|bar|baz|humunah}}
(Note that the change in background color seen in these examples is not part of the output of the template.)