Template:TestThisTemplate: Difference between revisions

From HorizonXI Wiki
No edit summary
(new test - categories in transclusion)
Tag: Replaced
Line 1: Line 1:
<includeonly>{{Tocright}}
[[category:NPCs]]
{| class="horizon-infobox infobox-quest infobox-34-66"
|-
{{#if: {{{Quest Name|}}}|
! {{!}} {{PAGENAME}}
{{!}} {{!}} {{PAGENAME}}}}
|-
{{#if:{{{startnpc|}}}|
! Start NPC
{{!}} {{{startnpc}}}}}
|-
{{#if:{{{requirements|}}}|
! Requirements
{{!}} {{{requirements}}}}}
|-
{{#if:{{{items|}}}|
! Items Needed
{{!}} {{{items}}}}}
|-
{{#if:{{{title|}}}|
! Title Granted
{{!}} {{{title}}}}}
|-
{{#if:{{{repeatable|}}}|
! Repeatable
{{!}} {{{repeatable}}}}}
|-
{{#if:{{{reward|}}}|
! Reward
{{!}} {{{reward}}}}}
|-
{{#if:{{{description|}}}|
! Description
{{!}} {{{description}}}}}
|}
<!-- end main box. start previous/next box -->
{{#if:{{{previous|}}}{{{next|}}}|
{<!--open table-->{{!}} class="horizon-infobox infobox-quest  infobox-50-50"
{{!}}-
!style="text-align:left;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
{{!}}-
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
{{!}}<!--close table-->}
}}
<!-- 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"
!colspan="2" style="text-align:center;" class="mw-collapsible-content"{{!}} Replay Cutscenes
{{{cutscenes}}}
{{!}}<!--close table-->}
}}
</includeonly><noinclude>
[[Category:Templates|{{PAGENAME}}]]
==Usage==
<pre>
{{Quest
| startnpc =
| requirements = 
| items =
| title =
| repeatable =
| reward =
| previous =
| next =
| cutscenes =
| description =
{{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]]
 
===Examples===
 
{{TestThisTemplate
| startnpc = [[Esha'ntarl]] (within Ru'Lude Gardens palace)
| requirements =  Completion of [[Chains of Promathia]]
| items = [[Giant Scale]]
| title = Conqueror of Fate
| repeatable = No (Can reenter to assist others)
| reward = {{KeyItem}} [[Whisper of the Wyrmking]]
| previous = [[Dawn]]
| next = [[Shadows of the Departed]]
| cutscenes =
{{Quest/Cutscene|<name>|<NPC and location>}}
}}
 
</noinclude>

Revision as of 10:00, 10 September 2023