Template:Biome: Difference between revisions

From Sagan 4 Alpha Wiki
Jump to navigation Jump to search
Content added Content deleted
imported>Mason11987
m (test)
imported>Mason11987
m (test)
Line 52: Line 52:
</table>
</table>
</div></div>
</div></div>
<div style="clear: right;float: {{{float|right}}}; padding: 1em;"><div style="background: #CEC1F9; border: 1px solid #999999; padding: 0em 1em 0.5em 1em;">

<table style="background: transparent; border-collapse: collapse; padding: 0; font-size: x-small; text-align: left;" cellspacing="0" cellpadding="0" >

<tr>
<td style="padding: 0.4em 1em 0.4em 0; text-align: center; vertical-align: top; white-space: nowrap;" > '''Descendant of'''
</td>
<td style="padding: 0.4em 1em 0.4em 0; text-align: center; vertical-align: top; white-space: nowrap;" > '''[[:category:Descendant of {{{name}}}|Ancestor of]]'''
</td></tr><tr>
<td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; vertical-align: top;"> {{qif|test={{{ancestor|}}}|then=[[{{{ancestor}}}]]{{#ifeq:{{PAGENAME}}|{{{name}}}|[[category:Descendant biome of {{{ancestor}}}|{{PAGENAME}}]]|}}|else={{qif|test={{{ancestorX|}}}|then={{{ancestorX}}}|else=''Unknown''}}}}
</td>
<td style="border-top: solid 1px #999999; padding: 0.4em 1em 0.4em 0; vertical-align: top;">
<DPL>
debug=1
category=Descendant biome of {{PAGENAME}}
category=Biomes
mode=none
titlemaxlength=40
<DPL>
</td></tr></table></div></div>
<div style="clear: right;float: {{{float|right}}}; padding: 1em;"><div style="background: #CEC1F9; border: 1px solid #999999; padding: 0em 1em 0.5em 1em;">
<div style="clear: right;float: {{{float|right}}}; padding: 1em;"><div style="background: #CEC1F9; border: 1px solid #999999; padding: 0em 1em 0.5em 1em;">
<table style="background: transparent; border-collapse: collapse; padding: 0; font-size: x-small; text-align: left;" cellspacing="0" cellpadding="0" >
<table style="background: transparent; border-collapse: collapse; padding: 0; font-size: x-small; text-align: left;" cellspacing="0" cellpadding="0" >

Revision as of 10:17, 15 January 2008

This template is to be used on biomes pages.

Usage

{{Biome
|name        = 
|week        =
|image       = Just the file name, leave blank if none (optional)
|extant      = (If extinct, place a 1 here.  If extanct leave blank)
|ancestor    = 
|ancestorx   = 
}}

Example input

{{Biome
|name        = Tidepool
|week        = 1
|image       = tidepool.jpg
|extant      = 1
|ancestor    = 
}}
text text text text text

Example output

Tidepool

Week

1

Descendant of Ancestor of
Unknown

<DPL> debug=1 category=Descendant biome of Biome category=Biomes mode=none titlemaxlength=40 <DPL>

Species

<DPL> debug=1 category=Biome category=Species mode=none titlemaxlength=40 <DPL>


text text text text text