Template:Item: Difference between revisions

Jump to navigation Jump to search
18 bytes added ,  Yesterday at 20:09
m
Moved "How to use" section and renamed it to "Template:". Edited TemplateData.
m (Removed extra line break.)
m (Moved "How to use" section and renamed it to "Template:". Edited TemplateData.)
 
Line 11: Line 11:
|}
|}
<noinclude>
<noinclude>
'''Template:'''
<pre style="width: 500px;">
{{Item
  | name  =
  | img    =
  | rarity =
  | num    =
}}</pre>
<templatedata>
<templatedata>
{
{
Line 24: Line 32:
"description": "The rarity determines the background color of the icon.",
"description": "The rarity determines the background color of the icon.",
"type": "string",
"type": "string",
"suggested": true,
"default": "background: radial-gradient(circle, white, lightgray);",
"default": "background: radial-gradient(circle, white, lightgray);"
"required": true
},
},
"num": {
"num": {
Line 37: Line 45:
"description": "The item's page name is listed here and will direct the user to that page upon click.",
"description": "The item's page name is listed here and will direct the user to that page upon click.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"suggested": true
"required": true
}
}
},
},
Line 49: Line 57:
}
}
</templatedata>
</templatedata>
'''How to use:'''
<pre>
{{Item
  | name  =
  | img    =
  | rarity =
  | num    =
}}</pre>
</noinclude>
</noinclude>
192

edits

Navigation menu