Template:equip name: Difference between revisions

No edit summary
Updated style/layout
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[{{{1|}}}|<span class="equipname" style="color:{{#ifeq:{{{3|}}}|2|#ccc}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFCD4A}}; text-shadow: 0px 0px 3px {{#ifeq:{{{3|}}}|2|#ccc}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFCD4A}};display:inline-block"><small style="margin-right: 3px;"><sup><img src="{{filepath:Icon_{{{2|}}}_S_{{{3|}}}star.png|25}}" /></sup></small>{{{1|?}}}</span>]]</includeonly><noinclude>
<includeonly>[[{{{1|}}}|<span class="entity-name gfl-name-equip rarity-{{{rarity|{{{3|}}}}}}">{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{LayoutImage|src={{filepath:Icon_{{{2|}}}_S_{{{3|}}}star.png|20}}|class=entity-icon}}}}}}{{{1|?}}}</span>]]</includeonly><noinclude>{{Documentation}}</noinclude>
{{equip name|P22 Laser Sight|Silencer|5}}
<pre>
{{equip name
|Equipment Page title
|Equipment Type (can be omitted): Silencer, Telescopic Sight, Holographic Sight, Red Dot Sight, Night Combat Equipment, Auxiliary Sight, Choke, Armor-Piercing Ammo, HP Ammo, Shotgun Ammo, High-Velocity Ammo, Special AP Ammo, Microchip, Exoskeleton, Ballistic Plate, Ammo Box, Camo Cape, Bipod or Range Finder
|Equipment Rarity (number between 2 and 5 inclusive)
}}
</pre>
</noinclude>