Template:Quest: Difference between revisions

From HorizonXI Wiki
(testing a different template)
Tag: Reverted
(added details to preview only documentation and a full example to the page)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Templates/Headers|{{PAGENAME}}]]
<includeonly><onlyinclude><!--
<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: {{{Previous|}}} | {{{Previous}}} | None}}
| {{#if: {{{Next|}}} | {{{Next}}} | None}}
|-
{{#if: {{{Quest 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}}} | }}
{{!}}-|
{{#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 }}
|-
|}
</div>
</div>
</includeonly>


Cheat sheet that is only visible during preview
-->{{Preview Only Infobox|
<center>'''PLEASE USE THE TEMPLATE "Template:Quest Header"'''</center>
:You can start by putting '''<nowiki>{{Quest Header|bp}}</nowiki>''' on the page to see the boilerplate in the preview only window and copy it from there to the page.


<noinclude>
:;Best Practices:
<pre>{{Quest Header
:#Start (NPC name) '''without''' link brackets, e.g.: <nowiki>| Start = Shattoto</nowiki> instead of <nowiki>| Start = [[Shatotto]]</nowiki>.
|Expansion= [[Chains of Promathia]]
:#Start Location needs to use '''Template:Location''': <nowiki>| Start Location = {{Location|...|...}}</nowiki>. Any additional information can be added in the 'Start Location Add' parameter like e.g.: <nowiki>| Start Location Add = [[Timbre Timber Taverns]]</nowiki>
|Start= [[Prishe]] [[Tavnazian Safehold]]
:#Remove explicit standard categorizations like <nowiki>[[Category:Windurst Quests]]</nowiki> from the page since the Template:Quest Header will do that automatically based on the input parameters.
|Description= N/a
:#Oftentimes, there is a separate Template <nowiki>{{Quest/Description}}</nowiki> at the bottom of the page. Take the "summary" entry and put it into the parameter '''<nowiki>| Description</nowiki>'''. You can take the additional information on the place, if available, and put it into the '''<nowiki>| Start Location Add</nowiki>''' parameter. If the corresponding [[:Category:Places of Interest|Place of Interest]] exists, use a link like, e.g. <nowiki>| Start Location Add = [[Boneworkers' Guild (Windurst)]]</nowiki>.
|Fame= S
}}<!--
|FLevel= 1
|Quest Reqs= [[Paladin]]
|Level= 50
|Repeatable= no
|Previous= [[Nothings]]
|Next= [[More Somethings]]
|Title= Some Random Title
|Reward= [[Samurai]]
[[Ninja]]
}}</pre></noinclude>


-->{{Quest Header|nd
| Quest Name =
| Expansion =
| Start = {{{startnpc|}}}
| Start Location =
| Description =
| Fame =
| Fame Level =
| Requirements = {{{requirements|}}}
| Items Needed = {{{items|}}}
| Level =
| Title = {{{title|}}}
| Repeatable = {{{repeatable|}}}
| Rewards = {{{reward|}}}
| Previous = {{{previous|}}}
| Next = {{{next|}}}
<!--| ??? = {{{cutscenes|}}} -->
}}</onlyinclude></includeonly>
==Usage==


Has been replaced by [[:Template:Quest Header]]. This template exists for compatibility reasons so pages which use [[:Template:Quest]] don't break.


===Example===
The Template:Quest version of Eco-Warrior Windurst:


<noinclude>
<pre>
[[Category:Quests]][[Category:Windurst Quests]]
{{Quest
|startnpc=[[Lumomo]] [[Windurst Waters]] (F-10 North)
|requirements=[[Windurst]] [[Reputation]] 1<br>Level Cap: 20<br>[[Eco-Warrior (Bastok)]] or [[Eco-Warrior (San d'Oria)]] '''not''' currently active.
|items={{KeyItem}}[[Indigested Meat]]
|title=Emerald Exterminator
|repeatable=eco-warrior
|reward=[[Dragon Chronicles]]<br>[[Tale Of The Wandering Heroes]] {{changes}}<br>10,000g {{changes}}
|previous=
|next=
|cutscenes=
}}
==Walkthrough==
...
{{Quest/Description
|client=[[Lumomo]] (Timbre Timbers Tavern, [[Windurst Waters]])
|summary=Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
}}
</pre>
 
becomes
 
<pre>
{{Quest Header
{{Quest Header
|Expansion= [[Chains of Promathia]]
| Quest Name = Eco-Warrior (Windurst)
|Start= [[Prishe]] [[Tavnazian Safehold]]
| Expansion =  
|Description= N/a
| Start = Lumomo
|Fame= S
| Start Location = {{Location|Windurst Waters|map=North|F-10}}
|FLevel= 1
| Start Location Add = [[Timbre Timbers Tavern]]
|Quest Reqs= [[Paladin]]
| Description = Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
|Level= 50
| Fame = Windurst
|Repeatable= no
| Fame Level = 1
|Previous= [[Nothings]]
| Type =  
|Next= [[More Somethings]]
| Level =  
|Title= Some Random Title
| Requirements = Level Cap: 20<br>[[Eco-Warrior (Bastok)]] or [[Eco-Warrior (San d'Oria)]] '''not''' currently active.
|Reward= [[Samurai]]
| Items Needed = {{KeyItem}}[[Indigested Meat]]
[[Ninja]]
| Repeatable = eco-warrior
| HAAP =
| Title = Emerald Exterminator
| Rewards = [[Dragon Chronicles]]<br>[[Tale Of The Wandering Heroes]] {{changes}}<br>10,000g {{changes}}
| Previous =
| Next =
}}
}}
</noinclude>
</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.

Latest revision as of 16:39, 28 August 2024

Usage

Has been replaced by Template:Quest Header. This template exists for compatibility reasons so pages which use Template:Quest don't break.

Example

The Template:Quest version of Eco-Warrior Windurst:

[[Category:Quests]][[Category:Windurst Quests]]
{{Quest
|startnpc=[[Lumomo]] [[Windurst Waters]] (F-10 North) 
|requirements=[[Windurst]] [[Reputation]] 1<br>Level Cap: 20<br>[[Eco-Warrior (Bastok)]] or [[Eco-Warrior (San d'Oria)]] '''not''' currently active.
|items={{KeyItem}}[[Indigested Meat]]
|title=Emerald Exterminator
|repeatable=eco-warrior
|reward=[[Dragon Chronicles]]<br>[[Tale Of The Wandering Heroes]] {{changes}}<br>10,000g {{changes}}
|previous=
|next=
|cutscenes=
}}
==Walkthrough==
...
{{Quest/Description
|client=[[Lumomo]] (Timbre Timbers Tavern, [[Windurst Waters]])
|summary=Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
}}

becomes

{{Quest Header
| Quest Name = Eco-Warrior (Windurst)
| Expansion = 
| Start = Lumomo
| Start Location = {{Location|Windurst Waters|map=North|F-10}}
| Start Location Add = [[Timbre Timbers Tavern]]
| Description = Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
| Fame = Windurst
| Fame Level = 1
| Type = 
| Level = 
| Requirements = Level Cap: 20<br>[[Eco-Warrior (Bastok)]] or [[Eco-Warrior (San d'Oria)]] '''not''' currently active.
| Items Needed = {{KeyItem}}[[Indigested Meat]]
| Repeatable = eco-warrior
| HAAP = 
| Title = Emerald Exterminator
| Rewards = [[Dragon Chronicles]]<br>[[Tale Of The Wandering Heroes]] {{changes}}<br>10,000g {{changes}}
| Previous = 
| Next = 
}}