Template:Biome: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
imported>Mnidjm
No edit summary
imported>Disgustedorite
(added an automatic check for whether the biome is extant)
Line 47: Line 47:
<td colspan="2" style="background: #fff; border: 1px solid #999999; padding: 1em; text-align: center;" > [[Image:{{{image|}}}|200px]]
<td colspan="2" style="background: #fff; border: 1px solid #999999; padding: 1em; text-align: center;" > [[Image:{{{image|}}}|200px]]
}}</td></tr><tr>
}}</td></tr><tr>
<td colspan=2 style="padding: 0.4em 1em 0.4em 0; text-align: center; vertical-align: top; white-space: nowrap;" >
<td colspan=2 style="padding: 0.4em 1em 0.4em 0; text-align: center; vertical-align: top; white-space: nowrap;" > {{#ifeq:{{linksto|Week {{ThisWeek}}/Ecosystem|{{{name|{{PAGENAME}}}}}}}|Yes|[[Image:Extant.png]][[Category:Extant_Biome]]|[[Image:Extinct.png]][[category:Extinct_Biome]]}}
{{qif|test={{{extant|}}}|then=[[Image:Extinct.png]]{{#ifeq:{{PAGENAME}}|{{{name}}}|[[category:Extinct_Biome]]|}}|else=[[Image:Extant.png]]{{#ifeq:{{PAGENAME}}|{{{name}}}|[[Category:Extant_Biome]]|}}}}
</td></tr>
</td></tr>
<tr><td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; text-align: left; vertical-align: top; white-space: nowrap;" > '''Week'''
<tr><td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; text-align: left; vertical-align: top; white-space: nowrap;" > '''Week'''