Template:Quest: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus No edit summary |
imported>Aramachus used css classes to style, fixed some errors |
||
| Line 1: | Line 1: | ||
<includeonly>{{Tocright}} |
<includeonly>{{Tocright}} |
||
{| class="horizon-infobox infobox-quest infobox-34-66" |
|||
{| width="50%" |
|||
|- |
|- |
||
{{#if: {{{Quest Name|}}}| |
{{#if: {{{Quest Name|}}}| |
||
! |
! {{!}} {{PAGENAME}} |
||
{{!}} |
{{!}} {{!}} {{PAGENAME}}}} |
||
|- |
|- |
||
{{#if:{{{startnpc|}}}| |
{{#if:{{{startnpc|}}}| |
||
! Start NPC |
|||
! width="100px" class="infobox-quest-header horizon-table"{{!}} Start NPC |
|||
{{!}} {{{startnpc}}}}} |
|||
|- |
|- |
||
{{#if:{{{requirements|}}}| |
{{#if:{{{requirements|}}}| |
||
! |
! Requirements |
||
{{!}} {{{requirements}}}}} |
|||
|- |
|- |
||
{{#if:{{{items|}}}| |
{{#if:{{{items|}}}| |
||
! |
! Items Needed |
||
{{!}} {{{items}}}}} |
|||
|- |
|- |
||
{{#if:{{{title|}}}| |
{{#if:{{{title|}}}| |
||
! |
! Title Granted |
||
{{!}} {{{title}}}}} |
|||
|- |
|- |
||
{{#if:{{{repeatable|}}}| |
{{#if:{{{repeatable|}}}| |
||
! |
! Repeatable |
||
{{!}} {{{repeatable}}}}} |
|||
|- |
|- |
||
{{#if:{{{reward|}}}| |
{{#if:{{{reward|}}}| |
||
! Reward |
|||
!class="infobox-quest-header horizon-table"{{!}} Reward |
|||
{{!}} {{{reward}}}}} |
|||
|- |
|- |
||
{{#if:{{{description|}}}| |
{{#if:{{{description|}}}| |
||
! |
! Description |
||
{{!}} {{{description}}}}} |
|||
|} |
|} |
||
<!-- end main box. start previous/next box --> |
|||
{{#if:{{{previous|}}}{{{next|}}}| |
{{#if:{{{previous|}}}{{{next|}}}| |
||
{<!--open table-->{{!}} class="horizon-infobox infobox-quest infobox-50-50" |
|||
{{{!}} width="50%" |
|||
{{!}}- |
|||
{{!}}- class="infobox-quest-header horizon-table" |
|||
! |
!style="text-align:left;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest → |
||
{{!}}- |
|||
{{!}}- 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''}} |
||
{{!}}} |
{{!}}<!--close table-->} |
||
}} |
}} |
||
<!-- end previous/next box. start cutscene box --> |
|||
{{#if:{{{cutscenes|}}} |
{{#if:{{{cutscenes|}}}| |
||
{{{!}} width=50%" class="mw-collapsible mw-collapsed" |
|||
{<!--open table-->{{!}} class="horizon-infobox infobox-quest infobox-34-66 mw-collapsible mw-collapsed" |
|||
{{!}}- class="infobox-quest-cutscenes-header" |
{{!}}- class="infobox-quest-cutscenes-header" |
||
!colspan="2" class="mw-collapsible-content"{{!}}Replay Cutscenes |
!colspan="2" style="text-align:center;" class="mw-collapsible-content"{{!}} Replay Cutscenes |
||
{{{cutscenes}}} |
{{{cutscenes}}} |
||
{{!}}} |
{{!}}<!--close table-->} |
||
}} |
}} |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
| Line 74: | Line 76: | ||
===Examples=== |
===Examples=== |
||
{{TestThisTemplate |
|||
{{Quest |
|||
| startnpc = [[Esha'ntarl]] (within Ru'Lude Gardens palace) |
| startnpc = [[Esha'ntarl]] (within Ru'Lude Gardens palace) |
||
| requirements = Completion of [[Chains of Promathia]] |
| requirements = Completion of [[Chains of Promathia]] |
||
Revision as of 23:51, 9 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.