Difference between revisions of "Template:QuestObjective"

From DDO Compendium
Line 19: Line 19:
* OptionalCounted
* OptionalCounted
* Failure
* Failure
* Timer
* FailureTimer
|parameter2name = Objective Text
|parameter2name = Objective Text
|parameter2description = This is the objective
|parameter2description = This is the objective
Line 29: Line 31:
* OptionalCounted - The number of times action is needed for optional to count
* OptionalCounted - The number of times action is needed for optional to count
* Failure - not used
* Failure - not used
* Timer - The time in minutes
* FailureTimer - The time in minutes
}}
}}
</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
Line 34: Line 38:
| counted ={{{2}}}&#58; ''{{{3}}} total''
| counted ={{{2}}}&#58; ''{{{3}}} total''
| optionalcounted = ''(Optional)'' {{{2}}}&#58; ''{{{3}}} total''
| optionalcounted = ''(Optional)'' {{{2}}}&#58; ''{{{3}}} total''
| failure=<span style="color:red">''(Failure)'' {{{2}}}</span>
| failure=<span style="color:red">''(Failure)''</span> {{{2}}}
| timer={{{2}}}&#58; ''{{{3}}} minutes''
| failuretimer=<span style="color:red">''(Failure)''</span> {{{2}}}&#58; ''{{{3}}} minutes''
|#default={{{2}}}
|#default={{{2}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 21:12, 6 March 2019

QuestObjective[edit]

This template is used to nicely format the objectives for a quest

Example Usage
{{QuestObjective||Speak with Scrag the Kobold}}Speak with Scrag the Kobold
{{QuestObjective|Optional|Defeat +Severlin}}(Optional) Defeat +Severlin
{{QuestObjective|Counted|Collect some firewood for Brawnpits|4}}Collect some firewood for Brawnpits: 4 total
{{QuestObjective|OptionalCounted|Find and defeat more rock spirits|6}}(Optional) Find and defeat more rock spirits: 6 total

Usage[edit]

{{QuestObjective|(Type)|(Objective Text)|(First value for type)}}

Parameter Documentation
TypeWhat type of objective is this
Possible Values:
  • Normal (default)
  • Optional
  • Counted
  • OptionalCounted
  • Failure
  • Timer
  • FailureTimer
Objective TextThis is the objective
First value for typeThis is the first value used based on type
Possible Values:
  • Normal - not used
  • Optional - not used
  • Counted - The number of times action is needed for optional to count
  • OptionalCounted - The number of times action is needed for optional to count
  • Failure - not used
  • Timer - The time in minutes
  • FailureTimer - The time in minutes

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{2}}}