Template:Quest objective: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div class="toccolours mw-collapsible mw-collapsed"> <div style="font-weight: bold; line-height: 1.6;">{{{1}}}</div> <div class="mw-collapsible-content"> {{{2}}} </div></div></includeonly> <noinclude> Creates an objective box for quest pages. Example: <pre>{{Quest objective|Objective name.| * Journal entry one * Journal entry two }}</pre> {{Quest objective|Find a way to remove the mind flayer parasite. |* We've escaped the Hells on the nautiloid and cras...") |
(Fixed parameter aliases and updated documentation) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="toccolours mw-collapsible mw-collapsed"> | <includeonly><div class="toccolours mw-collapsible mw-collapsed" style="overflow:hidden;"> | ||
<div style="font-weight: bold; line-height: 1.6;">{{{1}}}</div> | <div style="font-weight: bold; line-height: 1.6;">{{{title|{{{1|}}}}}}</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{{2}}} | {{{list|{{{2|}}}}}} | ||
</div></div></includeonly> | </div></div></includeonly><noinclude>{{documentation|content= | ||
<noinclude> | Creates an objective box for quest pages. | ||
Creates an objective box for quest pages. | |||
< | == Examples == | ||
{{Template demo | |||
| style = list | |||
| <nowiki> | |||
{{Quest objective|Objective name.| | |||
* Journal entry one | * Journal entry one | ||
* Journal entry two | * Journal entry two | ||
}}</ | }} | ||
</nowiki> | |||
{{Quest objective|Find a way to remove the mind flayer parasite. | | <nowiki> | ||
|* We've escaped the Hells on the nautiloid and crashed somewhere back in the Material Plane. We need to explore the area and find a healer. | {{Quest objective | ||
| title = Find a way to remove the mind flayer parasite. | |||
| list = | |||
* We've escaped the Hells on the nautiloid and crashed somewhere back in the Material Plane. We need to explore the area and find a healer. | |||
* There could be several ways to get rid of the parasite. Lae'zel, the githyanki who helped us escape the nautiloid, thinks finding a Githyanki Crèche is our best solution. | * There could be several ways to get rid of the parasite. Lae'zel, the githyanki who helped us escape the nautiloid, thinks finding a Githyanki Crèche is our best solution. | ||
* Lae'zel is now gone and she couldn't lead us to the githyanki cure. | * Lae'zel is now gone and she couldn't lead us to the githyanki cure. | ||
}} | }} | ||
{{Quest objective|Find the source of the parasite. | {{Quest objective | ||
|* Our chance of finding a cure seems to be diminishing as we continue our journey - but we must press on. | | title = Find the source of the parasite. | ||
| list = | |||
* Our chance of finding a cure seems to be diminishing as we continue our journey - but we must press on. | |||
* It is clear that the parasites are coming from Moonrise Towers. Infiltrating the Towers and finding the source of this evil may be our only chance of finding a cure. | * It is clear that the parasites are coming from Moonrise Towers. Infiltrating the Towers and finding the source of this evil may be our only chance of finding a cure. | ||
}} | |||
</nowiki> | |||
}} | }} | ||
Line 28: | Line 38: | ||
"1": { | "1": { | ||
"aliases": [ | "aliases": [ | ||
" | "title" | ||
], | ], | ||
"description": "The name of the objective, as listed in the journal.", | "description": "The name of the objective, as listed in the journal.", | ||
Line 37: | Line 47: | ||
"2": { | "2": { | ||
"aliases": [ | "aliases": [ | ||
" | "list" | ||
], | ], | ||
"description": "A bulleted list of the objectives journal entries.", | "description": "A bulleted list of the objectives journal entries.", | ||
Line 45: | Line 55: | ||
} | } | ||
}, | }, | ||
"description": "Creates a \"quest objective\" box." | "description": "Creates a \"quest objective\" box.", | ||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata>}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:34, 21 July 2024
Template documentation
Creates an objective box for quest pages.
Examples
Markup
{{Quest objective|Objective name.| * Journal entry one * Journal entry two }}Renders as
Markup
{{Quest objective | title = Find a way to remove the mind flayer parasite. | list = * We've escaped the Hells on the nautiloid and crashed somewhere back in the Material Plane. We need to explore the area and find a healer. * There could be several ways to get rid of the parasite. Lae'zel, the githyanki who helped us escape the nautiloid, thinks finding a Githyanki Crèche is our best solution. * Lae'zel is now gone and she couldn't lead us to the githyanki cure. }} {{Quest objective | title = Find the source of the parasite. | list = * Our chance of finding a cure seems to be diminishing as we continue our journey - but we must press on. * It is clear that the parasites are coming from Moonrise Towers. Infiltrating the Towers and finding the source of this evil may be our only chance of finding a cure. }}Renders as
Template data
Creates a "quest objective" box.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 title | The name of the objective, as listed in the journal.
| String | required |
2 | 2 list | A bulleted list of the objectives journal entries.
| String | required |