Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
Marblemadmax (talk | contribs) No edit summary |
Marblemadmax (talk | contribs) (Re-ordered so ingtype and landscaping type are nested below category/type) |
||
Line 137: | Line 137: | ||
|Special={{name|Special|link=Timebending#Special{{!}}Special}} | |Special={{name|Special|link=Timebending#Special{{!}}Special}} | ||
|#default={{{craftingcategory|}}}}} | |#default={{{craftingcategory|}}}}} | ||
}}{{#if:{{{landscapingtype|}}}|<nowiki/> | |||
{{!}}- | |||
{{!}} id="infobox-label" {{!}} Landscaping Type: | |||
{{!}} <span id="nametemplate">{{#switch:{{{landscapingtype|}}} | |||
|Underbrush=[[File:Underbrush_Icon.png|22px|link=:Category:Underbrush]] [[:Category:Underbrush|Underbrush]][[Category:Underbrush]] | |||
|Tree=[[File:Trees_Icon.png|22px|link=:Category:Trees]] [[:Category:Trees|Tree]][[Category:Trees]] | |||
|Rock | |||
|Rocks=[[File:Rocks_Icon.png|22px|link=:Category:Rocks]] [[:Category:Rocks|Rock]][[Category:Rocks]] | |||
|Path=[[File:Pathing_Icon.png|22px|link=:Category:Paths]] [[:Category:Paths|Path]][[Category:Paths]] | |||
|Fencing=[[File:Fencing_Icon.png|22px|link=:Category:Fencing]] [[:Category:Fencing|Fencing]][[Category:Fencing]] | |||
|#default={{{landscapingtype|}}}}}</span> | |||
}}{{#if:{{{ingtype|}}}|<nowiki/> | |||
{{!}}- | |||
{{!}} id="infobox-label" {{!}} Ingredient Type: | |||
{{!}} <span id="nametemplate">{{#switch:{{{ingtype|}}} | |||
|Vegetables=[[File:Vegetables.png|22px|link=:Category:Vegetables]] [[:Category:Vegetables|Vegetable]][[Category:Vegetables]] | |||
|Fruit=[[File:Fruit.png|22px|link=:Category:Fruit]] [[:Category:Fruit|Fruit]][[Category:Fruit]] | |||
|Grains=[[File:Grains.png|22px|link=:Category:Grains]] [[:Category:Grains|Grain]][[Category:Grains]] | |||
|Dairy and Oil=[[File:Dairy and Oil.png|22px|link=:Category:Dairy and Oil]] [[:Category:Dairy and Oil|Dairy and Oil]][[Category:Dairy and Oil]] | |||
|Protein=[[File:Meat.png|22px|link=:Category:Meats]] [[:Category:Meats|Protein]][[Category:Meats]] | |||
|Spices=[[File:Spices_&_Herbs.png|22px|link=:Category:Spices]] [[:Category:Spices|Spices]][[Category:Spices]] | |||
|Sweets=[[File:Sweets.png|22px|link=:Category:Sweets]] [[:Category:Sweets|Sweets]][[Category:Sweets]] | |||
|Ice=[[File:Ice.png|22px|links=:Category:Ice]] [[:Category:Ice|Ice]][[Category:Ice]] | |||
|Seafood=[[File:Seafood.png|22px|links=:Category:Seafood]] [[:Category:Seafood|Seafood]][[Category:Seafood]] | |||
|Fish=[[File:Fish.png|22px|links=:Category:Fish]] [[:Category:Fish|Fish]][[Category:Fish]] | |||
|#default={{{ingtype|}}}}}</span> | |||
}}{{#if:{{{functions|}}}|{{#switch:{{{functions|}}} | }}{{#if:{{{functions|}}}|{{#switch:{{{functions|}}} | ||
|Arch | |Arch | ||
Line 213: | Line 239: | ||
{{!}} id="infobox-label" {{!}} Grows into: | {{!}} id="infobox-label" {{!}} Grows into: | ||
{{!}} {{name|{{{crop|}}}}} | {{!}} {{name|{{{crop|}}}}} | ||
}} | }}{{#if:{{{color|}}}|{{#ifeq: {{{color|}}}|none|[[Category:No Color Filters|No Color Filters]]|<nowiki/> | ||
{{#if:{{{color|}}}|{{#ifeq: {{{color|}}}|none|[[Category:No Color Filters|No Color Filters]]|<nowiki/> | |||
{{#arraydefine:a-color| {{{color|}}} }} | {{#arraydefine:a-color| {{{color|}}} }} | ||
{{!}}- | {{!}}- |
Revision as of 21:26, 23 January 2024
For usage guidelines, please see: Template:Infobox/doc