Template:Quest: Difference between revisions

From HorizonXI Wiki
No edit summary
(added details to preview only documentation and a full example to the page)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Tocright}}
<includeonly><onlyinclude><!--
{| width="50%"
 
|-
Cheat sheet that is only visible during preview
{{#if: {{{Quest Name|}}}|
-->{{Preview Only Infobox|
! width="100px" class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}
<center>'''PLEASE USE THE TEMPLATE "Template:Quest Header"'''</center>
{{!}}class="infobox-quest-header horizon-table"{{!}} {{{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:
! width="100px" class="infobox-quest-header horizon-table"{{!}} Start NPC
:#Start (NPC name) '''without''' link brackets, e.g.: <nowiki>| Start = Shattoto</nowiki> instead of <nowiki>| Start = [[Shatotto]]</nowiki>.
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{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>.
!class="infobox-quest-header horizon-table"{{!}} Requirements
}}<!--
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{requirements}}}}}
 
|-
-->{{Quest Header|nd
{{#if:{{{items|}}}|
| Quest Name =  
!class="infobox-quest-header horizon-table"{{!}} Items Needed
| Expansion =
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{items}}}}}
| Start = {{{startnpc|}}}
|-
| Start Location =
{{#if:{{{title|}}}|
| Description =  
!class="infobox-quest-header horizon-table"{{!}} Title Granted
| Fame =
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{title}}}}}
| Fame Level =
|-
| Requirements = {{{requirements|}}}
{{#if:{{{repeatable|}}}|
| Items Needed = {{{items|}}}
!class="infobox-quest-header horizon-table"{{!}} Repeatable
| Level =
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{repeatable}}}}}
| Title = {{{title|}}}
|-
| Repeatable = {{{repeatable|}}}
{{#if:{{{reward|}}}|
| Rewards = {{{reward|}}}
!class="infobox-quest-header horizon-table"{{!}} Reward
| Previous = {{{previous|}}}
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{reward}}}}}
| Next = {{{next|}}}
|-
<!--| ??? = {{{cutscenes|}}} -->
{{#if:{{{description|}}}|
}}</onlyinclude></includeonly>
!class="infobox-quest-header horizon-table"{{!}} Description
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{description}}}}}
|}
{{#if:{{{previous|}}}{{{next|}}}|
{{{!}} width="50%"
{{!}}- class="infobox-quest-header horizon-table"
!width="50%" style="text-align:left;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
{{!}}- class="infobox-quest-field horizon-table"
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
{{!}}}
}}
{{#if:{{{cutscenes|}}}
{{{!}} width=50%" class="mw-collapsible mw-collapsed"
{{!}}- class="infobox-quest-cutscenes-header"
!colspan="2" class="mw-collapsible-content"{{!}}Replay Cutscenes
{{{cutscenes}}}
{{!}}}
}}
</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


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