Template:LandscapingVariantTable: Difference between revisions

Jump to navigation Jump to search
Use switch instead of ifeq, allows reuse of same template for landscapingtype=Underbrush or Rock
(Name references so that duplicate text reference lines aren't created)
(Use switch instead of ifeq, allows reuse of same template for landscapingtype=Underbrush or Rock)
Line 1: Line 1:
{{#ifeq:{{{landscapingtype|}}}|Underbrush|
{{#switch:{{{landscapingtype|}}}
          |Underbrush
          |Rock=
{{{!}} class='wikitable sortable' id='recipe-table'
{{{!}} class='wikitable sortable' id='recipe-table'
! Image
! Image
Line 42: Line 44:
|}}
|}}
{{!}}}
{{!}}}
|
          |Tree=
{{{!}} class='wikitable sortable' id='recipe-table'
{{{!}} class='wikitable sortable' id='recipe-table'
! Image
! Image
Line 114: Line 116:
|}}
|}}
{{!}}}
{{!}}}
}}
<references/>
<references/><noinclude>
          |#default=}}
<noinclude>


{{landscapingVariantTable|landscapingtype=Underbrush|
{{landscapingVariantTable|landscapingtype=Underbrush|
   img1=Beach Grass.png|name1=Beach Grass 1|size1=4x4|tile1=no|walkthrough1=yes|biome1=Dazzle Beach|
   img1=|name1=Beach Grass 1|size1=4x4|tile1=no|walkthrough1=yes|biome1=Dazzle Beach|
   img2=|name2=Beach Grass 2|size2=5x5|tile2=no|walkthrough2=yes|biome2=Dazzle Beach|
   img2=Beach Grass.png|name2=Beach Grass 2|size2=5x5|tile2=no|walkthrough2=yes|biome2=Dazzle Beach|
}}
}}
{{landscapingVariantTable|landscapingtype=Underbrush|
{{landscapingVariantTable|landscapingtype=Rock|
   img1=Thorn Vine.png|name1=Thorn Vine 1|size1=2x2|tile1=no|walkthrough1=no|biome1=Forgotten Lands|
   img1=Thorn Vine.png|name1=Thorn Vine 1|size1=2x2|tile1=no|walkthrough1=no|biome1=Forgotten Lands|
   img2=|name2=Thorn Vine 2|size2=4x2|tile2=no|walkthrough2=no|biome2=|
   img2=|name2=Thorn Vine 2|size2=4x2|tile2=no|walkthrough2=no|biome2=|
moderator
27,360

edits

Navigation menu