Help:Editing: Difference between revisions

No edit summary
No edit summary
Line 27: Line 27:
<pre><nowiki>{{Item|name=Copper Ore|type=Ore|description=A raw copper nuget.|value=6}}</nowiki></pre>
<pre><nowiki>{{Item|name=Copper Ore|type=Ore|description=A raw copper nuget.|value=6}}</nowiki></pre>


When the Item template is used in an item's page, you might want it to float to the top right of the page. In this case, you can change the template name to ''ItemFloat''.
When the Item template is used in an item's page, you might want it to float to the top right of the page. In this case, you can change the template name to ''ItemFloat'':
 
<pre><nowiki>{{ItemFloat|name=Copper Ore|type=Ore|description=A raw copper nuget.|value=6}}</nowiki></pre>
 
Which will look like this:
 
[[File:Item Float Template.png|800px]]