Template:LandscapingVariantDescription: Difference between revisions

Add multiple variants language, attempt at line spacing...
(Change inputparam name from similarArray to similarItems - slightly more non-tech friendly, and technically isn't an array yet, just csv)
(Add multiple variants language, attempt at line spacing...)
Line 1: Line 1:
<includeonly>{{#arraydefine:similarArray|{{{similarItems|}}}}}{{#ifeq: {{{variantCount|}}} | 1 |'''{{PAGENAME}}''' has only one variant, which will be always be provided each time it is selected from the menu.| TODO-variantCount!=1 }}
<includeonly>{{#arraydefine:similarArray|{{{similarItems|}}}}}{{#ifeq: {{{variantCount|}}} | 1 |'''{{PAGENAME}}''' has only one variant, which will be always be provided each time it is selected from the menu.|}}{{#ifeq: {{{variantCount|}}} | multiple |'''{{PAGENAME}}''' has multiple variants, one of which will be provided randomly each time it is selected from the menu.|}}{{#if: {{{similarItems|}}} |


{{#if: {{{similarItems|}}} | The variant is similar in size and shape to that of {{#arrayprint: similarArray |,&nbsp;| arrayItem |[[arrayItem]]|print=pretty}}, but has different coloring.|}}</includeonly><noinclude>
The variant is similar in size and shape to that of {{#arrayprint: similarArray |,&nbsp;| arrayItem |[[arrayItem]]|print=pretty}}, but has different coloring.|}}</includeonly><noinclude>


{{landscapingVariantDescription|variantCount=1|similarItems=}}
Thorn Vine
{{landscapingVariantDescription|variantCount=multiple|similarItems=}}


{{landscapingVariantDescription|variantCount=2|similarItems=Plaza Dwarf Birch, Peaceful Meadow Dwarf Birch, Forest of Valor Dwarf Birch, Glade of Trust Dwarf Birch, Sunlit Plateau Dwarf Birch, Forgotten Lands Dwarf Birch}}
Dazzle Beach Dwarf Birch
{{landscapingVariantDescription|variantCount=1|similarItems=Plaza Dwarf Birch, Peaceful Meadow Dwarf Birch, Forest of Valor Dwarf Birch, Glade of Trust Dwarf Birch, Sunlit Plateau Dwarf Birch, Forgotten Lands Dwarf Birch}}




[[Category:Transclusion templates]]</noinclude>
[[Category:Transclusion templates]]</noinclude>
moderator
27,383

edits