Template:TableQuestLine: Difference between revisions
From HorizonXI Wiki
(made code a little more flexible and added map parameter to specify the map of the tooltip) |
(added documentation) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
-->{{#ifeq:{{#sub:{{{Zone}}}|0|1}}<!-- | -->{{#ifeq:{{#sub:{{{Zone}}}|0|1}}<!-- | ||
-->|[<!-- | -->|[<!-- | ||
-->|{{Location|{{#sub:{{{Zone}}}|2|-2}}|{{{Coordinates}}}|map={{{ | -->|{{Location|{{#sub:{{{Zone}}}|2|-2}}|{{{Coordinates}}}|map={{{Map|}}}}}<!-- | ||
-->|{{Location|{{{Zone}}}|{{{Coordinates}}}|map={{{ | -->|{{Location|{{{Zone}}}|{{{Coordinates}}}|map={{{Map|}}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}|align="center"{{!}}---}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]] | -->}}|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=== | ||
| Line 38: | Line 65: | ||
{{TableQuestLine |Name=Stardust| Type=General| Starter=[[Baldric]]| Zone=Metalworks| Coordinates=G-9}} | {{TableQuestLine |Name=Stardust| Type=General| Starter=[[Baldric]]| Zone=Metalworks| Coordinates=G-9}} | ||
{{TableQuestLine |Name= | {{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) |








