Difference between revisions of "Template:Cite/doc"
From The Battle for Wesnoth Wiki
m (Adding Northerners (faction) citation) |
(Elaborating on parameters) |
||
Line 3: | Line 3: | ||
== Parameters == | == Parameters == | ||
− | This template only takes one parameter, namely the token which represents the citation's title. It is always lowercase and uses spaces instead of underscores. | + | This template only takes one parameter, namely the token which represents the citation's title. It is always lowercase and uses spaces instead of underscores. |
+ | |||
+ | For a scenario, this is typically the first keyword in the source's title which can uniquely refer to that source. Where it shares all keywords with other titles, it uses the entire source's title as the token. Where multiple source's share the title, as is rarely the case, use a hyphen and campaign initials as a suffix for disambiguation. | ||
+ | |||
+ | For a unit, this is the name of the unit with the "-unit" suffix. | ||
{| class="infobox bordered" style="text-align: left; font-size: 100%; border-style: solid; border-width: 1px; background-color:#EDE1CC;" | {| class="infobox bordered" style="text-align: left; font-size: 100%; border-style: solid; border-width: 1px; background-color:#EDE1CC;" |
Revision as of 03:48, 1 September 2019
This template creates a citation for a source (such as a scenario, a campaign _main file, a race description, etc.)
Parameters
This template only takes one parameter, namely the token which represents the citation's title. It is always lowercase and uses spaces instead of underscores.
For a scenario, this is typically the first keyword in the source's title which can uniquely refer to that source. Where it shares all keywords with other titles, it uses the entire source's title as the token. Where multiple source's share the title, as is rarely the case, use a hyphen and campaign initials as a suffix for disambiguation.
For a unit, this is the name of the unit with the "-unit" suffix.