Difference between revisions of "Template:Item"

From Starsonata Wiki
Jump to: navigation, search
m
m
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
{{#ifeq:{{{mode}}}|row|
 +
<td class="tableItemName"><span>[[{{{Name}}}]]</span></td>
 +
<td class="tableItemTech"><span>{{formatnum:{{{Tech}}}}}</span></td>
 +
<td class="tableItemSize"><span>{{formatnum:{{{Size}}}}}</span></td>
 +
<td class="tableItemWeight"><span>{{formatnum:{{{Weight}}}}}</span></td>
 +
<td class="tableItemSkillNeeded"><span>{{{SkillNeeded}}}</span></td>
 +
<td class="tableItemSource"><span>{{{Source}}}</span></td>
 +
<td class="tableItemPrice"><span>{{formatnum:{{{Price}}}}}</span></td>
 +
|
 
<div class="itemWrapper">
 
<div class="itemWrapper">
<div class="itemName">{{PAGENAME}}</div>
+
<div class="itemHeaderWrapper">
<div class = "itemTech"><span>T</span><div class="itemTechValue"><span>{{formatnum:{{{Tech}}}}}</span></div></div>
+
<div class="itemIconWrapper">[[File:{{{IconFilename}}}]]</div>
<div class = "itemSize"><span>Size</span><div class="itemSizeValue"><span>{{formatnum:{{{Size}}}}}</span></div></div>
+
<div class="itemName" style="font-weight:bold;">{{{Name}}}</div>
<div class = "itemWeight"><span>Weight</span><div class="itemWeightValue"><span>{{formatnum:{{{Weight}}}}}</span></div></div>
 
<div class = "itemSkillNeeded"><span>Required Skill</span><div class="itemSkillNeededValue"><span>{{{SkillNeeded}}}</span></div></div>
 
<div class = "itemModBonuses"><span>Mod Bonuses</span><div class="itemModBonusesText"><span>{{{ModBonuses}}}</span></div></div>
 
<div class = "itemSource"><span>Source</span><div class="itemSourceValue"><span>{{{Source}}}</span></div></div>
 
<div class = "itemPrice"><span>Price</span><div class="itemPriceValue"><span>{{formatnum:{{{Price}}}}}</span></div></div>
 
<div class = "itemDescription"><div class="itemDescriptionText"><span>{{{Description}}}</span></div></div>
 
 
</div>
 
</div>
 +
<div class="itemStatsWrapper">
 +
<div class = "itemTech" style="font-weight:bold;"><span>T</span><div class="itemTechValue"><span>{{formatnum:{{{Tech}}}}}</span></div></div>
 +
<div class = "itemSize"><span>Size: </span><div class="itemSizeValue"><span>{{formatnum:{{{Size}}}}}</span></div></div>
 +
<div class = "itemWeight"><span>Weight: </span><div class="itemWeightValue"><span>{{formatnum:{{{Weight}}}}}</span></div></div>
 +
<div class = "itemSkillNeeded"><span>Required Skill: </span><div class="itemSkillNeededValue">{{{SkillNeeded}}}</div></div>
 +
<div class = "itemSource"><span>Source: </span><div class="itemSourceValue">{{{Source}}}</div></div>
 +
<div class = "itemPrice"><span>Price: </span><div class="itemPriceValue"><span>{{formatnum:{{{Price}}}}}</span></div></div>
 +
</div>
 +
{{#ifeq:{{{mode}}}|child|</div>|{{itemEndBlock
 +
|ModBonuses = {{{ModBonuses}}}
 +
|Description = {{{Description}}}
 +
}}
 +
}}
 +
}}
 
</includeonly>
 
</includeonly>
  
 
<noinclude>
 
<noinclude>
{{clear}}
 
 
{{purge}}
 
{{purge}}
{{clear}}
 
 
{{item
 
{{item
 +
|IconFilename = ItemIcon.png
 +
|Name = Item
 
|Tech = 0
 
|Tech = 0
 
|Size = 9001
 
|Size = 9001
 
|Weight = 400000
 
|Weight = 400000
 
|SkillNeeded = [[Drone Mastery]]
 
|SkillNeeded = [[Drone Mastery]]
|ModBonuses = +10% Luck, +20% Skill, +15% Concentrated Power of Will, +5% Pleasure, +50% Pain
 
 
|Source = [[Glass Matrix]]
 
|Source = [[Glass Matrix]]
 
|Price = 1000000
 
|Price = 1000000
 +
|ModBonuses = +100% Reason to Remember the Name
 
|Description = Test me baby
 
|Description = Test me baby
 
}}
 
}}
{{clear}}
 
  
 
<pre>
 
<pre>
 
{{item
 
{{item
 +
|IconFilename =
 +
|Name =
 
|Tech =  
 
|Tech =  
 
|Size =  
 
|Size =  
 
|Weight =  
 
|Weight =  
 
|SkillNeeded =  
 
|SkillNeeded =  
|ModBonuses =
 
 
|Source =  
 
|Source =  
 
|Price =  
 
|Price =  
 +
|ModBonuses =
 
|Description =  
 
|Description =  
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 20:56, 11 August 2017


Click here to purge the server cache, this forces the server to update the contents
ItemIcon.png
Item
T
0
Size:
9,001
Weight:
400,000
Required Skill:
Source:
Price:
1,000,000
Mod Bonuses:
+100% Reason to Remember the Name


Test me baby



{{item
|IconFilename = 
|Name = 
|Tech = 
|Size = 
|Weight = 
|SkillNeeded = 
|Source = 
|Price = 
|ModBonuses =
|Description = 
}}