Template:Quest: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>FANDOM (Fandom) No edit summary |
imported>Spiffly No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> |
<includeonly>{{Tocright}} |
||
{| width="50%" cellpadding="3" cellspacing="3" |
|||
<title source="title"/> |
|||
|- |
|||
<image source="image"><caption source="imagecaption"/></image> |
|||
{{#if:{{{startnpc|}}}| |
|||
<data source="start"><label>Start</label></data> |
|||
! width="100px" class="infobox-quest-header"{{!}} Start NPC |
|||
<data source="end"><label>End</label></data> |
|||
{{!}}class="infobox-quest-field"{{!}} {{{startnpc}}}}} |
|||
<data source="prerequisites"><label>Prerequisites</label></data> |
|||
|- |
|||
<data source="level"><label>Level</label></data> |
|||
{{#if:{{{requirements|}}}| |
|||
<data source="location"><label>Location</label></data> |
|||
!class="infobox-quest-header"{{!}} Requirements |
|||
<data source="rewards"><label>Rewards</label></data> |
|||
{{!}}class="infobox-quest-field"{{!}} {{{requirements}}}}} |
|||
<group layout="horizontal"> |
|||
|- |
|||
<header>Quest progression</header> |
|||
{{#if:{{{items|}}}| |
|||
<data source="previous"><label>Previous</label></data> |
|||
!class="infobox-quest-header"{{!}} Items Needed |
|||
<data source="next"><label>Next</label></data> |
|||
{{!}}class="infobox-quest-field"{{!}} {{{items}}}}} |
|||
</group> |
|||
|- |
|||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Quests]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
|||
{{#if:{{{title|}}}| |
|||
!class="infobox-quest-header"{{!}} Title Granted |
|||
{{!}}class="infobox-quest-field"{{!}} {{{title}}}}} |
|||
|- |
|||
{{#if:{{{repeatable|}}}| |
|||
!class="infobox-quest-header"{{!}} Repeatable |
|||
{{!}}class="infobox-quest-field"{{!}} {{{repeatable}}}}} |
|||
|- |
|||
{{#if:{{{reward|}}}| |
|||
!class="infobox-quest-header"{{!}} Reward |
|||
{{!}}class="infobox-quest-field"{{!}} {{{reward}}}}} |
|||
|} |
|||
{{#if:{{{previous|}}}{{{next|}}}| |
|||
{{{!}} width="50%" cellpadding="3" cellspacing="3" |
|||
{{!}}- class="infobox-quest-header" |
|||
!width="50%" style="text-align:left;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest → |
|||
{{!}}- class="infobox-quest-field" |
|||
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}} |
|||
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}} |
|||
{{!}}} |
|||
}} |
|||
{{#if:{{{cutscenes|}}} |
|||
{{{!}} width=50%" class="mw-collapsible mw-collapsed" cellpadding="3" cellspacing="3" |
|||
{{!}}- class="infobox-quest-cutscenes-header" |
|||
!colspan="2" class="mw-collapsible-content"{{!}}Replay Cutscenes |
|||
{{{cutscenes}}} |
|||
{{!}}} |
|||
}} |
|||
</includeonly><noinclude> |
|||
[[Category:Templates|{{PAGENAME}}]] |
|||
==Usage== |
|||
<pre> |
|||
{{Quest |
|||
| startnpc = |
|||
| requirements = |
|||
| items = |
|||
| title = |
|||
| repeatable = |
|||
| reward = |
|||
| previous = |
|||
| next = |
|||
| cutscenes = |
|||
{{Quest/Cutscene|<name>|<NPC and location>}} |
|||
}} |
|||
</pre> |
|||
''See the [[Template talk:Quest#Example|talk page]] for an example of this template in use. |
|||
==See Also== |
|||
*[[Template:Quest/Cutscene]] |
|||
*[[Template:Quest/Description]] |
|||
</noinclude> |
|||
Revision as of 23:17, 26 January 2023
Usage
{{Quest
| startnpc =
| requirements =
| items =
| title =
| repeatable =
| reward =
| previous =
| next =
| cutscenes =
{{Quest/Cutscene|<name>|<NPC and location>}}
}}
See the talk page for an example of this template in use.