Difference between revisions of "Template:Questlink"
Jump to navigation
Jump to search
Example in header:
(Added path FATE support) |
|||
Line 16: | Line 16: | ||
|fate-defense = [[File:Defense_FATE_icon.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|FATE: Defense]] | |fate-defense = [[File:Defense_FATE_icon.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|FATE: Defense]] | ||
|fate-collect = [[File:Collection_FATE_icon.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|FATE: Collect Items]] | |fate-collect = [[File:Collection_FATE_icon.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|FATE: Collect Items]] | ||
|fate-path = [[File:FATE-Path.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|FATE: Path]] | |||
|gate = [[File:Npcs_that_initiate_gates_icon1.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|GATE]] | |gate = [[File:Npcs_that_initiate_gates_icon1.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|GATE]] | ||
|eureka-nm = [[File:EurekaNM.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|Eureka: Notorious Monster]] | |eureka-nm = [[File:EurekaNM.png|link=|{{#switch:{{lc:{{{large}}}}}|true=32px|#default=20px}}|Eureka: Notorious Monster]] | ||
Line 36: | Line 37: | ||
|fate-defense = [[File:Defense_FATE_icon.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|FATE: Defense]] | |fate-defense = [[File:Defense_FATE_icon.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|FATE: Defense]] | ||
|fate-collect = [[File:Collection_FATE_icon.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|FATE: Collect Items]] | |fate-collect = [[File:Collection_FATE_icon.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|FATE: Collect Items]] | ||
|fate-path = [[File:FATE-Path.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|FATE: Path]] | |||
|gate = [[File:Npcs_that_initiate_gates_icon1.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|GATE]] | |gate = [[File:Npcs_that_initiate_gates_icon1.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|GATE]] | ||
|eureka-nm = [[File:EurekaNM.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|Eureka: Notorious Monster]] | |eureka-nm = [[File:EurekaNM.png|link=|{{#switch:{{lc:{{{3}}}}}|large=32px|#default=20px}}|Eureka: Notorious Monster]] | ||
Line 62: | Line 64: | ||
:* '''fate-defense''': [[File:Defense_FATE_icon.png|link=|20px|FATE: Defense]]FATE: Defend critical NPCs or resources from enemies to complete the FATE. | :* '''fate-defense''': [[File:Defense_FATE_icon.png|link=|20px|FATE: Defense]]FATE: Defend critical NPCs or resources from enemies to complete the FATE. | ||
:* '''fate-collect''': [[File:Collection_FATE_icon.png|link=|20px|FATE: Collect Items]]FATE: Collect items and turn them in to complete the FATE. | :* '''fate-collect''': [[File:Collection_FATE_icon.png|link=|20px|FATE: Collect Items]]FATE: Collect items and turn them in to complete the FATE. | ||
:* '''fate-path''': [[File:FATE-Path.png|link=|20px|FATE: Path]]FATE: Path | |||
:* '''gate''': [[File:Npcs_that_initiate_gates_icon1.png|link=|20px|GATE]]GATEs, Gold Saucer Active Time Events | :* '''gate''': [[File:Npcs_that_initiate_gates_icon1.png|link=|20px|GATE]]GATEs, Gold Saucer Active Time Events | ||
:* '''eureka-nm''': [[File:EurekaNM.png|link=|20px|Eureka: Notorious Monster]]Notorious Monster FATEs in Eureka | :* '''eureka-nm''': [[File:EurekaNM.png|link=|20px|Eureka: Notorious Monster]]Notorious Monster FATEs in Eureka | ||
Line 109: | Line 112: | ||
{{questlink|fate-collect|Treasure Island}}</pre> | {{questlink|fate-collect|Treasure Island}}</pre> | ||
{{questlink|fate-collect|Treasure Island}} | {{questlink|fate-collect|Treasure Island}} | ||
<pre>{{questlink|type=fate-path|name=The Magitek Is Back}} | |||
{{questlink|fate-path|The Magitek Is Back}}</pre> | |||
{{questlink|fate-path|The Magitek Is Back}} | |||
<pre>{{questlink|type=gate|name=Air Force One}} | <pre>{{questlink|type=gate|name=Air Force One}} | ||
{{questlink|gate|Air Force One}}</pre> | {{questlink|gate|Air Force One}}</pre> |
Revision as of 16:32, 27 May 2021
Description
Use this for inline links to quests in text.
{{questlink|type|name|[large]}}
Parameters
- type
- Parameter 1. Mandatory. Type of quest. Valid values include:
- mainscenario:
Main scenario quests
- main:
Alias of mainscenario
- side:
Side quests
- daily:
Daily quests, mainly used for beast tribes
- repeatable:
Repeatable quests, not necessarily daily, but uses the same icon. Tooltip is different.
- feature:
Feature quests
- repeatablefeature:
Repeatable feature quests, mainly used for quests related to relic weapons.
- repfeature:
Alias of repeatablefeature
- levequest:
Levequests
- fate:
FATEs, Full Active Time Events (Generic)
- fate-enemies:
FATE: Slay multiple enemies to fill the bar and complete the FATE.
- fate-boss:
FATE: Kill a boss to complete the FATE.
- fate-escort:
FATE: Escort an NPC to a given location to complete the FATE.
- fate-defense:
FATE: Defend critical NPCs or resources from enemies to complete the FATE.
- fate-collect:
FATE: Collect items and turn them in to complete the FATE.
- fate-path:
FATE: Path
- gate:
GATEs, Gold Saucer Active Time Events
- eureka-nm:
Notorious Monster FATEs in Eureka
- other:
Other quests. For quests and functions that don't fit any of the normal categories. Used for chocobo porters, Eureka quests, Bozja resistance rank increases, etc.
- mainscenario:
- name
- Parameter 2. Mandatory. Name of the quest.
- [large]
- Parameter 3. Optional. Will make the quest icon larger. If using it in a section header, set to true. (Set to large instead if using unnamed parameters by order.)
You can specify parameters by name, or you can use unnamed parameters by order to make the code shorter and more convenient, but you cannot mix and match the two. For example, {{questlink|type=main|name=It's Probably Pirates}} and {{questlink|main|It's Probably Pirates}} will both work, but {{questlink|type=main|It's Probably Pirates}} will not.
Examples
{{questlink|type=main|name=It's Probably Pirates}} {{questlink|main|It's Probably Pirates}}
This: It's Probably Pirates is an example of an inline quest link using named parameters, and this:
It's Probably Pirates uses unnamed parameters by order.
{{questlink|type=side|name=Out to Dry}} {{questlink|side|Out to Dry}}
{{questlink|type=daily|name=A Nutty Initiation}} {{questlink|daily|A Nutty Initiation}}
{{questlink|type=repeatable|name=Resistance is (Not) Futile}} {{questlink|repeatable|Resistance is (Not) Futile}}
{{questlink|type=feature|name=And We Shall Call it Eureka}} {{questlink|feature|And We Shall Call it Eureka}}
{{questlink|type=repfeature|name=Resistance is (Not) Futile}} {{questlink|repfeature|Resistance is (Not) Futile}}
{{questlink|type=levequest|name=A Feast in the Forest}} {{questlink|levequest|A Feast in the Forest}}
{{questlink|type=fate-enemies|name=Supper Time}} {{questlink|fate-enemies|Supper Time}}
{{questlink|type=fate-boss|name=Behold Now Behemoth}} {{questlink|fate-boss|Behold Now Behemoth}}
{{questlink|type=fate-escort|name=The Ceruleum Road}} {{questlink|fate-escort|The Ceruleum Road}}
{{questlink|type=fate-defense|name=The End of the Sentry}} {{questlink|fate-defense|The End of the Sentry}}
{{questlink|type=fate-collect|name=Treasure Island}} {{questlink|fate-collect|Treasure Island}}
{{questlink|type=fate-path|name=The Magitek Is Back}} {{questlink|fate-path|The Magitek Is Back}}
{{questlink|type=gate|name=Air Force One}} {{questlink|gate|Air Force One}}
{{questlink|type=eureka-nm|name=Wail in the Willows}} {{questlink|eureka-nm|Wail in the Willows}}
{{questlink|type=other|name=Forged Anew}} {{questlink|other|Forged Anew}}
Example in header:
It's Probably Pirates
{{questlink|type=main|name=It's Probably Pirates|large=true}} {{questlink|main|It's Probably Pirates|large}}