Template:LandscapingDescription: Difference between revisions

Jump to navigation Jump to search
Change to switch statement, include landscapingtype=Rock, and default fallback
(Create page, conditions for Tree and Underbrush, using ifeq for now)
 
(Change to switch statement, include landscapingtype=Rock, and default fallback)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{landscapingtype|}}} | Tree |'''{{PAGENAME}}''' is a [[Landscaping#Trees|tree]] type of [[Landscaping]] item.|}}{{#ifeq: {{{landscapingtype|}}} | Underbrush |'''{{PAGENAME}}''' is a [[Landscaping#Underbrush|underbrush]] type of [[Landscaping]] item.|}}
<includeonly>{{#switch:{{{landscapingtype|}}}
          |Underbrush='''{{PAGENAME}}''' is a [[Landscaping#Underbrush|underbrush]] type of [[Landscaping]] item.
          |Tree='''{{PAGENAME}}''' is a [[Landscaping#Trees|tree]] type of [[Landscaping]] item.
          |Rock='''{{PAGENAME}}''' is a [[Landscaping#Trees|rock]] type of [[Landscaping]] item.
          |#default='''{{PAGENAME}}''' is a [[Landscaping]] item.}}


It can be positioned and placed outdoors using the [[Landscaping]] section of the '''Furniture''' menu placement mode.
It can be positioned and placed outdoors using the [[Landscaping]] section of the '''Furniture''' menu placement mode.
</includeonly><noinclude>
</includeonly><noinclude>


{{landscapingDescription|landscapingtype=Underbrush}}
{{landscapingDescription|landscapingtype=Tree}}
{{landscapingDescription|landscapingtype=Tree}}
{{landscapingDescription|landscapingtype=Underbrush}}
{{landscapingDescription|landscapingtype=Rock}}
{{landscapingDescription}}
 


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

edits

Navigation menu