Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Shovel: Difference between revisions

Template page
Use native image field fallback without ParserFunctions
Clean Cargo schema and editing workflow
 
Line 2: Line 2:
_table=Shovels
_table=Shovels
|Name={{{name|{{PAGENAME}}}}}
|Name={{{name|{{PAGENAME}}}}}
|ShovelCode={{{key|}}}
|Tier={{{tier|}}}
|Tier={{{tier|}}}
|Description={{{description|}}}
|Efficiency={{{efficiency|}}}
|Efficiency={{{efficiency|}}}
|Gathering={{{gathering|}}}
|Gathering={{{gathering|}}}
Line 9: Line 11:
|Sight={{{sight|}}}
|Sight={{{sight|}}}
|Sturdiness={{{sturdiness|}}}
|Sturdiness={{{sturdiness|}}}
|PassiveAbility={{{passive_ability|No}}}
|PassiveKey={{{passive key|}}}
|PassiveName={{{passive name|}}}
|PassiveDescription={{{passive description|}}}
|Obtainment={{{obtainment|Unknown}}}
|Location={{{location|Unknown}}}
|Location={{{location|Unknown}}}
|Color={{{color|#c9a75f}}}
|Color={{{color|#c9a75f}}}
Line 17: Line 22:
<div class="hw-record-code">EQUIPMENT DOSSIER · TIER {{{tier|Unknown}}}</div>
<div class="hw-record-code">EQUIPMENT DOSSIER · TIER {{{tier|Unknown}}}</div>
<div class="hw-record-name">{{{name|{{PAGENAME}}}}}</div>
<div class="hw-record-name">{{{name|{{PAGENAME}}}}}</div>
<div class="hw-record-summary">Known source: {{{obtainment|Unknown}}}</div>
<div class="hw-record-summary">{{{description|No description available.}}}</div>
</div>
</div>
<div class="hw-record-actions">[[Special:FormEdit/Shovel/{{FULLPAGENAME}}|Edit record]] [{{fullurl:Special:MultiPageEdit|template=Shovel&form=Shovel}} Bulk edit shovels] [{{fullurl:{{FULLPAGENAME}}|action=delete}} Delete record]</div>
<div class="hw-infobox hw-shovel-infobox hw-tier-{{{tier|Unknown}}}" style="--hw-shovel-color: {{{color|#c9a75f}}};">
<div class="hw-infobox hw-shovel-infobox hw-tier-{{{tier|Unknown}}}" style="--hw-shovel-color: {{{color|#c9a75f}}};">
<div class="hw-infobox-title">{{{name|{{PAGENAME}}}}}</div>
<div class="hw-infobox-title">{{{name|{{PAGENAME}}}}}</div>
Line 37: Line 43:
<div class="hw-infobox-row"><div class="hw-infobox-label">Sturdiness</div><div class="hw-infobox-value">{{{sturdiness|Unknown}}}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Sturdiness</div><div class="hw-infobox-value">{{{sturdiness|Unknown}}}</div></div>
<div class="hw-infobox-heading">Special Property</div>
<div class="hw-infobox-heading">Special Property</div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Passive Ability</div><div class="hw-infobox-value">{{{passive_ability|No}}}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Passive</div><div class="hw-infobox-value">{{{passive name|None}}}</div></div>
<div class="hw-infobox-blurb">{{{passive description|No passive effect.}}}</div>
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
Line 43: Line 50:
_table=Shovels
_table=Shovels
|Name=String
|Name=String
|ShovelCode=String
|Tier=Integer
|Tier=Integer
|Description=Text
|Efficiency=String
|Efficiency=String
|Gathering=String
|Gathering=String
Line 50: Line 59:
|Sight=String
|Sight=String
|Sturdiness=String
|Sturdiness=String
|PassiveAbility=String
|PassiveKey=String
|PassiveName=String
|PassiveDescription=Text
|Obtainment=String
|Location=String
|Location=String
|Color=String
|Color=String
|OrderIndex=Integer
|OrderIndex=Integer
}}
}}
This template stores and displays a shovel record. Location appears on the individual page; Color is used for automatic row and link styling without becoming a visible archive column.
This template stores and displays one centralized shovel record.
 
== Usage ==
<pre>
{{Shovel
| name = Basic Shovel
| obtainment = Starter Shovel
| location = Starter areas
| color = #FFFFFF
| tier = 1
| efficiency = +0%
| gathering = +10%
| luck = +20%
| technique = -10%
| sight = +0.2
| sturdiness = +10%
| passive_ability = No
| order = 1
}}
</pre>
 
Set <code>| image = [[File:Example.png|frameless|600px]]</code> to display an uploaded file in the infobox. Leave it empty to show “No Picture Uploaded”.
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 22:04, 13 September 2026

This template defines the table "Shovels". View table. This template stores and displays one centralized shovel record.