Template:TestThisTemplate.dpl: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus test reworking quest header |
imported>Aramachus end testing, cleared template |
||
| (35 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Templates/Headers|{{PAGENAME}}]] |
|||
<includeonly><onlyinclude>[[category:Quests]]__NOTOC__ |
|||
<div class="flex-container"><!-- |
|||
--> |
|||
<div class="flex-container-item-2"> |
|||
{| class="horizon-infobox infobox-quest infobox-34-66" |
|||
|- |
|||
{{#if: {{{Quest Name|}}}| |
|||
! {{!}} {{PAGENAME}} |
|||
{{!}} {{!}} {{PAGENAME}}}} |
|||
|-<!-- |
|||
--> |
|||
{{#if:{{{Fame|}}}| |
|||
! Required Fame |
|||
{{!}}{{#switch: {{lc: {{{Fame}}}}}| |
|||
au| aht urhgan=[[Category:Aht Urhgan Quests]][[:Category:Aht Urhgan Quests|Aht Urhgan]] Fame Level:| |
|||
b| bastok=[[Category:Bastok Quests]][[:Category:Bastok Quests|Bastok]] Fame Level:| |
|||
j| jeuno=[[Category:Jeuno Quests]][[:Category:Jeuno Quests|Jeuno]] Fame Level:| |
|||
o| other=[[Category:Other Quests]][[:Category:Other Quests|Other]] Fame Level:| |
|||
ot| outlands=[[Category:Outlands Quests]][[:Category:Outlands Quests|Outlands]] Fame Level:| |
|||
s| san d'oria=[[Category:San d'Oria Quests]][[:Category:San d'Oria Quests|San d'Oria]] Fame Level:| |
|||
w| windurst=[[Category:Windurst Quests]][[:Category:Windurst Quests|Windurst]] Fame Level:| |
|||
n| norg=[[Category:Outlands Quests]][[Category:Norg Quests]][[:Category:Norg Quests|Norg]] Fame Level:| |
|||
k| kazham=[[Category:Outlands Quests]][[Category:Kazham Quests]][[:Category:Kazham Quests|Kazham]] Fame Level:| |
|||
r| rabao=[[Category:Outlands Quests]][[Category:Rabao Quests]][[:Category:Rabao Quests|Rabao]] Fame Level:| |
|||
a| abyssea=[[Category:Abyssea Quests]][[:Category:Abyssea Quests|Abyssea]] Fame Level:| |
|||
aalt| abyssea - altepa=[[Category:Abyssea Quests]][[Category:Abyssea - Altepa Quests]][[:Category:Abyssea - Altepa Quests|Abyssea - Altepa]] Fame Level:| |
|||
aatt| abyssea - attohwa=[[Category:Abyssea Quests]][[Category:Abyssea - Attohwa Quests]][[:Category:Abyssea - Attohwa Quests|Abyssea - Attohwa]] Fame Level:| |
|||
agra| abyssea - grauberg=[[Category:Abyssea Quests]][[Category:Abyssea - Grauberg Quests]][[:Category:Abyssea - Grauberg Quests|Abyssea - Grauberg]] Fame Level:| |
|||
akon| abyssea - konschtat=[[Category:Abyssea Quests]][[Category:Abyssea - Konschtat Quests]][[:Category:Abyssea - Konschtat Quests|Abyssea - Konschtat]] Fame Level:| |
|||
alth| abyssea - la theine=[[Category:Abyssea Quests]][[Category:Abyssea - La Theine Quests]][[:Category:Abyssea - La Theine Quests|Abyssea - La Theine]] Fame Level:| |
|||
amis| abyssea - misareaux=[[Category:Abyssea Quests]][[Category:Abyssea - Misareaux Quests]][[:Category:Abyssea - Misareaux Quests|Abyssea - Misareaux]] Fame Level:| |
|||
atah| abyssea - tahrongi=[[Category:Abyssea Quests]][[Category:Abyssea - Tahrongi Quests]][[:Category:Abyssea - Tahrongi Quests|Abyssea - Tahrongi]] Fame Level:| |
|||
aule| abyssea - uleguerand=[[Category:Abyssea Quests]][[Category:Abyssea - Uleguerand Quests]][[:Category:Abyssea - Uleguerand Quests|Abyssea - Uleguerand]] 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:| |
|||
#default=}} {{#if: {{{FLevel|}}}| {{{FLevel}}}|''Unknown''}} |
|||
{{!}}-}}<!-- |
|||
--> |
|||
{{#if: {{{Level|}}}| |
|||
! Level Restriction: |
|||
{{!}} {{#switch: {{{Level}}}| N/A| None=None| {{{Level}}}=Level {{{Level}}}}} |
|||
{{!}}-}}<!-- |
|||
--> |
|||
{{#if: {{{Start|}}} | |
|||
! Starting NPC |
|||
{{!}} {{{Start}}} |
|||
{{!}}-}}<!-- |
|||
--> |
|||
{{#if: {{{Expansion|}}}| |
|||
! Pack |
|||
{{!}} {{#switch: {{lc:{{{Expansion}}}}}| chains of promathia| promathia| Chains of Promathia| cop=Chains of Promathia| rise of zilart| rise of the zilart| rotz| zilart| roz=Rise of the Zilart| toau| tau| toa| Treasures of Aht Urhgan| treasures of aht urhgan=Treasures of Aht Urhgan| wotg| wog| wg| Wings of the Goddess| wings of the goddess=Wings of the Goddess| a| Abyssea| abyssea=Abyssea| Seekers of Adoulin| adoulin=Seekers of Adoulin| #default=None}} |
|||
{{!}}-}}<!-- |
|||
--> |
|||
{{#if: {{{Title|}}} | |
|||
! Title |
|||
{{!}} {{{Title}}} |
|||
{{!}}-}}<!-- |
|||
--> |
|||
{{#if:{{{Repeatable|}}}| |
|||
! Repeatable |
|||
{{!}} {{#switch: {{lc:{{{Repeatable}}}}}| y| yes=''Yes''[[Category:Repeatable Quests|{{PAGENAME}}]] | af| mem=''Yes, after [[Memory reset]]'' | #default=''No''}} |
|||
{{!}}-}}<!-- |
|||
--> |
|||
{{#if: {{{Description|}}} | |
|||
! Description |
|||
{{!}} {{{Description}}}}} |
|||
|} |
|||
</div><!-- |
|||
--> |
|||
<div class="flex-container-item-2"> |
|||
<!-- end main box. start previous/next box --> |
|||
{{#if:{{{Previous|}}}{{{Next|}}}| |
|||
{<!--open table-->{{!}} class="horizon-infobox infobox-quest infobox-50-50" style="text-align: center; margin-bottom:0;" |
|||
{{!}}- |
|||
! style="text-align: center;" {{!}} ← Previous Quest |
|||
! style="text-align: center;" {{!}} Next Quest → |
|||
{{!}}- |
|||
{{!}} {{#if:{{{Previous|}}}|{{{Previous}}}|''None''}} |
|||
{{!}} {{#if:{{{Next|}}}|{{{Next}}}|''None''}} |
|||
{{!}}<!--close table-->} |
|||
}}<!-- |
|||
--> |
|||
{{#if:{{{Quest Reqs|}}}{{{Item Reqs|}}}| |
|||
{<!--open table-->{{!}} class="horizon-infobox infobox-quest" style="text-align: center; margin-top:0; margin-bottom:0;" |
|||
! style="text-align:center;" {{!}} Requirements |
|||
{{!}}- |
|||
{{!}}{{#if: {{{Quest Reqs}}} |{{{Quest Reqs}}}<br>|}} {{#if: {{{Item Reqs|}}} | {{{Item Reqs}}} | }} |
|||
{{!}}-| |
|||
{{!}}<!--close table-->} |
|||
}}<!-- |
|||
--> |
|||
{{#if:{{{Reward|}}}| |
|||
{<!--open table-->{{!}} class="horizon-infobox infobox-quest" style="text-align: center; margin-top:0;" |
|||
! style="text-align:center;" {{!}} Rewards |
|||
{{!}}- |
|||
{{!}} {{{Reward}}} |
|||
{{!}}-| |
|||
{{!}}<!--close table-->} |
|||
}} |
|||
</div> |
|||
</div> |
|||
</onlyinclude></includeonly> |
|||
==Usage== |
|||
===Example=== |
|||
{{TestThisTemplate.dpl |
|||
|Expansion= Chains of Promathia |
|||
|Start= [[Prishe]] [[Tavnazian Safehold]] |
|||
|Description= N/a |
|||
|Fame= San d'Oria |
|||
|FLevel= 1 |
|||
|Quest Reqs= [[Paladin]]<br>Key Item alpha |
|||
|Item Reqs=[[Pebble]]<br>Chocobo Feather |
|||
|Level= 50 |
|||
|Repeatable= no |
|||
|Previous= [[Nothings]] |
|||
|Next= [[More Somethings]] |
|||
|Title= Some Random Title |
|||
|Reward= [[Samurai]]<br>[[Ninja]] |
|||
}} |
|||
<pre>{{Quest Header |
|||
|Expansion= [[Chains of Promathia]] |
|||
|Start= [[Prishe]] [[Tavnazian Safehold]] |
|||
|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. |
|||
*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;">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;">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;">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>'''. |
|||
::* 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. |
|||
*"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>''' |
|||
*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. |
|||
::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>''' |
|||
*Categories are automatically added accordingly with this template. |
|||