Template:TestThisTemplate.dpl: Difference between revisions

From HorizonXI Wiki
(fixed quest name display on top of the table)
(expanded on functionality in documentation, functionality not yet completely implemented)
Line 31: Line 31:
avun| abyssea - vunkerl=[[Category:Abyssea Quests]][[Category:Abyssea - Vunkerl Quests]][[:Category:Abyssea - Vunkerl Quests|Abyssea - Vunkerl]] Fame Level:|  
avun| abyssea - vunkerl=[[Category:Abyssea Quests]][[Category:Abyssea - Vunkerl Quests]][[:Category:Abyssea - Vunkerl Quests|Abyssea - Vunkerl]] Fame Level:|  
adoulin| seekers of adoulin=[[Category:Adoulin Quests]][[Category:Adoulin Quests]][[:Category:Adoulin Quests|Adoulin]] Fame Level:|  
adoulin| seekers of adoulin=[[Category:Adoulin Quests]][[Category:Adoulin Quests]][[:Category:Adoulin Quests|Adoulin]] Fame Level:|  
#default=}} {{#if: {{{FLevel|}}}| {{{FLevel}}}|''Unknown''}}
#default=}} {{#if: {{{Fame Level|}}}|{{{Fame Level}}}|}}
{{!}}-}}<!--
{{!}}-}}<!--
-->
-->
Line 41: Line 41:


-->
-->
{{#if: {{{Start|}}} |
{{#if: {{{Start|}}}{{{Start Location|}}} |
! Starting NPC
! {{#if: {{{Start|}}}|Starting NPC|Start}}
{{!}} {{{Start}}}
{{!}} {{#ifexist:{{{Start}}}|[[{{{Start}}}]]|{{{Start}}}}}<!--
-->{{#if: {{{Start Location|}}}|<!--
  -->{{#if: {{{Start|}}}|,&nbsp;|}}<!--
  -->{{{Start Location}}}<!--
-->|}}
{{!}}-}}<!--
{{!}}-}}<!--


Line 75: Line 79:
! style="text-align: center;" {{!}} Next Quest &rarr;
! style="text-align: center;" {{!}} Next Quest &rarr;
{{!}}-
{{!}}-
{{!}} {{#if:{{{Previous|}}}|{{{Previous}}}|''None''}}
{{!}} {{#if:{{{Previous|}}}|[[{{{Previous}}}]]|''None''}}
{{!}} {{#if:{{{Next|}}}|{{{Next}}}|''None''}}
{{!}} {{#if:{{{Next|}}}|[[{{{Next}}}]]|''None''}}
{{!}}<!--close table-->}
{{!}}<!--close table-->}
}}<!--
}}<!--
Line 86: Line 90:
! style="text-align:center;" {{!}} Requirements
! style="text-align:center;" {{!}} Requirements
{{!}}-
{{!}}-
{{!}}{{#if: {{{Quest Reqs}}} |{{{Quest Reqs}}}<br><hr>|}} {{#if: {{{Item Reqs|}}} | {{{Item Reqs}}} | }}
{{!}}<!--
-->{{#if: {{{Quest Reqs}}} |{{{Quest Reqs}}}<!--
  -->{{#if: {{{Item Reqs|}}} | <br><hr>|}}<!--
-->|}}<!--
-->{{#if: {{{Item Reqs|}}} | {{{Item Reqs}}} | }}
{{!}}<!--close table-->}
{{!}}<!--close table-->}
}}<!--
}}<!--
Line 102: Line 110:


==Usage==
==Usage==
===Code===
<pre>{{Quest Header
|Quest Name=Secrets of San d'Oria
|Expansion= Chains of Promathia
|Start=Prishe
|Start Location={{Location|Tavnazian Safehold|H-9}}
|Description= N/a
|Fame= San d'Oria
|Fame Level= 1
|Quest Reqs= [[Paladin]] Lvl. 15<br>{{KeyItem}}[[Adventurer's Certificate]]
|Item Reqs=[[Onion Sword]]<br>[[Chocobo Feather]]
|Level= 50
|Repeatable= no
|Previous= Last Quest Link{{!}}Last Quest Name
|Next= Next Quest Link{{!}}Next Quest Name
|Title=Lord of the Test Quest
|Reward=[[Pebble]]<br>[[Blue Chip]]<br>1,000 [[Gil]]
}}</pre>


===Example===
===Example===
Line 108: Line 135:
|Quest Name=Secrets of San d'Oria
|Quest Name=Secrets of San d'Oria
|Expansion= Chains of Promathia
|Expansion= Chains of Promathia
|Start= [[Prishe]] [[Tavnazian Safehold]]
|Start= Prishe
|Start Location={{Location|Tavnazian Safehold|H-9}}
|Description= N/a
|Description= N/a
|Fame= San d'Oria
|Fame= San d'Oria
|FLevel= 1
|Fame Level= 1
|Quest Reqs= [[Paladin]]<br>Key Item alpha
|Quest Reqs= [[Paladin]] Lvl. 15<br>{{KeyItem}}[[Adventurer's Certificate]]
|Item Reqs=[[Pebble]]<br>Chocobo Feather
|Item Reqs=[[Onion Sword]]<br>[[Chocobo Feather]]
|Level= 50
|Level= 50
|Repeatable= no
|Repeatable= no
|Previous= [[Nothings]]
|Previous= Last Quest Link{{!}}Last Quest Name
|Next= [[More Somethings]]
|Next= Next Quest Link{{!}}Next Quest Name
|Title= Some Random Title
|Title=Lord of the Test Quest
|Reward= [[Samurai]]<br>[[Ninja]]
|Reward=[[Pebble]]<br>[[Blue Chip]]<br>1,000 [[Gil]]
}}
}}


<pre>{{Quest Header
===Documentation===
|Expansion= [[Chains of Promathia]]
 
|Start= [[Prishe]] [[Tavnazian Safehold]]
<!--*Parameters are self explanatory, if there is no answer to a field or it's "None", simply leave it blank.-->
|Description= N/a
|Fame= S
|FLevel= 1
|Quest Reqs= [[Paladin]]
|Level= 50
|Repeatable= no
|Previous= [[Nothings]]
|Next= [[More Somethings]]
|Title= Some Random Title
|Reward= [[Samurai]]
[[Ninja]]
}}</pre>


*Parameters are self explanatory, if there is no answer to a field or it's "None", simply leave it blank.
*'''Quest Name''' (optional): Name of the quest. If not given, will take the page name.  
*The Expansion parameter can use nicknames:
*'''Expansion''' (optional): Expansion the Quest was shipped with. If not given, the row will not be displayed. The Expansion parameter can use nicknames:
:'''<span style="font-family:monospace;">RotZ, RoZ, Zilart, Rise of Zilart or Rise of the Zilart</span>''' will all display as Rise of the Zilart.
**'''<span style="font-family:monospace;">RotZ, RoZ, Zilart, Rise of Zilart or Rise of the Zilart</span>''' will all display as Rise of the Zilart.
:'''<span style="font-family:monospace;">Promathia, CoP, or Chains of Promathia</span>''' will all display as Chains of Promathia.  
**'''<span style="font-family:monospace;">Promathia, CoP, or Chains of Promathia</span>''' will all display as Chains of Promathia.  
:'''<span style="font-family:monospace;">ToAU, TAU, ToA, or Treasures of Aht Urhgan</span>''' will all display as Treasures of Aht Urhgan.  
**'''<span style="font-family:monospace;">ToAU, TAU, ToA, or Treasures of Aht Urhgan</span>''' will all display as Treasures of Aht Urhgan.  
:'''<span style="font-family:monospace;">WotG, WoG, WG, or Wings of the Goddess</span>''' will all display as Wings of the Goddess.
**'''<span style="font-family:monospace;">WotG, WoG, WG, or Wings of the Goddess</span>''' will all display as Wings of the Goddess.
:'''<span style="font-family:monospace;">Adoulin will display as Seekers of Adoulin.
**'''<span style="font-family:monospace;">Adoulin</span>''' will display as Seekers of Adoulin.
:'''<span style="font-family:monospace;">A, or Abyssea</span>''' will all display as Abyssea.
**'''<span style="font-family:monospace;">A, or Abyssea</span>''' will all display as Abyssea.
*Valid Fame areas: '''<span style="font-family:monospace;">Aht Urhgan (AU)</span>''', '''<span style="font-family:monospace;">Bastok (B)</span>''', '''<span style="font-family:monospace;">Jeuno (J)</span>''', '''<span style="font-family:monospace;">Kazham (K)</span>''', '''<span style="font-family:monospace;">Other (O)</span>''', '''<span style="font-family:monospace;">Outlands (OT)</span>''', '''<span style="font-family:monospace;">Rabao (Rabao)</span>''', '''<span style="font-family:monospace;">San d'Oria (S)</span>''', '''<span style="font-family:monospace;">Windurst (W)</span>''', '''<span style="font-family:monospace;">Norg (N)</span>'''.
*'''Start''' and '''Start Location''' (mandatory): Will display {{Information Needed}} 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''' (mandatory): Quest Description as displayed in the Quest log. Will display {{Information Needed}} if left blank.
*'''Fame''' (mandatory): Fame area or none. Will display {{Information Needed}} if left blank.
**Valid Fame areas: '''<span style="font-family:monospace;">Aht Urhgan (AU)</span>''', '''<span style="font-family:monospace;">Bastok (B)</span>''', '''<span style="font-family:monospace;">Jeuno (J)</span>''', '''<span style="font-family:monospace;">Kazham (K)</span>''', '''<span style="font-family:monospace;">Other (O)</span>''', '''<span style="font-family:monospace;">Outlands (OT)</span>''', '''<span style="font-family:monospace;">Rabao (Rabao)</span>''', '''<span style="font-family:monospace;">San d'Oria (S)</span>''', '''<span style="font-family:monospace;">Windurst (W)</span>''', '''<span style="font-family:monospace;">Norg (N)</span>''', '''<span style="font-family:monospace;">None (none)</span>'''.
::* Abyssea zones may be added in the following manner: '''<span style="font-family:monospace;">Abyssea - Altepa (aalt)</span>''', '''<span style="font-family:monospace;">Abyssea - Attohwa (aatt)</span>''', '''<span style="font-family:monospace;">Abyssea - Grauberg (agra)</span>''', '''<span style="font-family:monospace;">Abyssea - Konschtat (akon)</span>''', '''<span style="font-family:monospace;">Abyssea - La Theine (alth)</span>''', '''<span style="font-family:monospace;">Abyssea - Misareaux (amis)</span>''', '''<span style="font-family:monospace;">Abyssea - Tahrongi (atah)</span>''', '''<span style="font-family:monospace;">Abyssea - Uleguerand (aule)</span>''', '''<span style="font-family:monospace;">Abyssea - Vunkerl (avun)</span>'''.
::* Abyssea zones may be added in the following manner: '''<span style="font-family:monospace;">Abyssea - Altepa (aalt)</span>''', '''<span style="font-family:monospace;">Abyssea - Attohwa (aatt)</span>''', '''<span style="font-family:monospace;">Abyssea - Grauberg (agra)</span>''', '''<span style="font-family:monospace;">Abyssea - Konschtat (akon)</span>''', '''<span style="font-family:monospace;">Abyssea - La Theine (alth)</span>''', '''<span style="font-family:monospace;">Abyssea - Misareaux (amis)</span>''', '''<span style="font-family:monospace;">Abyssea - Tahrongi (atah)</span>''', '''<span style="font-family:monospace;">Abyssea - Uleguerand (aule)</span>''', '''<span style="font-family:monospace;">Abyssea - Vunkerl (avun)</span>'''.
**FLevel = Fame Level required from that area.
*'''Fame Level''' (mandatory unless Fame is ''none''): Fame Level required in the ''Fame'' area to trigger the quest.  
*"Level" refers to any level restriction (as a number) keep blank if none.
 
*Starting NPC/Zone format: '''<span style="font-family:monospace;"><nowiki>[[NPC]], [[Zone]] - (A-1)</nowiki></span>'''
 
**If you zone into a particular area for cutscene: '''<span style="font-family:monospace;"><nowiki>[[Zone]]</nowiki></span>'''
*Level refers to any level restriction (as a number) keep blank if none.
 
*Previous and Next refers to the name of the corresponding quest (case-sensitive).
*Previous and Next refers to the name of the corresponding quest (case-sensitive).
**If an alternate name must be specified for Previous/Next (that isn't the name of the article), use the <nowiki>{{!}}</nowiki> template as a pipe | separator.
**If an alternate name must be specified for Previous/Next (that isn't the name of the article), use the <nowiki>{{!}}</nowiki> template as a pipe | separator.
::Example: Name of quest is "ABC + DEF" but corresponding wiki page is found at "ABC and DEF" then you would use: '''<span style="font-family:monospace;"><nowiki>ABC and DEF{{!}}ABD + DEF</nowiki></span>'''
::Example: Name of quest is "The greatest Quest ever" but corresponding wiki page is found at "Great_Quest" then you would use: '''<span style="font-family:monospace;"><nowiki>Great_Quest{{!}}The greatest Quest ever</nowiki></span>'''
*Categories are automatically added accordingly with this template.
*Categories are automatically added accordingly with this template.

Revision as of 12:12, 25 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= N/a
|Fame= San d'Oria
|Fame Level= 1
|Quest Reqs= [[Paladin]] Lvl. 15<br>{{KeyItem}}[[Adventurer's Certificate]]
|Item Reqs=[[Onion Sword]]<br>[[Chocobo Feather]]
|Level= 50
|Repeatable= no
|Previous= Last Quest Link{{!}}Last Quest Name
|Next= Next Quest Link{{!}}Next Quest Name
|Title=Lord of the Test Quest
|Reward=[[Pebble]]<br>[[Blue Chip]]<br>1,000 [[Gil]]
}}

Example

Secrets of San d'Oria
Required Fame San d'Oria Fame Level: 1
Level Restriction: Level 50
Starting NPC PrisheTavnazian Safehold (H-9)
Pack Chains of Promathia
Title Lord of the Test Quest
Repeatable No
Description N/a
← Previous Quest Next Quest →
Last Quest Name Next Quest Name
Requirements
Paladin Lvl. 15
Key ItemAdventurer's Certificate

Onion Sword
Chocobo Feather
Rewards
Pebble
Blue Chip
1,000 Gil


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 can use nicknames:
    • RotZ, RoZ, Zilart, Rise of Zilart or Rise of the Zilart will all display as Rise of the Zilart.
    • Promathia, CoP, or Chains of Promathia will all display as Chains of Promathia.
    • ToAU, TAU, ToA, or Treasures of Aht Urhgan will all display as Treasures of Aht Urhgan.
    • WotG, WoG, WG, or Wings of the Goddess will all display as Wings of the Goddess.
    • Adoulin will display as Seekers of Adoulin.
    • A, or Abyssea will all display as Abyssea.
  • Start and Start Location (mandatory): Will display Information Needed 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 (mandatory): Quest Description as displayed in the Quest log. Will display Information Needed if left blank.
  • Fame (mandatory): Fame area or none. Will display Information Needed if left blank.
    • Valid Fame areas: Aht Urhgan (AU), Bastok (B), Jeuno (J), Kazham (K), Other (O), Outlands (OT), Rabao (Rabao), San d'Oria (S), Windurst (W), Norg (N), None (none).
  • Abyssea zones may be added in the following manner: Abyssea - Altepa (aalt), Abyssea - Attohwa (aatt), Abyssea - Grauberg (agra), Abyssea - Konschtat (akon), Abyssea - La Theine (alth), Abyssea - Misareaux (amis), Abyssea - Tahrongi (atah), Abyssea - Uleguerand (aule), Abyssea - Vunkerl (avun).
  • Fame Level (mandatory unless Fame is none): Fame Level required in the Fame area to trigger the quest.


  • Level refers to any level restriction (as a number) keep blank if none.
  • Previous and Next refers to the name of the corresponding quest (case-sensitive).
    • If an alternate name must be specified for Previous/Next (that isn't the name of the article), use the {{!}} template as a pipe | separator.
Example: Name of quest is "The greatest Quest ever" but corresponding wiki page is found at "Great_Quest" then you would use: Great_Quest{{!}}The greatest Quest ever
  • Categories are automatically added accordingly with this template.