Difference between revisions of "Template:ItemInfobox"
Jump to navigation
Jump to search
Camwoodstock (talk | contribs) (Created page with "{| align=right width="250px" style="border: 2px solid #888; background: #BFBFBF; font-size:12px; -moz-border-radius:7px; margin-left:3px; margin-bottom:3px;" !bgcolor="#EF0E0E...") |
Camwoodstock (talk | contribs) m (added padding & blank template) |
||
Line 2: | Line 2: | ||
!bgcolor="#EF0E0E" colspan="2"|<font color="#FFF">'''{{{name}}}'''</font> | !bgcolor="#EF0E0E" colspan="2"|<font color="#FFF">'''{{{name}}}'''</font> | ||
|- | |- | ||
− | |bgcolor="#000" colspan="2"|[[{{{image}}}|center]] | + | |bgcolor="#000" colspan="2" style="padding:3px;"|[[{{{image}}}|center]] |
|- | |- | ||
|bgcolor="#F2F2F2" width="75px"|'''Item Type''' | |bgcolor="#F2F2F2" width="75px"|'''Item Type''' | ||
Line 42: | Line 42: | ||
|source=Prologue, Trade | |source=Prologue, Trade | ||
|ID=16 | |ID=16 | ||
+ | }}</pre> | ||
+ | |} | ||
+ | |||
+ | The blank code can be seen beneath. | ||
+ | {| class="wikitable" style="text-align: left; color: green;" | ||
+ | |'''Sample Code:''' | ||
+ | |- | ||
+ | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{ItemInfobox | ||
+ | |name= | ||
+ | |image= | ||
+ | |type= | ||
+ | |source= | ||
+ | |ID | ||
}}</pre> | }}</pre> | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 22:42, 11 March 2022
{{{name}}} | |
---|---|
[[{{{image}}}|center]] | |
Item Type | {{{type}}} |
Source | {{{source}}} |
Item ID | {{{ID}}} |
Use
This infobox is for use on pages related to items, containing various pieces of preliminary information about them. It makes use of various parameters to change its content on the fly:
- name: The name of the item.
- image: The image of the item. It comes pre-formatted as being centered.
- type: A brief descriptor of the purpose of item (e.g. Key, Puzzle, Utility, Currency, Reward). It is not necessarily limited to these descriptors, though some consistency would be appreciated/requested. Further details to its specific utility can be put in the article's Usage section.
- source: The place(s) the item can be acquired from. Further details to its acquisition can be put in the article's Obtained section.
- ID: The internal ID of the item (e.g. what order the item appears in inside the Furoshiki, and is stored in the Save File).
Sample
Amulet | |
---|---|
Item Type | Utility |
Source | Prologue, Trade |
Item ID | 16 |
The code beneath produces the infobox you see to the right.
Sample Code: |
{{ItemInfobox |name=Amulet |image=File:AmuletIcon.png |type=Utility |source=Prologue, Trade |ID=16 }} |
The blank code can be seen beneath.
Sample Code: |
{{ItemInfobox |name= |image= |type= |source= |ID }} |