Template:Quest: Difference between revisions

From HorizonXI Wiki
No edit summary
No edit summary
Line 3: Line 3:
|-
|-
{{#if: {{{Quest Name|}}}|
{{#if: {{{Quest Name|}}}|
! width="100px" class="infobox-quest-header"{{!}} {{{PAGENAME}}
! width="100px" class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}
{{!}}class="infobox-quest-header"{{!}} {{{PAGENAME}}}}}
{{!}}class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}}}}
|-
|-
{{#if:{{{startnpc|}}}|
{{#if:{{{startnpc|}}}|
! width="100px" class="infobox-quest-header"{{!}} Start NPC
! width="100px" class="infobox-quest-header horizon-table"{{!}} Start NPC
{{!}}class="infobox-quest-field"{{!}} {{{startnpc}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{startnpc}}}}}
|-
|-
{{#if:{{{requirements|}}}|
{{#if:{{{requirements|}}}|
!class="infobox-quest-header"{{!}} Requirements
!class="infobox-quest-header horizon-table"{{!}} Requirements
{{!}}class="infobox-quest-field"{{!}} {{{requirements}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{requirements}}}}}
|-
|-
{{#if:{{{items|}}}|
{{#if:{{{items|}}}|
!class="infobox-quest-header"{{!}} Items Needed
!class="infobox-quest-header horizon-table"{{!}} Items Needed
{{!}}class="infobox-quest-field"{{!}} {{{items}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{items}}}}}
|-
|-
{{#if:{{{title|}}}|
{{#if:{{{title|}}}|
!class="infobox-quest-header"{{!}} Title Granted
!class="infobox-quest-header horizon-table"{{!}} Title Granted
{{!}}class="infobox-quest-field"{{!}} {{{title}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{title}}}}}
|-
|-
{{#if:{{{repeatable|}}}|
{{#if:{{{repeatable|}}}|
!class="infobox-quest-header"{{!}} Repeatable
!class="infobox-quest-header horizon-table"{{!}} Repeatable
{{!}}class="infobox-quest-field"{{!}} {{{repeatable}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{repeatable}}}}}
|-
|-
{{#if:{{{reward|}}}|
{{#if:{{{reward|}}}|
!class="infobox-quest-header"{{!}} Reward
!class="infobox-quest-header horizon-table"{{!}} Reward
{{!}}class="infobox-quest-field"{{!}} {{{reward}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{reward}}}}}
|-
|-
{{#if:{{{description|}}}|
{{#if:{{{description|}}}|
!class="infobox-quest-header"{{!}} Description
!class="infobox-quest-header horizon-table"{{!}} Description
{{!}}class="infobox-quest-field"{{!}} {{{description}}}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{description}}}}}
|}
|}
{{#if:{{{previous|}}}{{{next|}}}|
{{#if:{{{previous|}}}{{{next|}}}|
{{{!}} width="50%" cellpadding="3" cellspacing="3"
{{{!}} width="50%" cellpadding="3" cellspacing="3"
{{!}}- class="infobox-quest-header"
{{!}}- class="infobox-quest-header horizon-table"
!width="50%" style="text-align:left;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest →
!width="50%" style="text-align:left;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest →
{{!}}- class="infobox-quest-field"
{{!}}- class="infobox-quest-field horizon-table"
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}

Revision as of 08:25, 1 September 2023

Usage

{{Quest
| startnpc = 
| requirements =  
| items = 
| title = 
| repeatable = 
| reward = 
| previous = 
| next = 
| cutscenes = 
| description =
{{Quest/Cutscene|<name>|<NPC and location>}}
}}

See the talk page for an example of this template in use.

See Also