Template:QuestLink: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
(Add `showName` parameter)
Line 1: Line 1:
<onlyinclude><includeonly>[[{{{1}}}|{{{showName|{{{1}}}}}}]]</includeonly></onlyinclude>
<onlyinclude><includeonly>[[{{QuestLink/linkList|{{{1}}}}}|{{{showName|{{{1}}}}}}]]</includeonly></onlyinclude>
{{Doc}}
{{Doc}}

Revision as of 05:46, 15 April 2021

File:Template-info.svg Template Documentation

About

This template exists to simplify linking to quests.

Parameter

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Quest Name 1

Questname to be linked. Invalid Questnames will linked to the main quest page

Example:
String Required
Name Override showName

no description

Default:
{{{1}}}
Example:
  • {{QuestLink|The Goatfather (quest)|showName=The Goatfather}}
    The Goatfather
String WikiCode

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Test of raw TemplateData output:

No description.

Template parameters

ParameterDescriptionTypeStatus
Quest Name1

Questname to be linked. Invalid Questnames will linked to the main quest page

Example
*
{{QuestLink|Rookie Harbor: Collecting #2}}
[[Rookie Harbor: Collecting #2|Rookie Harbor: Collecting #2]]
  • {{QuestLink|The Goatfather}}
    [[The Goatfather (quest)|The Goatfather]]
  • {{QuestLink|Crocus Pocus}}
    [[Crocus Pocus|Crocus Pocus]]
  • {{QuestLink|foo}}
    [[foo|foo]]
Stringrequired
Name OverrideshowName

no description

Default
&#123;&#123;&#123;1&#125;&#125;&#125;
Example
*
{{QuestLink|The Goatfather (quest)|showName=The Goatfather}}
[[The Goatfather (quest)|The Goatfather]]
Stringoptional