Template:Quest: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Changed all stuff to page)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Quests|Title=Wikitext|Level=Integer|Factions=List (,) of Page|ReputationGiven=Integer|QuestManager=String|GivenBy=Page|NPCsInvolved=List (,) of Page|Rewards=List (,) of Page}}
{{#cargo_declare:_table=Quests|Title=Wikitext|Level=Integer|Factions=List (,) of Page|ReputationGiven=Integer|QuestManager=String|GivenBy=Page|NPCsInvolved=List (,) of Page|Rewards=List (,) of Page}}
[[Category:Templates]]
[[Category:Cargo Store Templates]]


Usage:
Usage:
Line 25: Line 25:
! rewards
! rewards
| rewards given (split by ,)
| rewards given (split by ,)
|}</noinclude>
|}</noinclude><includeonly>{{#cargo_store:_table=Quests|Title={{PAGENAME}}|Level={{{lv|}}}|Factions={{{factions|}}}|ReputationGiven={{{rep|}}}|QuestManager={{{manager|}}}|GivenBy={{{givenby|}}}|NPCsInvolved={{{npcs|}}}|Rewards={{{rewards|}}}}}
<includeonly>
{{#cargo_store:_table=Quests|Title={{PAGENAME}}|Level={{{lv|}}}|Factions={{{factions|}}}|ReputationGiven={{{rep|}}}|QuestManager={{{manager|}}}|GivenBy={{{givenby|}}}|NPCsInvolved={{{npcs|}}}|Rewards={{{rewards|}}}}}
</includeonly>
{{#invoke: infobox|infobox|
{{#invoke: infobox|infobox|
title = {{PAGENAME}}|
title = {{PAGENAME}}|
Line 40: Line 37:
{{#if: {{{npcs|}}}    | {{infobox row|NPCs Involved|{{{npcs}}} }} }}
{{#if: {{{npcs|}}}    | {{infobox row|NPCs Involved|{{{npcs}}} }} }}
{{#if: {{{rewards|}}} | {{infobox row|Rewards|{{{rewards}}} }} }}
{{#if: {{{rewards|}}} | {{infobox row|Rewards|{{{rewards}}} }} }}
}}
}}</includeonly>

Latest revision as of 13:02, 25 August 2019

This template defines the table "Quests". View table.

Usage:

lv level of quest
factions what factions are affected (split by ,)
rep how much reputation is awarded at completion.
manager the cs manager associated with the quest. can be found as Manager=____ in Quests.xml
givenby npc who gives it
npcs npcs involved in the quest (split by ,)
rewards rewards given (split by ,)