Template:Quest: Difference between revisions

From HorizonXI Wiki
No edit summary
(added details to preview only documentation and a full example to the page)
 
(11 intermediate revisions by 2 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
{{#if: {{{Quest Name|}}}|
-->{{Preview Only Infobox|
! width="100px" class="infobox-quest-header"{{!}} {{{PAGENAME}}
<center>'''PLEASE USE THE TEMPLATE "Template:Quest Header"'''</center>
{{!}}class="infobox-quest-header"{{!}} {{{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"{{!}} Start NPC
:#Start (NPC name) '''without''' link brackets, e.g.: <nowiki>| Start = Shattoto</nowiki> instead of <nowiki>| Start = [[Shatotto]]</nowiki>.
{{!}}class="infobox-quest-field"{{!}} {{{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"{{!}} Requirements
}}<!--
{{!}}class="infobox-quest-field"{{!}} {{{requirements}}}}}
 
|-
-->{{Quest Header|nd
{{#if:{{{items|}}}|
| Quest Name =
!class="infobox-quest-header"{{!}} Items Needed
| Expansion =
{{!}}class="infobox-quest-field"{{!}} {{{items}}}}}
| Start = {{{startnpc|}}}
|-
| Start Location =
{{#if:{{{title|}}}|
| Description =  
!class="infobox-quest-header"{{!}} Title Granted
| Fame =
{{!}}class="infobox-quest-field"{{!}} {{{title}}}}}
| Fame Level =
|-
| Requirements = {{{requirements|}}}
{{#if:{{{repeatable|}}}|
| Items Needed = {{{items|}}}
!class="infobox-quest-header"{{!}} Repeatable
| Level =
{{!}}class="infobox-quest-field"{{!}} {{{repeatable}}}}}
| Title = {{{title|}}}
|-
| Repeatable = {{{repeatable|}}}
{{#if:{{{reward|}}}|
| Rewards = {{{reward|}}}
!class="infobox-quest-header"{{!}} Reward
| Previous = {{{previous|}}}
{{!}}class="infobox-quest-field"{{!}} {{{reward}}}}}
| Next = {{{next|}}}
|-
<!--| ??? = {{{cutscenes|}}} -->
{{#if:{{{description|}}}|
}}</onlyinclude></includeonly>
!class="infobox-quest-header"{{!}} Description
==Usage==
{{!}}class="infobox-quest-field"{{!}} {{{description}}}}}
 
|}
Has been replaced by [[:Template:Quest Header]]. This template exists for compatibility reasons so pages which use [[:Template:Quest]] don't break.
{{#if:{{{previous|}}}{{{next|}}}|
 
{{{!}} width="50%" cellpadding="3" cellspacing="3"
===Example===
{{!}}- class="infobox-quest-header"
The Template:Quest version of Eco-Warrior Windurst:
!width="50%" style="text-align:left;"{{!}} &larr; Previous Quest {{!}}{{!}} Next Quest &rarr;
 
{{!}}- class="infobox-quest-field"
<pre>
{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''None''}}
[[Category:Quests]][[Category:Windurst Quests]]
{{!}}style="text-align:right"{{!}} {{#if:{{{next|}}}|{{{next}}}|''None''}}
{{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 =  
| description =
| Level =  
{{Quest/Cutscene|<name>|<NPC and location>}}
| 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]]
</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 = 
}}