Template:Quest: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: Reverted
(added details to preview only documentation and a full example to the page)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Tocright}}
<includeonly><onlyinclude><!--
{| width="50%" cellpadding="3" cellspacing="3"
 
|-
Cheat sheet that is only visible during preview
{| class="bdrwhite thwhite" style="background:#fbecf6; text-align:left; width="100%"
-->{{Preview Only Infobox|
! style="background:#bc73a1; text-align:center;" colspan="100%"| {{#if: {{{Mission Name|}}}|{{{Mission Name}}}|{{PAGENAME}}}}
<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.
{{#if:{{{startnpc|}}}|
 
! width="100px" class="infobox-field-header"{{!}} Start NPC
:;Best Practices:
{{!}}class="infobox-quest-field"{{!}} {{{startnpc}}}}}
:#Start (NPC name) '''without''' link brackets, e.g.: <nowiki>| Start = Shattoto</nowiki> instead of <nowiki>| Start = [[Shatotto]]</nowiki>.
|-
:#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>
{{#if:{{{requirements|}}}|
:#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.
!class="infobox-field-header"{{!}} 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-field"{{!}} {{{requirements}}}}}
}}<!--
|-
 
{{#if:{{{items|}}}|
-->{{Quest Header|nd
!class="infobox-field-header"{{!}} Items Needed
| Quest Name =
{{!}}class="infobox-quest-field"{{!}} {{{items}}}}}
| Expansion =
|-
| Start = {{{startnpc|}}}
{{#if:{{{title|}}}|
| Start Location =
!class="infobox-field-header"{{!}} Title Granted
| Description =  
{{!}}class="infobox-quest-field"{{!}} {{{title}}}}}
| Fame =
|-
| Fame Level =
{{#if:{{{repeatable|}}}|
| Requirements = {{{requirements|}}}
!class="infobox-field-header"{{!}} Repeatable
| Items Needed = {{{items|}}}
{{!}}class="infobox-quest-field"{{!}} {{{repeatable}}}}}
| Level =
|-
| Title = {{{title|}}}
{{#if:{{{reward|}}}|
| Repeatable = {{{repeatable|}}}
!class="infobox-field-header"{{!}} Reward
| Rewards = {{{reward|}}}
{{!}}class="infobox-quest-field"{{!}} {{{reward}}}}}
| Previous = {{{previous|}}}
|}
| Next = {{{next|}}}
{{#if:{{{previous|}}}{{{next|}}}|
<!--| ??? = {{{cutscenes|}}} -->
{{{!}} width="50%" cellpadding="3" cellspacing="3"
}}</onlyinclude></includeonly>
{{!}}- class="infobox-quest-header"
==Usage==
!width="50%" style="text-align:left;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
 
{{!}}- class="infobox-quest-field"
Has been replaced by [[:Template:Quest Header]]. This template exists for compatibility reasons so pages which use [[:Template:Quest]] don't break.
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
 
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
===Example===
{{!}}}
The Template:Quest version of Eco-Warrior Windurst:
 
<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=
}}
}}
{{#if:{{{cutscenes|}}}
==Walkthrough==
{{{!}} width=50%" class="mw-collapsible mw-collapsed" cellpadding="3" cellspacing="3"
...
{{!}}- class="infobox-quest-cutscenes-header"
{{Quest/Description
!colspan="2" class="mw-collapsible-content"{{!}}Replay Cutscenes
|client=[[Lumomo]] (Timbre Timbers Tavern, [[Windurst Waters]])
{{{cutscenes}}}
|summary=Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
{{!}}}
}}
}}
</includeonly><noinclude>
</pre>
[[Category:Templates|{{PAGENAME}}]]
 
==Usage==
becomes
 
<pre>
<pre>
{{Quest
{{Quest Header
| startnpc =  
| Quest Name = Eco-Warrior (Windurst)
| requirements =
| Expansion =
| items =  
| Start = Lumomo
| title =  
| Start Location = {{Location|Windurst Waters|map=North|F-10}}
| repeatable =  
| Start Location Add = [[Timbre Timbers Tavern]]
| reward =  
| Description = Lumomo wants you to exterminate an ecological threat, and bring her evidence of the feat.
| previous =  
| Fame = Windurst
| next =  
| Fame Level = 1
| cutscenes =  
| Type =  
{{Quest/Cutscene|<name>|<NPC and location>}}
| 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>
</pre>
''See the [[Template talk:Quest#Example|talk page]] for an example of this template in use.
==See Also==
*[[Template:Quest/Cutscene]]
*[[Template:Quest/Description]]
</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 = 
}}