Difference between revisions of "Template:Infobox/Thing"
Jump to navigation
Jump to search
m (Undo revision 101528 by Ickputzdirwech (talk) found a better way) Tag: Undo |
(Infobox changeover is done. This template is no longer needed.) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[Category:{{{1}}}]]{{#ifeq:{{{3|}}}|||[[Category:{{{3}}}]]}}{{Entry/Top|{{{5}}}}}{{#set:Type = {{{1}}}}}{{#set:Type2 = {{{3}}}}} | + | <noinclude>{{Delete|reason = I'm proud to announce that the changeover from ''Define'' to ''Infobox main'' is complete! This template is no longer used by any page.}}</noinclude><includeonly>[[Category:{{{1}}}]]{{#ifeq:{{{3|}}}|||[[Category:{{{3}}}]]}}{{Entry/Top|{{{5}}}}}{{#set:Type = {{{1}}}}}{{#set:Type2 = {{{3}}}}} |
{{Entry| Type | [[{{{2}}}|{{{1}}}]] {{#ifeq:{{{3|}}}||| – [[{{{4}}}|{{{3}}}]]}} }} | {{Entry| Type | [[{{{2}}}|{{{1}}}]] {{#ifeq:{{{3|}}}||| – [[{{{4}}}|{{{3}}}]]}} }} | ||
{{Entry| Stack Limit | {{P|Stack Limit}} }} | {{Entry| Stack Limit | {{P|Stack Limit}} }} |
Revision as of 09:21, 20 April 2022
This page has been marked as a candidate for deletion. Reason: I'm proud to announce that the changeover from Define to Infobox main is complete! This template is no longer used by any page. If you disagree with its deletion, please explain why in the Discussion page. Remember to check What Links Here and the Page History before deleting. |
- 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, Template:Plant, or Template:Textile. The secondary template calls the Infobox/Thing template.
- Syntax
{{Infobox/Thing|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<parameter5>}}
- <parameter1>: Displayed in the infobox as the item type; This is also used used a category.
- <parameter2>: Provides the page name link for parameter1.
- <parameter3>: Optional, sets sub-type; This is also used used a category.
- <parameter4>: Provides the page name link for parameter3.
- <parameter5>: 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
The above documentation is transcluded from Template:Infobox/Thing/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |