Difference between revisions of "Template:QuestObjective"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|example3 = <nowiki>{{QuestObjective|Counted|Collect some firewood for Brawnpits|4}}</nowiki> | |example3 = <nowiki>{{QuestObjective|Counted|Collect some firewood for Brawnpits|4}}</nowiki> | ||
|example3output = {{QuestObjective|Counted|Collect some firewood for Brawnpits|4}} | |example3output = {{QuestObjective|Counted|Collect some firewood for Brawnpits|4}} | ||
|example4 = <nowiki>{{QuestObjective|OptionalCounted|Find and defeat more rock spirits|6}}</nowiki> | |example4 = <nowiki>{{QuestObjective|OptionalCounted|Find and defeat more rock spirits|6||True}}</nowiki> | ||
|example4output = {{QuestObjective|OptionalCounted|Find and defeat more rock spirits|6}} | |example4output = {{QuestObjective|OptionalCounted|Find and defeat more rock spirits|6||True}} | ||
|parameter1name = Type | |parameter1name = Type | ||
|parameter1description = What type of objective is this | |parameter1description = What type of objective is this | ||
Line 21: | Line 21: | ||
* Timer | * Timer | ||
* FailureTimer | * FailureTimer | ||
* FailureCount | |||
|parameter2name = Objective Text | |parameter2name = Objective Text | ||
|parameter2description = This is the objective | |parameter2description = This is the objective | ||
Line 33: | Line 34: | ||
* Timer - The time in minutes | * Timer - The time in minutes | ||
* FailureTimer - The time in minutes | * FailureTimer - The time in minutes | ||
* FailureCount - The minimum number before failure | |||
|parameter4name = Difficulty | |||
|parameter4description = What difficulty is this objective for - only used when quests have multiple difficulties | |||
|parameter5name = Starred | |||
|parameter5=Is this starred | |||
}} | }} | ||
</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}} | </noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
Line 41: | Line 47: | ||
| timer={{{2}}}: ''{{{3}}} minutes'' | | timer={{{2}}}: ''{{{3}}} minutes'' | ||
| failuretimer=<span style="color:red">''(Failure)''</span> {{{2}}}: ''{{{3}}} minutes'' | | failuretimer=<span style="color:red">''(Failure)''</span> {{{2}}}: ''{{{3}}} minutes'' | ||
| failurecount=<span style="color:red">''(Failure)''</span> {{{2}}}: ''{{{3}}} or more'' | |||
|#default={{{2}}} | |#default={{{2}}} | ||
}}</onlyinclude> | }}{{#if: {{{4|}}}| <span style="Color: #00eeef">({{{4}}})</span>}} {{#if: {{{5|}}}|[[File: Challenge Star Icon.png]]}}</onlyinclude> |
Latest revision as of 15:30, 4 February 2022
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||True}} | (Optional) Find and defeat more rock spirits: 6 total ![]() |
Usage[edit]
{{QuestObjective|(Type)|(Objective Text)|(First value for type)|(Difficulty)|(Starred)}}
Parameter Documentation | |
Type | What type of objective is this Possible Values:
|
Objective Text | This is the objective |
First value for type | This is the first value used based on type Possible Values:
|
Difficulty | What difficulty is this objective for - only used when quests have multiple difficulties |
Starred | {{{parameter5description}}} |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{2}}}