Difference between revisions of "Template:Cite/doc"

From The Battle for Wesnoth Wiki
(Creating documentation (still very much incomplete))
 
m (Expanding documentation)
Line 8: Line 8:
 
! colspan=3 style="text-align: center; border-bottom: 1px solid; border-color: #cbac76" | Campaigns
 
! colspan=3 style="text-align: center; border-bottom: 1px solid; border-color: #cbac76" | Campaigns
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
! rowspan=5 style="border-right: 1px solid; border-color: #cbac76" | [[The Rise of Wesnoth]]
+
! rowspan=27 style="border-right: 1px solid; border-color: #cbac76" | [[The Rise of Wesnoth]]
| style="border-right: 1px solid; border-color: #cbac76" |
+
| style="border-right: 1px solid; border-color: #cbac76" | [[A Summer of Storms]]
[[A Summer of Storms]]
 
 
| summer
 
| summer
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
| style="border-right: 1px solid; border-color: #cbac76" |
+
| style="border-right: 1px solid; border-color: #cbac76" | [[The Fall]]
[[The Fall]]
 
 
| fall
 
| fall
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
| style="border-right: 1px solid; border-color: #cbac76" |
+
| style="border-right: 1px solid; border-color: #cbac76" | [[A Harrowing Escape]]
[[A Harrowing Escape]]
 
 
| harrowing
 
| harrowing
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
| style="border-right: 1px solid; border-color: #cbac76" |
+
| style="border-right: 1px solid; border-color: #cbac76" | [[The Swamp of Esten]]
[[The Swamp of Esten]]
 
 
| esten
 
| esten
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
 
|- style="border-bottom: 1px solid; border-color: #cbac76"
| style="border-right: 1px solid; border-color: #cbac76" |
+
| style="border-right: 1px solid; border-color: #cbac76" | [[The Midlands]]
[[The Midlands]]
 
 
| midlands
 
| midlands
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[The Oldwood]]
 +
| the oldwood
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Temple in the Deep]]
 +
| temple
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Return to Oldwood]]
 +
| return to oldwood
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Clearwater Port]]
 +
| clearwater
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Fallen Lich Point (scenario)|Fallen Lich Point]]
 +
| fallen
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Sewer of Southbay]]
 +
| sewer
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Southbay in Winter]]
 +
| southbay in winter
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[A Final Spring]]
 +
| a final spring
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Peoples in Decline]]
 +
| peoples
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Rough Landing]]
 +
| rough
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[A New Land (The Rise of Wesnoth)|A New Land]]
 +
| land-trow
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[The Ka'lian (scenario)|The Ka'lian]]
 +
| the ka'lian
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[The Dragon (The Rise of Wesnoth)|The Dragon]]
 +
| dragon-trow
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Lizard Beach]]
 +
| lizard
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Troll Hole]]
 +
| hole
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Cursed Isle]]
 +
| cursed
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[A Spy in the Woods]]
 +
| spy
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[The Vanguard]]
 +
| vanguard
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Return of the Fleet]]
 +
| fleet
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[The Plan]]
 +
| plan
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[The Rise of Wesnoth]]
 +
| rise
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Epilogue (The Rise of Wesnoth)|Epilogue]]
 +
| epilogue-trow
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
! rowspan=2 style="border-right: 1px solid; border-bottom: 1px solid; border-color: #cbac76" | [[An Orcish Incursion]]
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Defend the Forest]]
 +
| defend
 +
|- style="border-bottom: 1px solid; border-color: #cbac76"
 +
| style="border-right: 1px solid; border-color: #cbac76" | [[Assassins (scenario)|Assassins]]
 +
| assassins
 
|-
 
|-
 
|}
 
|}

Revision as of 20:56, 21 August 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. 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.

Campaigns
The Rise of Wesnoth A Summer of Storms summer
The Fall fall
A Harrowing Escape harrowing
The Swamp of Esten esten
The Midlands midlands
The Oldwood the oldwood
Temple in the Deep temple
Return to Oldwood return to oldwood
Clearwater Port clearwater
Fallen Lich Point fallen
Sewer of Southbay sewer
Southbay in Winter southbay in winter
A Final Spring a final spring
Peoples in Decline peoples
Rough Landing rough
A New Land land-trow
The Ka'lian the ka'lian
The Dragon dragon-trow
Lizard Beach lizard
Troll Hole hole
Cursed Isle cursed
A Spy in the Woods spy
The Vanguard vanguard
Return of the Fleet fleet
The Plan plan
The Rise of Wesnoth rise
Epilogue epilogue-trow
An Orcish Incursion Defend the Forest defend
Assassins assassins