Difference between revisions of "Template:Infobox/Thing/doc"
Jump to navigation
Jump to search
m (update category tag) |
(Corrected parameter note.) |
||
Line 7: | Line 7: | ||
:''<paramater1>'': Displayed in the infobox as the item type; This is also used used a category. | :''<paramater1>'': Displayed in the infobox as the item type; This is also used used a category. | ||
:''<paramater2>'': Provides the page name link for parameter1. | :''<paramater2>'': Provides the page name link for parameter1. | ||
− | :''<paramater3>'': Optional, sets sub-type. | + | :''<paramater3>'': Optional, sets sub-type; This is also used used a category. |
− | :''<paramater4>'': Provides the page name link for parameter3 | + | :''<paramater4>'': Provides the page name link for parameter3. |
:''<paramater5>'': Sets the infobox color. See [[Templates]]. | :''<paramater5>'': Sets the infobox color. See [[Templates]]. | ||
Revision as of 02:10, 3 September 2016
- Description
- This template renders an infobox for items. An item is initially defined using Template:Define which calls a secondary template including Template:Medicine, Template:Material, or Template:Textile. The secondary template calls the Infobox/Thing template.
- Syntax
{{Infobox/Thing|<paramater1>|<paramater2>|<paramater3>|<paramater4>|<paramater5>}}
- <paramater1>: Displayed in the infobox as the item type; This is also used used a category.
- <paramater2>: Provides the page name link for parameter1.
- <paramater3>: Optional, sets sub-type; This is also used used a category.
- <paramater4>: Provides the page name link for parameter3.
- <paramater5>: Sets the infobox color. See Templates.
- Example
When properly called from the Define template and secondary template,
{{Infobox/Thing|Medical Item|Medical Items|Medicine|Medicine|c_01}}
results in...
Medicine
Medical staff use these supplies to heal the wounded.
- Type
- Medical Item – Medicine
Base Stats
Stat Modifiers