Difference between revisions of "Template:Cite"
m (Adding dunefolk citation) |
m (Adding citations) |
||
Line 290: | Line 290: | ||
| vampire lady-unit = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/units/Vampire_Lady.cfg Vampire Lady (unit)] | | vampire lady-unit = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/units/Vampire_Lady.cfg Vampire Lady (unit)] | ||
| dunefolk = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L196 Dunefolk (race)] | | dunefolk = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L196 Dunefolk (race)] | ||
+ | | dwarves = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L72 Dwarves (race)] | ||
+ | | elves = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L101 Elves (race)] | ||
| saurians = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L221 Saurians (race)] | | saurians = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L221 Saurians (race)] | ||
+ | | undead = [http://github.com/wesnoth/wesnoth/blob/master/data/core/units.cfg#L350 Undead (race)] | ||
| <b>[[Template:Cite|Citation error]]</b>: {{{1}}}}}</span></onlyinclude><noinclude>{{Template}} | | <b>[[Template:Cite|Citation error]]</b>: {{{1}}}}}</span></onlyinclude><noinclude>{{Template}} | ||
{{Cite/doc}}</noinclude> | {{Cite/doc}}</noinclude> |
Revision as of 05:07, 31 August 2019
Citation error: {{{1}}}
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 campaign, this is the .cfg acronym for the campaign.
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.