Difference between revisions of "Template:Item"

From Melvor Idle
(Experiment with some html to get item pages to display properly with version info)
m
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="display:flex;">
+
<noinclude>
<div style="flex-grow: 1;";><div/>
+
This template is for use in individual item pages. See [[:Category:ItemTemplates]] for links to templates for use in the customData parameter.
{| class="wikitable" style="float:right"
+
[[Category:ItemTemplates]]
 +
</noinclude>
 +
 
 +
{| class="wikitable" style="float:right; clear:right; max-width:250px; margin-left:10px"
 
|-  
 
|-  
 
! {{{name}}}
 
! {{{name}}}
 
|-
 
|-
| [[File:{{{name}}}_(item).svg|250px]]
+
| [[File:{{{imagefile}}}|250px]]
 +
|-
 +
| style ="text-align: center;width: min-content;" |{{{description}}}
 
|-
 
|-
 
| Item ID: {{{id}}}
 
| Item ID: {{{id}}}
Line 14: Line 19:
 
|-
 
|-
 
| Sells For: {{{sellsfor}}}
 
| Sells For: {{{sellsfor}}}
 +
|-
 +
| {{{customData}}} Item Sources:
 +
{{{itemSources}}}
 
|-
 
|-
| Item Sources: {{{itemSources}}}
+
| Used In:  
|-
+
{{{itemUses}}}
| Used In: {{{itemUses}}}
 
 
|}
 
|}
<div/>
 

Latest revision as of 19:26, 29 September 2020

This template is for use in individual item pages. See Category:ItemTemplates for links to templates for use in the customData parameter.


{{{name}}}
[[File:{{{imagefile}}}|250px]]
{{{description}}}
Item ID: {{{id}}}
Category: [[{{{category}}}]]
Type: {{{type}}}
Sells For: {{{sellsfor}}}
{{{customData}}} Item Sources:

{{{itemSources}}}

Used In:

{{{itemUses}}}