Template:Quest: Difference between revisions

From HorizonXI Wiki
No edit summary
 
No edit summary
Line 1: Line 1:
<includeonly><infobox type="Quest">
<includeonly>{{Tocright}}
<title source="title"/>
{| width="50%" cellpadding="3" cellspacing="3"
<image source="image"><caption source="imagecaption"/></image>
|-
<data source="start"><label>Start</label></data>
{{#if:{{{startnpc|}}}|
<data source="end"><label>End</label></data>
! width="100px" class="infobox-quest-header"{{!}} Start NPC
<data source="prerequisites"><label>Prerequisites</label></data>
{{!}}class="infobox-quest-field"{{!}} {{{startnpc}}}}}
<data source="level"><label>Level</label></data>
|-
<data source="location"><label>Location</label></data>
{{#if:{{{requirements|}}}|
<data source="rewards"><label>Rewards</label></data>
!class="infobox-quest-header"{{!}} Requirements
<group layout="horizontal">
{{!}}class="infobox-quest-field"{{!}} {{{requirements}}}}}
<header>Quest progression</header>
|-
<data source="previous"><label>Previous</label></data>
{{#if:{{{items|}}}|
<data source="next"><label>Next</label></data>
!class="infobox-quest-header"{{!}} Items Needed
</group>
{{!}}class="infobox-quest-field"{{!}} {{{items}}}}}
</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;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
{{!}}- 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.

See Also