Template:TableQuestLine: Difference between revisions

From HorizonXI Wiki
(Created page with "|- BGCOLOR="{{{color|#f9e8e8}}}" |style="padding-left:1ex;"|[[{{{Name|}}}]] |align="center"|{{{Type|}}} |align="center"|{{{Starter|}}} |   {{{Zone|}}} {{{Coordinates|}}}<noinclude>{{PAGENAME}} </noinclude>")
Tag: visualeditor-wikitext
 
(added documentation)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
|- BGCOLOR="{{{color|#f9e8e8}}}"
<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|}}}}}}}
|&nbsp;&nbsp; {{{Zone|}}} {{{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, 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)