Welcome to the Power Master Wiki! Content is being updated with data from the new demo. Enjoy your time here!

Difference between revisions of "Template:Infobox Weapon"

From Power Master Wiki
Jump to navigationJump to search
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="descri...")
 
(Testing something)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<infobox>
{| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: #f8fff7; border:1px solid #8a8; color:#000; border-radius: 15px;"
  <title source="title1">
|-
    <default>{{PAGENAME}}</default>
! colspan="2" bgcolor="#FFD700" style="border-radius: 15px;"|  {{{title|{{PAGENAME}}}}}
  </title>
|-
  <image source="image1">
! colspan="2" | {{{image|''No image yet''<includeonly>[[Category:Infoboxes lacking images]]</includeonly>}}}{{#if:{{{caption|}}} | <br>''{{{caption}}}'' }}
    <caption source="caption1"/>
|-style="vertical-align: top"
  </image>
|
  <data source="description">
{| class="mw-collapsible mw-collapsed" style="width: calc(100% + 6px); margin: -3px;"
    <label>Description</label>
! colspan="2" bgcolor="#FFD700" style="border-radius: 15px;"| Weapon Information
  </data>
|-
  <data source="stat_boosts">
| bgcolor="#FFEFD5" style="border-top-left-radius: 15px;"|'''Description'''
    <label>Stat Boosts</label>
| bgcolor="#FFEFD5" style="border-top-right-radius: 15px;"|{{{description|''None''}}}
  </data>
|-
  <data source="type">
| '''Stat Boosts''' || {{{stats|''None''}}}
    <label>Type</label>
|-
  </data>
| bgcolor="#FFEFD5"|'''Type'''
  <data source="value">
| bgcolor="#FFEFD5"|{{{type|''None''}}}
    <label>Value</label>
|-
  </data>
| '''Value''' || {{{value|''None''}}}
  <data source="other_info">
|-
    <label>Other Info</label>
| bgcolor="#FFEFD5"|'''Dropped by'''
  </data>
| bgcolor="#FFEFD5"|{{{drop|''None''}}}
</infobox>
|-
<noinclude>
| '''Other Info''' || {{{other|''None''}}}</span>
Example usage:<pre>
|}
|}<noinclude>
<pre><nowiki>
{{Infobox Weapon
{{Infobox Weapon
|title1=Example
|title      = Name of the weapon
|image1=Example
|image      = Icon of the weapon
|caption1=Example
|caption    = Optional image caption
|description=Example
|description = In game description of the weapon
|stat_boosts=Example
|stats      = Stat boosts the weapon gives when equipped
|type=Example
|type       = Type of weapon (i.e. Sword, Axe, etc.)
|value=Example
|value       = How much the weapon is sold for at the Shop
|other_info=Example
|drop        = Any enemies that drop this weapon upon defeat
|other      = Additional info, if any
}}
}}
</pre>
</nowiki></pre>
</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:58, 4 September 2019

Infobox Weapon
No image yet
Weapon Information
Description None
Stat Boosts None
Type None
Value None
Dropped by None
Other Info None
{{Infobox Weapon
|title       = Name of the weapon
|image       = Icon of the weapon
|caption     = Optional image caption
|description = In game description of the weapon
|stats       = Stat boosts the weapon gives when equipped
|type        = Type of weapon (i.e. Sword, Axe, etc.)
|value       = How much the weapon is sold for at the Shop
|drop        = Any enemies that drop this weapon upon defeat
|other       = Additional info, if any
}}