Difference between revisions of "Template:Infobox dam/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Garzfoth
(synchronize with main)
imported>Galobtter
(try something)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
{{#invoke:Type in location|main|{{#if:{{#invoke:String|match|{{PAGENAME}}|Power Station}}||{{#switch:{{uc:{{{dam_type|}}}}}
 +
                  |A=[[Arch dam]]
 +
                  |B=[[Barrage (dam)|Barrage]]
 +
                  |C=Combination gravity and earth fill dam
 +
                  |E=[[Embankment dam]]
 +
                  |F=[[Earth fill dam]]
 +
                  |G=[[Gravity dam]]
 +
                  |AG=[[Arch-gravity dam]]
 +
                  |#default={{{dam_type|}}}
 +
                  }}}}|{{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}}|check-patterns=[Dd]am;[Bb]arrage|invalidadd = dam}}{{Infobox
 
| bodyclass    = vcard
 
| bodyclass    = vcard
 
| child        = {{{child|{{{embed|}}}}}}
 
| child        = {{{child|{{{embed|}}}}}}

Latest revision as of 15:37, 19 May 2018