Template:TableQuestLine: Difference between revisions

From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus
turning zone and coordinate entries into a location tooltip
imported>Pollychan
added documentation
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
|- BGCOLOR="{{{color|#F2E6CE}}}" class="{{{cssclasses}}}"
<includeonly><onlyinclude>|- BGCOLOR="{{{color|#F2E6CE}}}" class="{{{cssclasses}}}"
|style="padding-left:1ex;"|[[{{{Name|}}}]]
|style="padding-left:1ex;"|{{Link|{{{Name|}}}}}
|align="center"|{{{Type|}}}
|align="center"|{{{Type|}}}
|align="center"|{{{Starter|}}}
|align="center"|{{#ifeq:{{{Starter|}}}|---|---|{{Link|{{{Starter|}}}}}}}
|{{#if:{{{Zone|}}}|{{#ifeq:{{{Zone}}}|---|---|{{Location|{{#sub:{{{Zone}}}|2|-2}}|{{{Coordinates}}}}}}}}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
| {{#if:{{{Zone|}}}|{{#ifeq:{{{Zone}}}|---|align="center"{{!}}---|<!-- cant use the {{Link|...}} template here since it needs to display a tooltip rather than only a link
-->{{#ifeq:{{#sub:{{{Zone}}}|0|1}}<!--
-->|[<!--
-->|{{Location|{{#sub:{{{Zone}}}|2|-2}}|{{{Coordinates}}}|map={{{Map|}}}}}<!--
-->|{{Location|{{{Zone}}}|{{{Coordinates}}}|map={{{Map|}}}}}<!--
-->}}<!--
-->}}|align="center"{{!}}---}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
==Documentation==
*'''name''' - The name of the quest.
*'''type''' - The type of quest, e.g. General, Job, Map, etc.
*'''starter''' - The name of the NPC that starts the quest.
*'''zone''' - The zone the quest is picked up in.
*'''coordinates''' - Coordinates of the NPC that starts the quest.
*'''map''' - ''(Optional)'' Which map the NPC is located on, if the zone has multiple maps.

Please note that this template should be used with the <nowiki>{{{TableQuestHeader}}</nowiki> and <nowiki>{{TableQuestFooter}}</nowiki> tags, as this template is only used to add a line to this table.

==Usage==
As usual, new lines are optional in the editor, and are only used here for readability.
<pre>{{TableQuestLine
| Name = X Marks the Spot
| Type = General
| Starter = [[Despachiaire]]
| Zone= [[Tavnazian Safehold]]
| Coordinates= K-10
| Map = Map 2}}</pre>
{{TableQuestHeader}}
{{TableQuestLine
|Name = X Marks the Spot
| Type = General
| Starter = [[Despachiaire]]
| Zone= [[Tavnazian Safehold]]
| Coordinates= K-10
| Map = Map 2}}
{{TableQuestFooter}}

===Example===
{{TableQuestHeader}}

{{TableQuestLine |Name=An Empty Vessel| Type=[[Jobs|Job]] (BLU)| Starter=[[Waoud]]| Zone=[[Aht Urhgan Whitegate]]| Coordinates=J-10| cssclasses=toau}}

{{TableQuestLine |Name= An Explorer's Footsteps| Type= Map| Starter= [[Abelard]]| Zone= [[Selbina]]| Coordinates= H-9}}

{{TableQuestLine |Name=Bite the Dust| Type=General| Starter=[[Yazan]]| Zone=[[Port Bastok]]| Coordinates=H-6}}

{{TableQuestLine |Name=Valkurm Dunes/Expeditionary Force|EF: Valkurm Dunes| Type=[[Expeditionary Force]]| Starter=---| Zone=---| Coordinates=---}}

{{TableQuestLine |Name=Valkurm Dunes/Garrison| Type=[[Garrison]]| Starter=---| Zone=---| Coordinates=---}}

{{TableQuestLine |Name=Messenger from Beyond| Type=[[:category:Artifact Armor|AF]] (WHM)| Starter=[[Narcheral]]| Zone=[[Northern San d'Oria]]| Coordinates=M-6}}

{{TableQuestLine |Name=Pirate's Chart Quest| Type=Side Quest| Starter=[[Zaldon]]| Zone=[[Selbina]]| Coordinates=H-9}}

{{TableQuestLine |Name=Stardust| Type=General| Starter=[[Baldric]]| Zone=[[Metalworks]]| Coordinates=G-9}}

{{TableQuestLine |Name=Path of the Bard| Type=[[Jobs|Job]] (BRD)| Starter=[[Mertaire]]| Zone=[[Lower Jeuno]]| Coordinates=I-8}}

{{TableQuestLine |Name=Yomi Okuri| Type=[[:category:Artifact Armor|AF]] (SAM)| Starter=[[Gilgamesh]]| Zone=[[Norg]]| Coordinates=L-8}}

{{TableQuestLine |Name=Stardust| Type=General| Starter=[[Baldric]]| Zone=Metalworks| Coordinates=G-9}}

{{TableQuestLine
|Name = X Marks the Spot| Type = General| Starter = [[Despachiaire]]| Zone= [[Tavnazian Safehold]]| Coordinates= K-10 | Map = Map 2}}
<!--
{{TableMissionHeader}}

{{TableMissionLine |Name=Shock! Arrant Abuse of Authority | Nation=[[:Category:A Moogle Kupo d'Etat Missions|Moogle Kupo d'Etat]]| Starter= [[Moogle]]| Zone= [[Upper Jeuno]]| Coordinates=H-8 }}
-->
{{TableQuestFooter}}

Latest revision as of 21:45, 25 September 2025


Documentation

  • name - The name of the quest.
  • type - The type of quest, e.g. General, Job, Map, etc.
  • starter - The name of the NPC that starts the quest.
  • zone - The zone the quest is picked up in.
  • coordinates - Coordinates of the NPC that starts the quest.
  • map - (Optional) Which map the NPC is located on, if the zone has multiple maps.

Please note that this template should be used with the {{{TableQuestHeader}} and {{TableQuestFooter}} tags, as this template is only used to add a line to this table.

Usage

As usual, new lines are optional in the editor, and are only used here for readability.

{{TableQuestLine 
| Name = X Marks the Spot
| Type = General
| Starter = [[Despachiaire]]
| Zone= [[Tavnazian Safehold]]
| Coordinates= K-10 
| Map = Map 2}}
Quest Type Starter Location
X Marks the Spot General [[Despachiaire]] [[Tavnazian Safehold]], [[Tavnazian Safehold/Maps#Map 2|Map 2]] ([[Tavnazian Safehold/Maps#Map 2]])

Example

Quest Type Starter Location
An Empty Vessel Job (BLU) [[Waoud]] [[Aht Urhgan Whitegate]] ([[Aht Urhgan Whitegate/Maps]])
An Explorer's Footsteps Map [[Abelard]] [[Selbina]] ([[Selbina/Maps]])
Bite the Dust General [[Yazan]] [[Port Bastok]] ([[Port Bastok/Maps]])
Valkurm Dunes/Expeditionary Force Expeditionary Force --- ---
Valkurm Dunes/Garrison Garrison --- ---
Messenger from Beyond AF (WHM) [[Narcheral]] [[Northern San d'Oria]] ([[Northern San d'Oria/Maps]])
Pirate's Chart Quest Side Quest [[Zaldon]] [[Selbina]] ([[Selbina/Maps]])
Stardust General [[Baldric]] [[Metalworks]] ([[Metalworks/Maps]])
Path of the Bard Job (BRD) [[Mertaire]] [[Lower Jeuno]] ([[Lower Jeuno/Maps]])
Yomi Okuri AF (SAM) [[Gilgamesh]] [[Norg]] ([[Norg/Maps]])
Stardust General [[Baldric]] Metalworks (G-9
X Marks the Spot General [[Despachiaire]] [[Tavnazian Safehold]], [[Tavnazian Safehold/Maps#Map 2|Map 2]] ([[Tavnazian Safehold/Maps#Map 2]])