Difference between revisions of "Template:Cite"
m (Fixed tag mistake) |
(div -> span) |
||
Line 1: | Line 1: | ||
− | <onlyinclude>< | + | <onlyinclude><span class="ignore-css">{{#switch: {{{1}}} |
| summer = [https://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/01_A_Summer_of_Storms.cfg A Summer of Storms], [https://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | | summer = [https://github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/01_A_Summer_of_Storms.cfg A Summer of Storms], [https://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | ||
| fall = [github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg The Fall], [github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | | fall = [github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg The Fall], [github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | ||
| harrowing = [github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/03_A_Harrowing_Escape.cfg A Harrowing Escape], [https://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | | harrowing = [github.com/wesnoth/wesnoth/blob/master/data/campaigns/The_Rise_Of_Wesnoth/scenarios/03_A_Harrowing_Escape.cfg A Harrowing Escape], [https://github.com/wesnoth/wesnoth/tree/master/data/campaigns/The_Rise_Of_Wesnoth The Rise of Wesnoth] | ||
− | | Citation failure}}</ | + | | Citation failure}}</span></onlyinclude><noinclude>{{Template}}{{Cite/doc}}</noinclude> |
Revision as of 00:25, 21 August 2019
Citation failureThis 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.