Template:Quest: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Spiffly testing a different template |
imported>Spiffly undoing testing |
||
| Line 1: | Line 1: | ||
<includeonly>{{Tocright}} |
|||
[[Category:Templates/Headers|{{PAGENAME}}]] |
|||
{| width="50%" |
|||
<includeonly>[[category:Quests]]__NOTOC__ |
|||
<div style="display: flex; flex-wrap: wrap; gap: 1rem; max-width: 100%;"> |
|||
<div style="flex: 1; min-width: 380px; max-width: 525px;"> |
|||
{| class="bdrwhite thwhite" style="background: #eef4f9; text-align:left; width: 100%;" cellpadding="3" cellspacing="1" |
|||
! style="background: #57879d; text-align:center;" colspan="2"| {{PAGENAME}} |
|||
|- style="color: #565657" |
|||
|style="background: #E2EDF7; text-align:center; width: 30%;"|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: {{{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: {{{Quest Name|}}}| |
|||
! width="100px" class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}} |
|||
| {{#if: {{{Next|}}} | {{{Next}}} | None}} |
|||
{{!}}class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}}}} |
|||
|- |
|- |
||
{{#if: |
{{#if:{{{startnpc|}}}| |
||
! width="100px" class="infobox-quest-header horizon-table"{{!}} Start NPC |
|||
! style="background: #57879d; color: #FFFFFF;" colspan="2"{{!}} Requirements |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{startnpc}}}}} |
|||
{{!}}- |
|||
{{!}}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 |
|||
|- |
|- |
||
{{#if:{{{requirements|}}}| |
|||
|style="text-align: left" colspan="2"|{{#if: {{{Reward|}}} | {{{Reward}}} | None }} |
|||
!class="infobox-quest-header horizon-table"{{!}} Requirements |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{requirements}}}}} |
|||
|- |
|- |
||
{{#if:{{{items|}}}| |
|||
!class="infobox-quest-header horizon-table"{{!}} Items Needed |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{items}}}}} |
|||
|- |
|||
{{#if:{{{title|}}}| |
|||
!class="infobox-quest-header horizon-table"{{!}} Title Granted |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{title}}}}} |
|||
|- |
|||
{{#if:{{{repeatable|}}}| |
|||
!class="infobox-quest-header horizon-table"{{!}} Repeatable |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{repeatable}}}}} |
|||
|- |
|||
{{#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}}}}} |
|||
|} |
|} |
||
{{#if:{{{previous|}}}{{{next|}}}| |
|||
</div> |
|||
{{{!}} width="50%" |
|||
</div> |
|||
{{!}}- class="infobox-quest-header horizon-table" |
|||
</includeonly> |
|||
!width="50%" style="text-align:left;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest → |
|||
{{!}}- class="infobox-quest-field horizon-table" |
|||
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}} |
|||
<noinclude> |
|||
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}} |
|||
<pre>{{Quest Header |
|||
{{!}}} |
|||
|Expansion= [[Chains of Promathia]] |
|||
}} |
|||
|Start= [[Prishe]] [[Tavnazian Safehold]] |
|||
{{#if:{{{cutscenes|}}} |
|||
|Description= N/a |
|||
{{{!}} width=50%" class="mw-collapsible mw-collapsed" |
|||
|Fame= S |
|||
{{!}}- class="infobox-quest-cutscenes-header" |
|||
|FLevel= 1 |
|||
!colspan="2" class="mw-collapsible-content"{{!}}Replay Cutscenes |
|||
|Quest Reqs= [[Paladin]] |
|||
{{{cutscenes}}} |
|||
|Level= 50 |
|||
{{!}}} |
|||
|Repeatable= no |
|||
}} |
|||
|Previous= [[Nothings]] |
|||
</includeonly><noinclude> |
|||
|Next= [[More Somethings]] |
|||
[[Category:Templates|{{PAGENAME}}]] |
|||
|Title= Some Random Title |
|||
==Usage== |
|||
|Reward= [[Samurai]] |
|||
<pre> |
|||
[[Ninja]] |
|||
{{Quest |
|||
}}</pre></noinclude> |
|||
| startnpc = |
|||
| requirements = |
|||
| items = |
|||
| title = |
|||
| repeatable = |
|||
<noinclude> |
|||
| reward = |
|||
{{Quest Header |
|||
| previous = |
|||
|Expansion= [[Chains of Promathia]] |
|||
| next = |
|||
|Start= [[Prishe]] [[Tavnazian Safehold]] |
|||
| cutscenes = |
|||
|Description= N/a |
|||
| description = |
|||
|Fame= S |
|||
{{Quest/Cutscene|<name>|<NPC and location>}} |
|||
|FLevel= 1 |
|||
|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.