Minimum Wiki
(Added WeaponNav/Weapon to display a small weapon icon with name and a link to the weapon page)
 
(Added a maximum width, so name should wrap instead of extending out. Also fixed examples displaying wrongly.)
Line 1: Line 1:
<div style="text-align:center;display:inline-block;line-height:normal;">
+
<div style="text-align: center; display: inline-block; line-height: normal; vertical-align: top; width: {{{2|80}}}px;"><!--
[[File:{{{1|Bullet Hell}}}1.png|{{{2|80}}}px|link={{{1|Bullet Hell}}}]]<br/>
+
-->[[File:{{{1|Bullet Hell}}}1.png|{{{2|80}}}px|link={{{1|Bullet Hell}}}]]<br/>
<span style="color:transparent;"><small>
+
<span style="color:transparent;"><small>[[{{{1|Bullet Hell}}}]]</small></span></div><!--
[[{{{1|Bullet Hell}}}]]
 
</small></span>
 
</div><noinclude>
 
Syntax: {{WeaponNav/Weapon|Weapon Name|Image Size Override}}.<br/>
 
Image Size Override is optional, has a default of 80.<br/>
 
   
 
--><noinclude>
Example: {{WeaponNav/Weapon|Bullet Hell}}<br/>
 
  +
<pre>
 
Syntax: {{WeaponNav/Weapon|Weapon Name|Image Size Override}}.
 
Image Size Override is optional, has a default of 80.
  +
 
Example: {{WeaponNav/Weapon|Bullet Hell}}
 
Example: {{WeaponNav/Weapon|Bullet Hell|160}}
 
Example: {{WeaponNav/Weapon|Bullet Hell|160}}
  +
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 07:35, 19 May 2014

Syntax: {{WeaponNav/Weapon|Weapon Name|Image Size Override}}.
Image Size Override is optional, has a default of 80.

Example: {{WeaponNav/Weapon|Bullet Hell}}
Example: {{WeaponNav/Weapon|Bullet Hell|160}}