Template:Quest: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Spiffly No edit summary |
imported>Aramachus added details to preview only documentation and a full example to the page |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
<includeonly><onlyinclude><!-- |
||
{| width="50%" |
|||
Cheat sheet that is only visible during preview |
|||
|- |
|||
-->{{Preview Only Infobox| |
|||
{{#if: {{{Quest Name|}}}| |
|||
<center>'''PLEASE USE THE TEMPLATE "Template:Quest Header"'''</center> |
|||
! width="100px" 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. |
|||
{{!}}class="infobox-quest-header horizon-table"{{!}} {{{PAGENAME}}}}} |
|||
|- |
|||
:;Best Practices: |
|||
{{#if:{{{startnpc|}}}| |
|||
:#Start (NPC name) '''without''' link brackets, e.g.: <nowiki>| Start = Shattoto</nowiki> instead of <nowiki>| Start = [[Shatotto]]</nowiki>. |
|||
! width="100px" class="infobox-quest-header horizon-table"{{!}} Start NPC |
|||
:#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> |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{startnpc}}}}} |
|||
:#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. |
|||
|- |
|||
:#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>. |
|||
{{#if:{{{requirements|}}}| |
|||
}}<!-- |
|||
!class="infobox-quest-header horizon-table"{{!}} Requirements |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{requirements}}}}} |
|||
-->{{Quest Header|nd |
|||
|- |
|||
| Quest Name = |
|||
{{#if:{{{items|}}}| |
|||
| Expansion = |
|||
!class="infobox-quest-header horizon-table"{{!}} Items Needed |
|||
| Start = {{{startnpc|}}} |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{items}}}}} |
|||
| Start Location = |
|||
|- |
|||
| Description = |
|||
{{#if:{{{title|}}}| |
|||
| Fame = |
|||
!class="infobox-quest-header horizon-table"{{!}} Title Granted |
|||
| Fame Level = |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{title}}}}} |
|||
| Requirements = {{{requirements|}}} |
|||
|- |
|||
| Items Needed = {{{items|}}} |
|||
{{#if:{{{repeatable|}}}| |
|||
| Level = |
|||
!class="infobox-quest-header horizon-table"{{!}} Repeatable |
|||
| Title = {{{title|}}} |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{repeatable}}}}} |
|||
| Repeatable = {{{repeatable|}}} |
|||
|- |
|||
| Rewards = {{{reward|}}} |
|||
| Previous = {{{previous|}}} |
|||
!class="infobox-quest-header horizon-table"{{!}} Reward |
|||
| Next = {{{next|}}} |
|||
{{!}}class="infobox-quest-field horizon-table"{{!}} {{{reward}}}}} |
|||
<!--| ??? = {{{cutscenes|}}} --> |
|||
|- |
|||
}}</onlyinclude></includeonly> |
|||
{{#if:{{{description|}}}| |
|||
!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;"{{!}} ← Previous Quest {{!}}{{!}} Next Quest → |
|||
{{!}}- 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=[[Lumomo]] [[Windurst Waters]] (F-10 North) |
|||
| startnpc = |
|||
|requirements=[[Windurst]] [[Reputation]] 1<br>Level Cap: 20<br>[[Eco-Warrior (Bastok)]] or [[Eco-Warrior (San d'Oria)]] '''not''' currently active. |
|||
| requirements = |
|||
| |
|items={{KeyItem}}[[Indigested Meat]] |
||
| |
|title=Emerald Exterminator |
||
| |
|repeatable=eco-warrior |
||
|reward=[[Dragon Chronicles]]<br>[[Tale Of The Wandering Heroes]] {{changes}}<br>10,000g {{changes}} |
|||
| reward = |
|||
| |
|previous= |
||
| |
|next= |
||
| |
|cutscenes= |
||
}} |
|||
| description = |
|||
==Walkthrough== |
|||
{{Quest/Cutscene|<name>|<NPC and location>}} |
|||
... |
|||
{{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 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 = |
|||
}} |
}} |
||
</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 =
}}