Template:Quest Card/doc

From CrossCode Wiki
Jump to navigation Jump to search
File:Template-info.svg Template Documentation

Parameters

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
Name name

Name of the quest.

Default:
NULL
Example:
name=Railing Rider
String Required
Elite quest elite

Set if the quest is elite. Changes normal quest icon to elite quest icon.

Default:
NULL
Example:
elite=1
"1" Optional
Color color

RGB value of the quest's location. Defaults to black. Refer to {{Location Card}} for usage. Available colors are #004F80, #BF5900, #5D6466, #8C7438, #00734F, #403380, and #801B47.

Default:
  1. 000000
Example:
color=#004F80
["#004F80" | "#BF5900" | "#5D6466" | "#8C7438" | "#00734F" | "#403380" | "#801B47"] Required
Image img

Image depicting the quest.

Default:
NULL
Example:
img=File:Railing Rider.png
WikiCode Recommended
Description desc

Description of the quest taken from in-game records.

Default:
NULL
Example:
desc=This quest is a cool one.
This quest is a cool one.
String Required
Level lvl

Level of the quest.

Default:
NULL
Example:
lvl=75
NonzeroNumber Required
Location loc

Room the quest is given in. Format as Area - Room Name.

Default:
NULL
Example:
loc=Autumn's Rise - Beginners Arc
String Required
Quest giver giver

Name of the character that provides the quest.

Default:
NULL
Example:
giver=Mr. Nomsworth
String Required
EXP exp

Amount of experience the quest rewards when at the same level as the quest.

Default:
0
Example:
exp=500
EXP 500
Number Optional
Credits credits

Number of credits the quest rewards.

Default:
0
Example:
credits=999
Credits 999
Number Optional
Neutral circuit points cpn

Set if the quest rewards neutral CP.

Default:
NULL
Example:
cpn=1
Circuit Points Neutral
"1" Optional
Heat circuit points cph

Set if the quest rewards heat CP.

Default:
NULL
Example:
cph=1
Circuit Points Heat
"1" Optional
Cold circuit points cpc

Set if the quest rewards cold CP.

Default:
NULL
Example:
cpc=1
Circuit Points Cold
"1" Optional
Wave circuit points cpw

Set if the quest rewards wave CP.

Default:
NULL
Example:
cpw=1
Circuit Points Wave
"1" Optional
Shock circuit points cps

Set if the quest rewards shock CP.

Default:
NULL
Example:
cps=1
Circuit Points Shock
"1" Optional
Items items

Items that the quest rewards. Use the template {{ItemLink}}. Format as {{ItemLink|Item name}} x# and separate with commas. The   is recommended to prevent the item count wrapping to the next line.

Default:
NULL
Example:
items={{ItemLink|Edge o' All}} x3, {{ItemLink|Neutral Stone}} x9, {{ItemLink|GIT}}

LV05Edge o' All x3, Neutral Stone x9, GIT

WikiCode Optional

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
Namename

Name of the quest.

Example
name=Railing Rider
Stringrequired
Elite questelite

Set if the quest is elite. Changes normal quest icon [[File:Quest.png]] to elite quest icon. [[File:Elite Quest.png]]

Example
elite=1
Contentoptional
Colorcolor

RGB value of the quest's location. Defaults to black. Refer to <code>{{[[Template:Location Card|Location Card]]}}</code> for usage. Available colors are <span style="background:#004F80">#004F80</span>, <span style="background:#BF5900">#BF5900</span>, <span style="background:#5D6466">#5D6466</span>, <span style="background:#8C7438">#8C7438</span>, <span style="background:#00734F">#00734F</span>, <span style="background:#403380">#403380</span>, and <span style="background:#801B47">#801B47</span>.<br>

Default
  1. 000000
Example
color=#004F80
Contentrequired
Imageimg

Image depicting the quest.

Example
img=File:Railing Rider.png
Contentsuggested
Descriptiondesc

Description of the quest taken from in-game records.

Example
desc=This quest is a cool one.
''This quest is a cool one.''
Stringrequired
Levellvl

Level of the quest.

Example
lvl=75
Numberrequired
Locationloc

Room the quest is given in. Format as <code>Area - Room Name</code>.

Example
loc=Autumn's Rise - Beginners Arc
Stringrequired
Quest givergiver

Name of the character that provides the quest.

Example
giver=Mr. Nomsworth
Stringrequired
EXPexp

Amount of experience the quest rewards when at the same level as the quest.

Default
0
Example
exp=500
[[File:EXP-Icon.png|link=|EXP]] 500
Numberoptional
Creditscredits

Number of credits the quest rewards.

Default
0
Example
credits=999
[[File:CreditIcon.png|link=|Credits]] 999
Numberoptional
Neutral circuit pointscpn

Set if the quest rewards neutral CP.

Example
cpn=1
[[File:CP.png|link=|Circuit Points]] [[File:Elem-neutral.png|link=|Neutral|20px]]
Contentoptional
Heat circuit pointscph

Set if the quest rewards heat CP.

Example
cph=1
[[File:CP.png|link=|Circuit Points]] [[File:Elem-heat.png|link=|Heat|20px]]
Contentoptional
Cold circuit pointscpc

Set if the quest rewards cold CP.

Example
cpc=1
[[File:CP.png|link=|Circuit Points]] [[File:Elem-cold.png|link=|Cold|20px]]
Contentoptional
Wave circuit pointscpw

Set if the quest rewards wave CP.

Example
cpw=1
[[File:CP.png|link=|Circuit Points]] [[File:Elem-wave.png|link=|Wave|20px]]
Contentoptional
Shock circuit pointscps

Set if the quest rewards shock CP.

Example
cps=1
[[File:CP.png|link=|Circuit Points]] [[File:Elem-shock.png|link=|Shock|20px]]
Contentoptional
Itemsitems

Items that the quest rewards. Use the template <code>{{[[Template:ItemLink|ItemLink]]}}</code>. Format as <code>{{ItemLink|Item name}}&amp;nbsp;x#</code> and separate with commas. The <code>&amp;nbsp;</code> is recommended to prevent the item count wrapping to the next line.

Example
items={{ItemLink|Edge o' All}}&nbsp;x3, {{ItemLink|Neutral Stone}}&nbsp;x9, {{ItemLink|GIT}}
<span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>05</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Edge o' All.png|24x24px]]</span>[[Edge o' All|Edge o' All]]</span>&nbsp;x3, <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Neutral Stone.png|24x24px]]</span>[[Neutral Stone|Neutral Stone]]</span>&nbsp;x9, <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:GIT.png|24x24px]]</span>[[GIT|GIT]]</span>
Contentoptional

Examples

A usage example with common parameters is provided below.

{{Quest Card
|name=
|color=
|img=
|desc=
|lvl=
|loc=
|giver=
|exp=
|credits=
|items=
}}

The wikitext for the example card is shown below.

{{Quest Card|name=Faction Introduction
|elite=1
|color=#BF5900
|img=File:Autumn%27s_Rise.png
|desc=Each of the 4 Factions has a local subdivision in Rookie Harbor: Falldivers, Rookie Harbor Guard, Coastal Trading Coalition and Fruits of Autumn. Introduce yourself to the representatives!
|lvl=99
|loc=Rookie Harbor - Seeker Hub
|giver=Faction Advisor
|exp=100
|credits=150
|cpn=1
|cps=1
|items={{ItemLink|Edge o' All}} {{ItemLink|Neutral Stone}}
}}