The Sunbreeze Festival 2024 is here!
Template:TestThisTemplate.dpl: Difference between revisions
From HorizonXI Wiki
No edit summary |
(layout change) |
||
Line 4: | Line 4: | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | {{#if: {{{Quest Name|}}}|{{{Quest Name}}}|{{PAGENAME}}}} | ! colspan="2" style="text-align: center;" | {{#if: {{{Quest Name|}}}|{{{Quest Name}}}|{{PAGENAME}}}} | ||
|-<!-- | |||
If Start is given (npc) then display left side as Starting NPC, otherwise just as Start | |||
If Start is given, check if link exists and output as such. If Start is given but link does NOT exist AND Start Location does NOT exist, then display no comma and space or {{Information Needed}} (this is the fallback case and backwards compatibility for writing everything into the Start parameter). If with existing Start as link, Start Location exist, add a comma and a space (to display Start Location in the next step), otherwise display {{Information Needed}} as it is unclear where the npc is located. | |||
If Start Location exists, display it. | |||
If neither Start nor Start Location exist, display {{Information Needed}} (no information whatsoever) | |||
--> | |||
! {{#if: {{{Start|}}}|Starting NPC|Start}} | |||
| {{#if: {{{Start|}}} |<!-- | |||
-->{{#ifexist:{{{Start|}}}|[[{{{Start}}}]]<!-- | |||
-->{{#if: {{{Start Location|}}}|, |, {{Information Needed}}}}<!-- | |||
-->|{{{Start}}}<!-- | |||
-->}}<!-- | |||
-->|}}<!-- | |||
-->{{#if: {{{Start Location|}}}|{{{Start Location}}}}}<!-- | |||
-->{{#if: {{{Start|}}}{{{Start Location|}}}| |{{Information Needed}}}} | |||
|-<!-- | |-<!-- | ||
Line 50: | Line 67: | ||
Items Needed. row vanishes if none are given | |||
--> | --> | ||
{{#if: {{{Items Needed}}} | | |||
! Items Needed | |||
{{!}} {{{Items Needed}}} | |||
{{!}}-}}<!-- | |||
Requirements. row vanishes if none are given | |||
--> | |||
{{#if: {{{Requirements}}} | | |||
! Additional Requirements | |||
{{!}} {{{Requirements}}} | |||
{{!}}-}}<!-- | |||
If expansion is given and recognize, display it. If it is given and not recognized, it will display a blank field. If nothing is given, the row vanishes. | If expansion is given and recognize, display it. If it is given and not recognized, it will display a blank field. If nothing is given, the row vanishes. | ||
Line 109: | Line 124: | ||
{{!}} {{{Description}}}}}<!-- | {{!}} {{{Description}}}}}<!-- | ||
Rewards. If Rewards are given, display it. If none are given, outputs ''None'' | |||
--> | --> | ||
! colspan="2" style="text-align: center;" | Rewards | |||
|- | |||
| colspan="2" style="text-align: center;" | {{#if:{{{Rewards|}}}|{{{Rewards}}}|''None''}} | |||
|}<!-- | |}<!-- | ||
Line 118: | Line 138: | ||
--> | --> | ||
{{#if:{{{Previous|}}}{{{Next|}}}| | {{#if:{{{Previous|}}}{{{Next|}}}| | ||
{<!--open table-->{{!}} class="horizon-infobox infobox-quest infobox-50-50" style="text-align: center | {<!--open table-->{{!}} class="horizon-infobox infobox-quest infobox-50-50" style="text-align: center;" | ||
{{!}}- | {{!}}- | ||
! style="text-align: center;" {{!}} ← Previous Quest | ! style="text-align: center;" {{!}} ← Previous Quest | ||
Line 125: | Line 145: | ||
{{!}} style="vertical-align: middle;" {{!}} {{#if:{{{Previous|}}}|{{{Previous}}}|''None''}} | {{!}} style="vertical-align: middle;" {{!}} {{#if:{{{Previous|}}}|{{{Previous}}}|''None''}} | ||
{{!}} style="vertical-align: middle;" {{!}} {{#if:{{{Next|}}}|{{{Next}}}|''None''}} | {{!}} style="vertical-align: middle;" {{!}} {{#if:{{{Next|}}}|{{{Next}}}|''None''}} | ||
{{!}}<!--close table-->} | {{!}}<!--close table-->} | ||
}}<!-- | }}<!-- |
Revision as of 09:10, 26 September 2023
Usage
Code
{{Quest Header |Quest Name=Secrets of San d'Oria |Expansion= Chains of Promathia |Start=Prishe |Start Location={{Location|Tavnazian Safehold|H-9}} |Description= |Fame=san d'oria |Fame Level=1 |Level=50 |Repeatable= no |Title=Lord of the Test Quest |Requirements= [[Paladin]] Lvl. 15<br>Access to [[Chateau d'Oraguille]] |Items Needed={{KeyItem}}[[Adventurer's Certificate]]<br>[[Onion Sword]]<br>[[Chocobo Feather]] |Rewards=[[Pebble]]<br>[[Blue Chip]]<br>1,000 gil |Previous= [[Last Quest Link|Last Quest Name]] |Next= [[Follow up Quest 1]]<br>[[Follow up Quest 2]] }}
Example
Secrets of San d'Oria | |
---|---|
Starting NPC | Prishe, Tavnazian Safehold (H-9) |
Required Fame | San d'Oria Fame Level: 1 |
Level Restriction: | Level 50 |
Items Needed | ![]() Onion Sword Chocobo Feather |
Additional Requirements | Paladin Lvl. 15 Access to Chateau d'Oraguille |
Pack | Chains of Promathia |
Title | Lord of the Test Quest |
Repeatable | No |
Rewards | |
Pebble Blue Chip 1,000 gil |
← Previous Quest | Next Quest → |
---|---|
Last Quest Name | Follow up Quest 1 Follow up Quest 2 |
Documentation
- Quest Name (optional): Name of the quest. If not given, will take the page name.
- Expansion (optional): Expansion the Quest was shipped with. If not given, the row will not be displayed. The Expansion parameter is case insensitive and can use the following inputs:
- rise of the zilart, zilart or rotz will all display as Rise of the Zilart.
- chains of promathia, promathia or cop will all display as Chains of Promathia.
- treasures of aht urhgan, aht urhgan or toau will all display as Treasures of Aht Urhgan.
- wings of the goddess, wings or wotg will all display as Wings of the Goddess.
- seekers of adoulin, seekers, adoulin or soa will all display as Seekers of Adoulin.
- abyssea will display as Abyssea.
- Start and Start Location (mandatory): Will display
if both are left blank.
- Start refers to the NPC or Event that triggers the start of the Quest. If the Quest is triggered by entering an area, leave this field blank.
- Start Location refers to the position of the NPC or the area triggering the quest. Use Template:Location as input.
- Description (optional): Quest Description as displayed in the Quest log. Row will vanish if left blank.
- Fame (mandatory): Fame area or none. Will display
if left blank. Fame area is case insensitive, Valid fame areas:
- None: none
- Main Cities: bastok, san d'oria/sandoria, windurst, jeuno
- Others: kazham, rabao, norg, outlands/outland, other
- Abyssea zones: abyssea
- Vision: abyssea - la theine, abyssea - konschtat, abyssea - tahrongi
- Scars: abyssea - attohwa, abyssea - misareaux, abyssea - vunkerl
- Heroes: abyssea - altepa, abyssea - grauberg, abyssea - uleguerand
- Adoulin: adoulin
- Fame Level (mandatory unless Fame is none): Fame Level required in the Fame area to trigger the quest.
- Level (optional): If there is a level requirement, specify it here. If nothing is given, the row will vanish.
- Repeatable (optional): If yes, will display Yes. Can put af, memory, memory reset, reset or mem to display Yes, after Memory Reset. Otherwise will display No by default. Still, best practice is to fill this field in case of no to signal to editors, that its not unknown.
- Title (optional): Title obtained from the Quest. If nothing is given, the assumption is there is no title and will display None.
- Requirements and Items Needed (optional): Items Needed refers to any item or key item needed for this quest. Requirements refers to anything that is not an item, like having access to an area, a certain job unlocked, .... The box vanishes if neither Requirements nor Items Needed exist.
- Enter entries as links if possible like [[name]] and use <br> to separate multiple entries.
- Rewards (optional): Rewards obtained by completing the quest.
- Enter entries as links if possible like [[name]] and use <br> to separate multiple entries.
- Previous and Next (optional): Refer to the name of the corresponding quests (case-sensitive). The box will vanish if neither previous nor next quests exist.
- Enter entries as links if possible like [[name]] and use <br> to separate multiple entries.
- Categories are automatically added accordingly with this template.