Template:Quest: Difference between revisions

From HorizonXI Wiki
(testing a different template)
Tag: Reverted
(undoing testing)
Tag: Manual revert
Line 1: Line 1:
[[Category:Templates/Headers|{{PAGENAME}}]]
<includeonly>{{Tocright}}
<includeonly>[[category:Quests]]__NOTOC__
{| width="50%"
<div style="display: flex; flex-wrap: wrap; gap: 1rem; max-width: 100%;">
|-
<div style="flex: 1; min-width: 380px; max-width: 525px;">
{{#if: {{{Quest Name|}}}|
{| class="bdrwhite thwhite" style="background: #eef4f9; text-align:left; width: 100%;" cellpadding="3" cellspacing="1"
! width="100px" class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}
! style="background: #57879d; text-align:center;" colspan="2"| {{PAGENAME}}
{{!}}class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}}}}
|- style="color: #565657"
|-
|style="background: #E2EDF7; text-align:center; width: 30%;"|Required Fame
{{#if:{{{startnpc|}}}|
|{{#switch: {{lc: {{{Fame}}}}}|
! width="100px" class="infobox-quest-header horizon-table"{{!}} Start NPC
au| aht urhgan=[[Category:Aht Urhgan Quests]][[:Category:Aht Urhgan Quests|Aht Urhgan]] Fame Level:|
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{startnpc}}}}}
b| bastok=[[Category:Bastok Quests]][[:Category:Bastok Quests|Bastok]] Fame Level:|
|-
j| jeuno=[[Category:Jeuno Quests]][[:Category:Jeuno Quests|Jeuno]] Fame Level:|
{{#if:{{{requirements|}}}|
o| other=[[Category:Other Quests]][[:Category:Other Quests|Other]] Fame Level:|
!class="infobox-quest-header horizon-table"{{!}} Requirements
ot| outlands=[[Category:Outlands Quests]][[:Category:Outlands Quests|Outlands]] Fame Level:|
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{requirements}}}}}
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:|
{{#if:{{{items|}}}|
n| norg=[[Category:Outlands Quests]][[Category:Norg Quests]][[:Category:Norg Quests|Norg]] Fame Level:|
!class="infobox-quest-header horizon-table"{{!}} Items Needed
k| kazham=[[Category:Outlands Quests]][[Category:Kazham Quests]][[:Category:Kazham Quests|Kazham]] Fame Level:|
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{items}}}}}
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: {{{Fame|}}}|{{#if: {{{FLevel|}}}| {{{FLevel}}}|''Unknown''}}}} {{#switch: {{lc:{{{Repeatable}}}}}| y| yes=[[Category:Repeatable Quests|{{PAGENAME}}]]}}
|- style="color: #565657"
| style="background: #E2EDF7; text-align:center;" |Level Restriction:
|{{#if: {{{Level|}}}|{{#switch: {{{Level}}}| N/A| None=None| {{{Level}}}=Level {{{Level}}}}}|None}}
|- style="color: #565657"
| style="background: #E2EDF7; text-align:center;" |Starting NPC
|{{#if: {{{Start|}}} | {{{Start}}} | N/A}}
|- style="color: #565657"
| style="background: #E2EDF7; text-align:center;" |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}}
|- style="color: #565657"
| style="background: #E2EDF7; text-align:center;" |Title
|{{#if: {{{Title|}}} | {{{Title}}} | None}}
|- style="color: #565657"
| style="background: #E2EDF7; text-align:center;" |Repeatable
|{{#switch: {{lc:{{{Repeatable}}}}}| y| yes=''Yes'' | af| mem=''Yes, after [[Memory reset]]'' | #default=''No''}}
|- style="color: #565657"
| style="background: #E2EDF7; text-align:center;" |Description
|{{#if: {{{Description|}}} | {{{Description}}} | }}
|}
</div>
<div style="flex: 1; min-width: 380px; max-width: 525px;">
{| class="bdrwhite thwhite" style="background: #eef4f9; text-align:center; width: 100%; margin: 0;" cellpadding="3" cellspacing="1"
! style="background:#57879d; width: 50%;" colspan="1"| Previous Quest
! style="background:#57879d; width: 50%;" colspan="1"| Next Quest
|-
|-
| {{#if: {{{Previous|}}} | {{{Previous}}} | None}}
{{#if:{{{title|}}}|
| {{#if: {{{Next|}}} | {{{Next}}} | None}}
!class="infobox-quest-header horizon-table"{{!}} Title Granted
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{title}}}}}
|-
|-
{{#if: {{{Quest Reqs}}} |
{{#if:{{{repeatable|}}}|
! style="background: #57879d; color: #FFFFFF;" colspan="2"{{!}} Requirements
!class="infobox-quest-header horizon-table"{{!}} Repeatable
{{!}}-
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{repeatable}}}}}
{{!}}style="text-align: left" colspan="2"{{!}}{{#if: {{{Quest Reqs}}} |{{{Quest Reqs}}}<br />|}} {{#if: {{{Item Reqs|}}} | {{{Item Reqs}}} | }}
{{!}}-|
{{#if: {{{Item Reqs}}} |
! style="background: #57879d; color: #FFFFFF;" colspan="2"{{!}} Requirements
{{!}}-
{{!}}style="text-align: left" colspan="2"{{!}}{{#if: {{{Quest Reqs}}} |{{{Quest Reqs}}}<br />|}} {{#if: {{{Item Reqs}}} | {{{Item Reqs}}} | }}
{{!}}-}}}}
! style="background: #57879d;" colspan="2"| Rewards
|-
|-
|style="text-align: left" colspan="2"|{{#if: {{{Reward|}}} | {{{Reward}}} | None }}
{{#if:{{{reward|}}}|
!class="infobox-quest-header horizon-table"{{!}} Reward
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{reward}}}}}
|-
|-
{{#if:{{{description|}}}|
!class="infobox-quest-header horizon-table"{{!}} Description
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{description}}}}}
|}
|}
</div>
{{#if:{{{previous|}}}{{{next|}}}|
</div>
{{{!}} width="50%"
</includeonly>
{{!}}- class="infobox-quest-header horizon-table"
 
!width="50%" style="text-align:left;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
 
{{!}}- class="infobox-quest-field horizon-table"
<noinclude>
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
<pre>{{Quest Header
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
|Expansion= [[Chains of Promathia]]
{{!}}}
|Start= [[Prishe]] [[Tavnazian Safehold]]
}}
|Description= N/a
{{#if:{{{cutscenes|}}}
|Fame= S
{{{!}} width=50%" class="mw-collapsible mw-collapsed"
|FLevel= 1
{{!}}- class="infobox-quest-cutscenes-header"
|Quest Reqs= [[Paladin]]
!colspan="2" class="mw-collapsible-content"{{!}}Replay Cutscenes
|Level= 50
{{{cutscenes}}}
|Repeatable= no
{{!}}}
|Previous= [[Nothings]]
}}
|Next= [[More Somethings]]
</includeonly><noinclude>
|Title= Some Random Title
[[Category:Templates|{{PAGENAME}}]]
|Reward= [[Samurai]]
==Usage==
[[Ninja]]
<pre>
}}</pre></noinclude>
{{Quest
 
| startnpc =  
 
| requirements =
 
| items =  
 
| title =  
<noinclude>
| repeatable =  
{{Quest Header
| reward =  
|Expansion= [[Chains of Promathia]]
| previous =  
|Start= [[Prishe]] [[Tavnazian Safehold]]
| next =  
|Description= N/a
| cutscenes =  
|Fame= S
| description =
|FLevel= 1
{{Quest/Cutscene|<name>|<NPC and location>}}
|Quest Reqs= [[Paladin]]
|Level= 50
|Repeatable= no
|Previous= [[Nothings]]
|Next= [[More Somethings]]
|Title= Some Random Title
|Reward= [[Samurai]]
[[Ninja]]
}}
}}
</pre>
''See the [[Template talk:Quest#Example|talk page]] for an example of this template in use.
==See Also==
*[[Template:Quest/Cutscene]]
</noinclude>
</noinclude>
*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.

Revision as of 13:35, 2 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.

See Also