Template:Quest: Difference between revisions

From HorizonXI Wiki
(used css classes to style, fixed some errors)
(added details to preview only documentation and a full example to the page)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Tocright}}
<includeonly><onlyinclude><!--
{| class="horizon-infobox infobox-quest infobox-34-66"
 
|-
Cheat sheet that is only visible during preview
{{#if: {{{Quest Name|}}}|
-->{{Preview Only Infobox|
! {{!}} {{PAGENAME}}
<center>'''PLEASE USE THE TEMPLATE "Template:Quest Header"'''</center>
{{!}} {{!}} {{PAGENAME}}}}
: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.
|-
 
{{#if:{{{startnpc|}}}|
:;Best Practices:
! Start NPC
:#Start (NPC name) '''without''' link brackets, e.g.: <nowiki>| Start = Shattoto</nowiki> instead of <nowiki>| Start = [[Shatotto]]</nowiki>.
{{!}} {{{startnpc}}}}}
:#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>
|-
:#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.
{{#if:{{{requirements|}}}|
:#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>.
! Requirements
}}<!--
{{!}} {{{requirements}}}}}
 
|-
-->{{Quest Header|nd
{{#if:{{{items|}}}|
| Quest Name =
! Items Needed
| Expansion =
{{!}} {{{items}}}}}
| Start = {{{startnpc|}}}
|-
| Start Location =
{{#if:{{{title|}}}|
| Description =
! Title Granted
| Fame =
{{!}} {{{title}}}}}
| Fame Level =
|-
| Requirements = {{{requirements|}}}
{{#if:{{{repeatable|}}}|
| Items Needed = {{{items|}}}
! Repeatable
| Level =
{{!}} {{{repeatable}}}}}
| Title = {{{title|}}}
|-
| Repeatable = {{{repeatable|}}}
{{#if:{{{reward|}}}|
| Rewards = {{{reward|}}}
! Reward
| Previous = {{{previous|}}}
{{!}} {{{reward}}}}}
| Next = {{{next|}}}
|-
<!--| ??? = {{{cutscenes|}}} -->
{{#if:{{{description|}}}|
}}</onlyinclude></includeonly>
! Description
{{!}} {{{description}}}}}
|}
<!-- end main box. start previous/next box -->
{{#if:{{{previous|}}}{{{next|}}}|
{<!--open table-->{{!}} class="horizon-infobox infobox-quest  infobox-50-50"
{{!}}-
!style="text-align:left;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
{{!}}-
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
{{!}}<!--close table-->}
}}
<!-- end previous/next box. start cutscene box -->
{{#if:{{{cutscenes|}}}|
{<!--open table-->{{!}} class="horizon-infobox infobox-quest infobox-34-66 mw-collapsible mw-collapsed"
{{!}}- class="infobox-quest-cutscenes-header"
!colspan="2" style="text-align:center;" class="mw-collapsible-content"{{!}} Replay Cutscenes
{{{cutscenes}}}
{{!}}<!--close table-->}
}}
</includeonly><noinclude>
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==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:
<pre>
<pre>
[[Category:Quests]][[Category:Windurst Quests]]
{{Quest
{{Quest
| startnpc =  
|startnpc=[[Lumomo]] [[Windurst Waters]] (F-10 North)
| requirements =
|requirements=[[Windurst]] [[Reputation]] 1<br>Level Cap: 20<br>[[Eco-Warrior (Bastok)]] or [[Eco-Warrior (San d'Oria)]] '''not''' currently active.
| items =  
|items={{KeyItem}}[[Indigested Meat]]
| title =  
|title=Emerald Exterminator
| repeatable =  
|repeatable=eco-warrior
| reward =  
|reward=[[Dragon Chronicles]]<br>[[Tale Of The Wandering Heroes]] {{changes}}<br>10,000g {{changes}}
| previous =  
|previous=
| next =  
|next=
| cutscenes =  
|cutscenes=
| description =
}}
{{Quest/Cutscene|<name>|<NPC and location>}}
==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>
</pre>
''See the [[Template talk:Quest#Example|talk page]] for an example of this template in use.
==See Also==
*[[Template:Quest/Cutscene]]


===Examples===
becomes


{{TestThisTemplate
<pre>
| startnpc = [[Esha'ntarl]] (within Ru'Lude Gardens palace)
{{Quest Header
| requirements = Completion of [[Chains of Promathia]]
| Quest Name = Eco-Warrior (Windurst)
| items = [[Giant Scale]]
| Expansion =
| title = Conqueror of Fate
| Start = Lumomo
| repeatable = No (Can reenter to assist others)
| Start Location = {{Location|Windurst Waters|map=North|F-10}}
| reward = {{KeyItem}} [[Whisper of the Wyrmking]]
| Start Location Add = [[Timbre Timbers Tavern]]
| previous = [[Dawn]]
| Description = Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
| next = [[Shadows of the Departed]]
| Fame = Windurst
| cutscenes =
| Fame Level = 1
{{Quest/Cutscene|<name>|<NPC and location>}}
| 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 =
}}
}}
 
</pre>
</noinclude>

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 = 
}}