Template:TableQuestLine: Difference between revisions

From HorizonXI Wiki
mNo edit summary
(added documentation)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>|- 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}}}|---|align="center"{{!}}---|{{Location|{{#sub:{{{Zone}}}|2|-2}}|{{{Coordinates}}}}}}}|align="center"{{!}}---}}</onlyinclude></includeonly><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==
==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===
===Example===
<!-- template that uses a dpl table to generate all quests linking to valkurm dunes -->
<!--{{Zone/Quests|{{PAGENAME}}}}-->
{{TableQuestHeader}}
{{TableQuestHeader}}


Line 31: Line 62:


{{TableQuestLine |Name=Yomi Okuri| Type=[[:category:Artifact Armor|AF]] (SAM)| Starter=[[Gilgamesh]]| Zone=[[Norg]]| Coordinates=L-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}}
{{TableMissionHeader}}

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, Map 2 (K-10)

Example

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