Dauntless Wiki
(Created page with "{{doc/start}} {{WeaponSkin |Icon= |Type= |Rarity= |ObtainedFrom= |Description= }}")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{doc/start}}
+
{{Doc/start}}
  +
'''<nowiki>Template:WeaponSkin</nowiki>''' is a template used to create Weapon Skin pages and store them in the "WeaponSkins" cargo table. Cargo stores its data in a database table. Each time this template is called, it stores that page name and the template parameters in the database table, with a column for each relevant parameter. This table can then be queried using SQL components to display the data. Editors simply need to fill out the blank template below for any desired Weapon Skin page.
  +
  +
==Usage==
  +
===Blank Template===
  +
<pre>
 
{{WeaponSkin
 
{{WeaponSkin
 
|Icon=
 
|Icon=
Line 7: Line 12:
 
|Description=
 
|Description=
 
}}
 
}}
  +
</pre>
  +
  +
===Parameters===
  +
* '''Icon''' (File) = File name without <nowiki>[[File: ]]</nowiki>. The preferred format can be found in the examples below.
  +
* '''Type''' (String) = Type of weapon (Allowed values = Aether Strikers, Axe, Chain Blades, Hammer, Ostian Repeaters, Sword, War Pike)
  +
* '''Rarity''' (String) = Rarity of the weapon skin (Allowed values = Common, Uncommon, Rare, Epic, Legendary, Artifact)
  +
* '''ObtainedFrom''' (Wikitext) = How to obtain the weapon skin. Standardization here is highly encouraged.
  +
* '''Description''' (Wikitext) = In-game description of the weapon skin.
  +
  +
==Example==
  +
'''Champion's Axe''' (add <code>(Weapon Skin)</code> to the page name is disambiguation is needed)
  +
<pre>
  +
{{WeaponSkin
  +
|Icon=Champion's Axe Icon 001.png
  +
|Type=Axe
  +
|Rarity=Rare
  +
|ObtainedFrom=[[The Lucky Break]] for 1,000 {{Gilded Marks-}} (after finishing Top 100 in [[Trials]])
  +
|Description=A golden axe for those who have earned gilded marks on the Island of Trials and won the title "Trials Champion."
  +
}}
  +
</pre>
  +
  +
'''Hullcutter Glaive''' (add <code>(Weapon Skin)</code> to the page name is disambiguation is needed)
  +
<pre>
  +
{{WeaponSkin
  +
|Icon=Hullcutter Glaive Icon 001.png
  +
|Type=War Pike
  +
|Rarity=Epic
  +
|ObtainedFrom=[[Hunt Pass Season: Clear Skies]] Level 25 Elite reward
  +
|Description=Despite the name it works equally well against Behemoths.
  +
}}
  +
</pre>
  +
  +
{{Doc/end}}

Latest revision as of 18:02, 9 September 2020

Template-info.png Documentation

Template:WeaponSkin is a template used to create Weapon Skin pages and store them in the "WeaponSkins" cargo table. Cargo stores its data in a database table. Each time this template is called, it stores that page name and the template parameters in the database table, with a column for each relevant parameter. This table can then be queried using SQL components to display the data. Editors simply need to fill out the blank template below for any desired Weapon Skin page.

Usage

Blank Template

{{WeaponSkin
|Icon=
|Type=
|Rarity=
|ObtainedFrom=
|Description=
}}

Parameters

  • Icon (File) = File name without [[File: ]]. The preferred format can be found in the examples below.
  • Type (String) = Type of weapon (Allowed values = Aether Strikers, Axe, Chain Blades, Hammer, Ostian Repeaters, Sword, War Pike)
  • Rarity (String) = Rarity of the weapon skin (Allowed values = Common, Uncommon, Rare, Epic, Legendary, Artifact)
  • ObtainedFrom (Wikitext) = How to obtain the weapon skin. Standardization here is highly encouraged.
  • Description (Wikitext) = In-game description of the weapon skin.

Example

Champion's Axe (add (Weapon Skin) to the page name is disambiguation is needed)

{{WeaponSkin
|Icon=Champion's Axe Icon 001.png
|Type=Axe
|Rarity=Rare
|ObtainedFrom=[[The Lucky Break]] for 1,000 {{Gilded Marks-}} (after finishing Top 100 in [[Trials]])
|Description=A golden axe for those who have earned gilded marks on the Island of Trials and won the title "Trials Champion."
}}

Hullcutter Glaive (add (Weapon Skin) to the page name is disambiguation is needed)

{{WeaponSkin
|Icon=Hullcutter Glaive Icon 001.png
|Type=War Pike
|Rarity=Epic
|ObtainedFrom=[[Hunt Pass Season: Clear Skies]] Level 25 Elite reward
|Description=Despite the name it works equally well against Behemoths.
}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.