Difference between revisions of "Template:QuestObjective"

From DDO Compendium
Line 18: Line 18:
* Counted
* Counted
* OptionalCounted
* OptionalCounted
* Failure
|parameter2name = Objective Text
|parameter2name = Objective Text
|parameter2description = This is the objective
|parameter2description = This is the objective
Line 27: Line 28:
* Counted - The number of times action is needed for optional to count
* Counted - The number of times action is needed for optional to count
* 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
}}
}}
</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
Line 32: Line 34:
| 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>
|#default={{{2}}}
|#default={{{2}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 18:41, 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
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

Template

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


{{{2}}}