Difference between revisions of "Template:Questlink"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Added path FATE support)
Line 44: Line 44:
== Description ==
== Description ==
Use this for inline links to quests in text.
Use this for inline links to quests in text.
<pre>{{questlink|type|name|[large]}}</pre>
<pre>{{questlink|type|name|[size]}}</pre>


== Parameters ==
== Parameters ==
Line 70: Line 70:
; name
; name
: Parameter 2.  Mandatory.  Name of the quest.
: Parameter 2.  Mandatory.  Name of the quest.
; [large]
; [size]
: 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.)
: Parameter 3.  Optional.  Set to '''large''' to make the icon bigger for use in a section header.
 
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, '''<nowiki>{{questlink|type=main|name=It's Probably Pirates}}</nowiki>''' and '''<nowiki>{{questlink|main|It's Probably Pirates}}</nowiki>''' will both work, but '''<nowiki>{{questlink|type=main|It's Probably Pirates}}</nowiki>''' will not.


== Examples ==
== Examples ==
<pre>{{questlink|type=main|name=It's Probably Pirates}}
{| class="wikitable"
{{questlink|main|It's Probably Pirates}}</pre>
|+ Caption text
This: {{questlink|type=main|name=It's Probably Pirates}} is an example of an inline quest link using named parameters, and this: {{questlink|main|It's Probably Pirates}} uses unnamed parameters by order.
|-
<pre>{{questlink|type=side|name=Out to Dry}}
! Type !! Input !! Output
{{questlink|side|Out to Dry}}</pre>
|-
{{questlink|type=side|name=Out to Dry}}
| Main Scenario || <nowiki>{{questlink|main|It's Probably Pirates}}</nowiki> || {{questlink|main|It's Probably Pirates}}
<pre>{{questlink|type=daily|name=A Nutty Initiation}}
|-
{{questlink|daily|A Nutty Initiation}}</pre>
| Side || <nowiki>{{questlink|side|Out to Dry}}</nowiki> || {{questlink|side|Out to Dry}}
{{questlink|type=daily|name=A Nutty Initiation}}
|-
<pre>{{questlink|type=repeatable|name=Resistance is (Not) Futile}}
| Daily || <nowiki>{{questlink|daily|A Nutty Initiation}}</nowiki> || {{questlink|daily|A Nutty Initiation}}
{{questlink|repeatable|Resistance is (Not) Futile}}</pre>
|-
{{questlink|type=repeatable|name=Resistance is (Not) Futile}}
| Feature || <nowiki>{{questlink|feature|And We Shall Call it Eureka}}</nowiki> || {{questlink|feature|And We Shall Call it Eureka}}
<pre>{{questlink|type=feature|name=And We Shall Call it Eureka}}
|-
{{questlink|feature|And We Shall Call it Eureka}}</pre>
| Repeatable Feature || <nowiki>{{questlink|repfeature|Resistance is (Not) Futile}}</nowiki> || {{questlink|repfeature|Resistance is (Not) Futile}}
{{questlink|type=feature|name=And We Shall Call it Eureka}}
|-
<pre>{{questlink|type=repfeature|name=Resistance is (Not) Futile}}
| Levequest || <nowiki>{{questlink|levequest|A Feast in the Forest}}</nowiki> || {{questlink|levequest|A Feast in the Forest}}
{{questlink|repfeature|Resistance is (Not) Futile}}</pre>
|-
{{questlink|type=repfeature|name=Resistance is (Not) Futile}}
| FATE: Slay Enemies || <nowiki>{{questlink|fate-enemies|Supper Time}}</nowiki> || {{questlink|fate-enemies|Supper Time}}
<pre>{{questlink|type=levequest|name=A Feast in the Forest}}
|-
{{questlink|levequest|A Feast in the Forest}}</pre>
| FATE: Kill Boss|| <nowiki>{{questlink|fate-boss|Behold Now Behemoth}}</nowiki> || {{questlink|fate-boss|Behold Now Behemoth}}
{{questlink|type=levequest|name=A Feast in the Forest}}
|-
<pre>{{questlink|type=fate-enemies|name=Supper Time}}
| FATE: Escort || <nowiki>{{questlink|fate-escort|The Ceruleum Road}}</nowiki> || {{questlink|fate-escort|The Ceruleum Road}}
{{questlink|fate-enemies|Supper Time}}</pre>
|-
{{questlink|fate-enemies|Supper Time}}
| FATE: Defense || <nowiki>{{questlink|fate-defense|The End of the Sentry}}</nowiki> || {{questlink|fate-defense|The End of the Sentry}}
<pre>{{questlink|type=fate-boss|name=Behold Now Behemoth}}
|-
{{questlink|fate-boss|Behold Now Behemoth}}</pre>
| FATE: Collect Items || <nowiki>{{questlink|fate-collect|Treasure Island}}</nowiki> || {{questlink|fate-collect|Treasure Island}}
{{questlink|fate-boss|Behold Now Behemoth}}
|-
<pre>{{questlink|type=fate-escort|name=The Ceruleum Road}}
| FATE: Path || <nowiki>{{questlink|fate-path|The Magitek Is Back}}</nowiki> || {{questlink|fate-path|The Magitek Is Back}}
{{questlink|fate-escort|The Ceruleum Road}}</pre>
|-
{{questlink|fate-escort|The Ceruleum Road}}
| GATE || <nowiki>{{questlink|gate|Air Force One}}</nowiki> || {{questlink|gate|Air Force One}}
<pre>{{questlink|type=fate-defense|name=The End of the Sentry}}
|-
{{questlink|fate-defense|The End of the Sentry}}</pre>
| Eureka: Notorious Monster || <nowiki>{{questlink|eureka-nm|Wail in the Willows}}</nowiki> || {{questlink|eureka-nm|Wail in the Willows}}
{{questlink|fate-defense|The End of the Sentry}}
|-
<pre>{{questlink|type=fate-collect|name=Treasure Island}}
| Other || <nowiki>{{questlink|other|Forged Anew}}</nowiki> || {{questlink|other|Forged Anew}}
{{questlink|fate-collect|Treasure Island}}</pre>
|}
{{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}}
{{questlink|gate|Air Force One}}</pre>
{{questlink|gate|Air Force One}}
<pre>{{questlink|type=eureka-nm|name=Wail in the Willows}}
{{questlink|eureka-nm|Wail in the Willows}}</pre>
{{questlink|eureka-nm|Wail in the Willows}}
<pre>{{questlink|type=other|name=Forged Anew}}
{{questlink|other|Forged Anew}}</pre>
{{questlink|type=other|name=Forged Anew}}


==Example in header: {{questlink|type=main|name=It's Probably Pirates|large=true}}==
==Example in header: {{questlink|main|It's Probably Pirates|large}}==
<pre>{{questlink|type=main|name=It's Probably Pirates|large=true}}
<pre>{{questlink|main|It's Probably Pirates|large}}</pre>
{{questlink|main|It's Probably Pirates|large}}</pre>
</noinclude>
</noinclude>

Revision as of 15:10, 3 December 2021

Description

Use this for inline links to quests in text.

{{questlink|type|name|[size]}}

Parameters

type
Parameter 1. Mandatory. Type of quest. Valid values include:
  • mainscenario: Main Scenario QuestMain scenario quests
  • main: Main Scenario QuestAlias of mainscenario
  • side: Side QuestSide quests
  • daily: Daily QuestDaily quests, mainly used for beast tribes
  • repeatable: Repeatable QuestRepeatable quests, not necessarily daily, but uses the same icon. Tooltip is different.
  • feature: Feature QuestFeature quests
  • repeatablefeature: Repeatable Feature QuestRepeatable feature quests, mainly used for quests related to relic weapons.
  • repfeature: Repeatable Feature QuestAlias of repeatablefeature
  • levequest: LevequestLevequests
  • fate: FATEFATEs, Full Active Time Events (Generic)
  • fate-enemies: FATE: Slay EnemiesFATE: Slay multiple enemies to fill the bar and complete the FATE.
  • fate-boss: FATE: Kill BossFATE: Kill a boss to complete the FATE.
  • fate-escort: FATE: EscortFATE: Escort an NPC to a given location to complete the FATE.
  • fate-defense: FATE: DefenseFATE: Defend critical NPCs or resources from enemies to complete the FATE.
  • fate-collect: FATE: Collect ItemsFATE: Collect items and turn them in to complete the FATE.
  • fate-path: FATE: PathFATE: Path
  • gate: GATEGATEs, Gold Saucer Active Time Events
  • eureka-nm: Eureka: Notorious MonsterNotorious Monster FATEs in Eureka
  • other: Other QuestOther 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.
name
Parameter 2. Mandatory. Name of the quest.
[size]
Parameter 3. Optional. Set to large to make the icon bigger for use in a section header.

Examples

Caption text
Type Input Output
Main Scenario {{questlink|main|It's Probably Pirates}} Main Scenario QuestIt's Probably Pirates
Side {{questlink|side|Out to Dry}} Side QuestOut to Dry
Daily {{questlink|daily|A Nutty Initiation}} Daily QuestA Nutty Initiation
Feature {{questlink|feature|And We Shall Call it Eureka}} Feature QuestAnd We Shall Call it Eureka
Repeatable Feature {{questlink|repfeature|Resistance is (Not) Futile}} Repeatable Feature QuestResistance is (Not) Futile
Levequest {{questlink|levequest|A Feast in the Forest}} LevequestA Feast in the Forest
FATE: Slay Enemies {{questlink|fate-enemies|Supper Time}} FATE: Slay EnemiesSupper Time
FATE: Kill Boss {{questlink|fate-boss|Behold Now Behemoth}} FATE: Kill BossBehold Now Behemoth
FATE: Escort {{questlink|fate-escort|The Ceruleum Road}} FATE: EscortThe Ceruleum Road
FATE: Defense {{questlink|fate-defense|The End of the Sentry}} FATE: DefenseThe End of the Sentry
FATE: Collect Items {{questlink|fate-collect|Treasure Island}} FATE: Collect ItemsTreasure Island
FATE: Path {{questlink|fate-path|The Magitek Is Back}} FATE: PathThe Magitek Is Back
GATE {{questlink|gate|Air Force One}} GATEAir Force One
Eureka: Notorious Monster {{questlink|eureka-nm|Wail in the Willows}} Eureka: Notorious MonsterWail in the Willows
Other {{questlink|other|Forged Anew}} Other QuestForged Anew

Example in header: Main Scenario QuestIt's Probably Pirates

{{questlink|main|It's Probably Pirates|large}}