Template:Quest: Difference between revisions
From HorizonXI Wiki
No edit summary |
(used css classes to style, fixed some errors) |
||
Line 1: | Line 1: | ||
<includeonly>{{Tocright}} | <includeonly>{{Tocright}} | ||
{| | {| class="horizon-infobox infobox-quest infobox-34-66" | ||
|- | |- | ||
{{#if: {{{Quest Name|}}}| | {{#if: {{{Quest Name|}}}| | ||
! | ! {{!}} {{PAGENAME}} | ||
{{!}} | {{!}} {{!}} {{PAGENAME}}}} | ||
|- | |- | ||
{{#if:{{{startnpc|}}}| | {{#if:{{{startnpc|}}}| | ||
! | ! 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 | ||
{{!}} {{{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" | ||
{{!}}- | {{!}}- | ||
! | !style="text-align:left;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest → | ||
{{!}}- | {{!}}- | ||
{{!}} {{#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-->} | ||
}} | }} | ||
{{#if:{{{cutscenes|}}} | <!-- end previous/next box. start cutscene box --> | ||
{{{!}} | {{#if:{{{cutscenes|}}}| | ||
{<!--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 | ||
| 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.