Dauntless Wiki
m
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
}}<!--
 
}}<!--
   
TEMPLATE FORMATTING-->{| class="infoboxtable" style="float: right;"
+
TEMPLATE FORMATTING--><div class="item-panel" style="margin:auto; max-width:680px;">
 
<div class="item-panel-heading">{{PAGENAME}}</div>
|-
 
  +
<div class="item-panel-body" style="display:flex; flex-direction:row; flex-wrap:wrap; justify-content:center;">
! colspan="2" | <div class="infoboxname">'''{{PAGENAME}}'''</div>
 
  +
<div style="width:350px; text-align:center; font-style:italic;">[[File:{{{Icon|}}}|256x256px]]<br>{{{Description|}}}</div>
|-
 
  +
<div style="flex-grow:1; text-align:center;">
! colspan="2" | [[File:{{{Icon|}}}{{!}}256x256px]]
 
  +
<p style="width:250px; margin:15px auto; border-bottom:1px solid; margin-bottom:10px; font-size:1.1em; font-weight:bold;">Type</p>
|-
 
  +
<div style="width:250px; margin:10px auto;">[[Weapon Skins|Weapon Skin]]</div>
! colspan="2" style="background: #336699; color: #FFFFFF; font-family: 'Marcellus', Roboto, sans-serif; font-size: 12.5pt; text-align: center;" | '''Details'''
 
  +
<p style="width:250px; margin:15px auto; border-bottom:1px solid; margin-bottom:10px; font-size:1.1em; font-weight:bold">Weapon Type</p>
|-
 
  +
<div style="width:250px; margin:10px auto;">[[{{{Type|}}}]]</div>
| class="infoboxlabel" | <div class="infoboxlabel">'''Type'''</div> || <div class="infoboxdetails"> [[Weapon_Skins|Weapon Skin]]</div>
 
  +
<p style="width:250px; margin:15px auto; border-bottom:1px solid; margin-bottom:10px; font-size:1.1em; font-weight:bold;">Rarity</p>
|-
 
  +
<div style="width:250px; margin:10px auto;">{{#if: {{{Rarity|}}} | {{{{{Rarity|}}}}} | &nbsp;}}</div>
| class="infoboxlabel" | <div class="infoboxlabel">'''Weapon'''</div> || <div class="infoboxdetails"> [[{{{Type|}}}]]</div>
 
  +
<p style="width:250px; margin:15px auto; border-bottom:1px solid; margin-bottom:10px; font-size:1.1em; font-weight:bold">Obtained From</p>
|-
 
  +
<div style="width:250px; margin:10px auto;">{{{ObtainedFrom|}}}</div>
| class="infoboxlabel" | <div class="infoboxlabel">'''Rarity'''</div> || <div class="infoboxdetails"> {{Colour|{{{Rarity|}}}|{{{Rarity|}}}}}</div>
 
  +
</div>
|}<!--
 
  +
</div>
  +
</div>
   
-->'''{{PAGENAME}}''' is a [[Weapon_Skins|weapon skin]] for the [[{{{Type|}}}]] in [[Dauntless_Wiki|Dauntless]].
 
 
==Obtained From==
 
{{{ObtainedFrom|}}}
 
 
==Description==
 
{{#if:{{{Description|}}}|''{{{Description|}}}''}}
 
 
{{Navigation}}
 
 
[[Category:{{{Type|}}} Skins]]
 
[[Category:{{{Type|}}} Skins]]
 
</includeonly>
 
</includeonly>

Latest revision as of 13:12, 11 September 2020

This template defines the table "WeaponSkins". View table.

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.
}}