Template:NovaEras: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>PrestusHood
No edit summary
>PrestusHood
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{type|}}}}}
<table class="infobox" style="width:{{#switch:{{{width|}}}|nation=297px|officeholder=270px|#default={{#iferror:{{#expr:{{{width}}}}}|auto|{{{width}}}px}}}}; text-align:right; background:white;">
|ages=
<table class="infobox" style="width:{{#switch:{{{width|}}}|nation=297px|officeholder=270px|#default={{#iferror:{{#expr:{{{width}}}}}|auto|{{{width}}}px}}}}; text-align:right; background:white;"><tr>
<td>{{Ageicon|{{{1|}}}}}{{Ageicon|{{{2|}}}}}{{Ageicon|{{{3|}}}}}{{Ageicon|{{{4|}}}}}{{Ageicon|{{{5|}}}}}{{Ageicon|{{{6|}}}}}{{Ageicon|{{{7|}}}}}{{#if:{{{8|}}}|<br />|}}{{Ageicon|{{{8|}}}}}{{Ageicon|{{{9|}}}}}{{Ageicon|{{{10|}}}}}</td>
</tr></table>{{clear}}
|eras=
<table class="infobox" style="width:{{#iferror:{{#expr:{{{width}}}}}|100%|{{{width}}}px}}; text-align:{{#if:{{{7|}}}|<!--center (appears to be causing problems) -->left|left}}; background:white;"><tr>
<td>{{Eraicon|{{{1|}}}}}{{Eraicon|{{{2|}}}}}{{Eraicon|{{{3|}}}}}{{Eraicon|{{{4|}}}}}{{Eraicon|{{{5|}}}}}{{Eraicon|{{{6|}}}}}{{Eraicon|{{{7|}}}}}{{#if:{{{8|}}}|<br />|}}{{Eraicon|{{{8|}}}}}{{Eraicon|{{{9|}}}}}{{Eraicon|{{{10|}}}}}{{Eraicon|{{{11|}}}}}{{Eraicon|{{{12|}}}}}{{Eraicon|{{{13|}}}}}{{Eraicon|{{{14|}}}}}{{#if:{{{15|}}}|<br />|}}{{Eraicon|{{{15|}}}}}{{Eraicon|{{{16|}}}}}{{Eraicon|{{{17|}}}}}</td>
</tr></table>
|other=
<table class="infobox" style="width:auto; text-align:right; background:white;"><tr><td>{{Eraicon|npo}}</td></tr></table>{{#ifeq:{{{1|}}}|clear|{{clear}}|}}
|#default=<span class="error">Invalid type</span>
}}</includeonly><noinclude>{{documentation}}[[Category:Eras|{{PAGENAME}}]]</noinclude>

Revision as of 02:03, 17 May 2019