Difference between revisions of "Template:Cite"
(Fixing mistake) |
(Adding items citation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
| ei = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Eastern_Invasion/_main.cfg Eastern Invasion (main)] | | ei = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Eastern_Invasion/_main.cfg Eastern Invasion (main)] | ||
| dw = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Dead_Water/_main.cfg Dead Water (main)] | | dw = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Dead_Water/_main.cfg Dead Water (main)] | ||
− | | sotbe = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Son_Of_The_Black_Eye/_main.cfg Son of the Black Eye (main)] | + | | sotbe = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Son_Of_The_Black_Eye/_main.cfg Son of the Black-Eye (main)] |
| summer = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/01_A_Summer_of_Storms.cfg A Summer of Storms], [http://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | | summer = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/01_A_Summer_of_Storms.cfg A Summer of Storms], [http://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | ||
| fall = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg The Fall], [http://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | | fall = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg The Fall], [http://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | ||
Line 328: | Line 328: | ||
| fire dragon-unit = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/units/Fire_Dragon.cfg Fire dragon (unit)] | | fire dragon-unit = [http://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/units/Fire_Dragon.cfg Fire dragon (unit)] | ||
| 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)] | ||
+ | | drakipedia = [https://github.com/wesnoth/wesnoth/blob/master/data/campaigns/Wings_of_Victory/story/drakipedia.txt Wings of Victory Drakipedia] | ||
+ | | items = [https://github.com/wesnoth/wesnoth/blob/master/data/core/macros/items.cfg Items] | ||
| <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> |
Latest revision as of 10:34, 13 October 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.