Template:QuestLink: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
No edit summary
(Fix `nowrap` parameter)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><includeonly>[[{{#switch: {{{1}}}
<onlyinclude><includeonly>{{#ifeq:{{WsBool|{{{nowrap}}}|1}}|1<!--
|Petty Crime Hunter
-->|<span class="nowrap" style="white-space: nowrap;"><!--
|Smuggle Trouble
-->}}[[{{QuestLink/linkList|{{{1}}}}}|{{{showName|{{{1}}}}}}]]<!--
|Digging For Data
-->{{#ifeq:{{WsBool|{{{nowrap}}}|1}}|1<!--
|It can dig, but it can't hide!
-->|</span><!--
|Small Time Delivery
-->}}</includeonly></onlyinclude>
|Bull Grab
{{Doc}}
|Sickly Trees
|Intensive Tree Care
|Railing Rider
|Faction Introduction
|Wood 'n Steaks
|Meating Expectations
|All hail the ice cream
|A Promise is a Promise
|Rookie Harbor: Collecting #1
|Rookie Harbor: Collecting #2
|Rookie Harbor: Collecting #3
|Rookie Harbor: Collecting #4
|Rookie Harbor: Collecting #5
|Rookie Harbor: Collecting #6
|Rookie Harbor: Collecting #7
|Rookie Harbor: Collecting #8
|Rookie Harbor: Hunting #1
|Rookie Harbor: Hunting #2
|Rookie Harbor: Hunting #3
|Rookie Harbor: Hunting #4
|Rookie Harbor: Hunting #5
|Rookie Harbor: Hunting #6
|Rookie Harbor: Hunting #7
|Rookie Harbor: Hunting #8 = Rookie Harbor/Quests#{{{1}}}
|First Steps
|A Few Steps More
|Autumn's Rise Trailblazing
|Autumn's Rise Collect
|Autumn's Rise Defeat
|Autumn's Rise Landmarks
|Autumn's Rise Data Probe
|Round and Round
|Crocus Pocus = Autumn's Rise/Quests#{{{1}}}
|You've got mail?
|Round and Round 2
|The Legendary Bunny
|Bergen Trailblazing
|Bergen Trail Collect
|Bergen Trail Defeat
|Bergen Trail Landmarks
|Bergen Trail Data Probe = Bergen Trail/Quests#{{{1}}}
|Kidding Around
|The Goatfather
|Filthy Frobbits
|Explosive Debugging
|Preemptive Debugging
|Fancy Tophat
|Heating the Hermit
|Trial of Aspiration
|Challenge of Aspiration
|Chlg. of Aspiration: Timed
|Chlg. of Aspiration: No Shield
|Trial of Progression
|Challenge of Progression
|Chlg. of Progression: Timed
|Chlg. of Progression: Frosty
|Gifting for Fun!
|Building a Base
|Temple Mine = Bergen Village/Quests#{{{1}}}
|Blasting Shells
|Defender of the Maroon Tree = Ba'kii Kum/Quests#{{{1}}}
|Pumpkin Land Superfun = Basin Keep/Quests#{{{1}}}
|#default = Quests
}}|{{{1}}}]]</includeonly>

Latest revision as of 22:40, 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}}
<span class="nowrap" style="white-space: nowrap;">[[Rookie Harbor: Collecting #2|Rookie Harbor: Collecting #2]]</span>
  • {{QuestLink|The Goatfather}}
    <span class="nowrap" style="white-space: nowrap;">[[The Goatfather (quest)|The Goatfather]]</span>
  • {{QuestLink|Crocus Pocus}}
    <span class="nowrap" style="white-space: nowrap;">[[Crocus Pocus|Crocus Pocus]]</span>
  • {{QuestLink|foo}}
    <span class="nowrap" style="white-space: nowrap;">[[foo|foo]]</span>
Stringrequired
Name OverrideshowName

no description

Default
&#123;&#123;&#123;1&#125;&#125;&#125;
Example
*
{{QuestLink|The Goatfather (quest)|showName=The Goatfather}}
<span class="nowrap" style="white-space: nowrap;">[[The Goatfather (quest)|The Goatfather]]</span>
Stringoptional