Difference between revisions of "Template:Infobox home system"

From BotE Wiki
Jump to: navigation, search
(new)
 
(Fixed resource symbols which were out of alignment)
Line 31: Line 31:
 
|-
 
|-
 
{{#ifexpr: {{{3}}} < 1| |! <!--  
 
{{#ifexpr: {{{3}}} < 1| |! <!--  
  -->{{#ifexpr: {{{13}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{13}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{14}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{14}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{15}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{15}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{16}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{16}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{17}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{17}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{18}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{18}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{19}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{19}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{20}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{20}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 2| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 2| |!! <!--  
  -->{{#ifexpr: {{{31}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{31}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{32}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{32}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{33}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{33}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{34}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{34}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{35}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{35}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{36}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{36}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{37}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{37}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{38}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{38}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 3| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 3| |!! <!--  
  -->{{#ifexpr: {{{49}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{49}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{50}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{50}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{51}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{51}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{52}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{52}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{53}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{53}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{54}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{54}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{55}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{55}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{56}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{56}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 4| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 4| |!! <!--  
  -->{{#ifexpr: {{{67}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{67}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{68}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{68}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{69}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{69}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{70}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{70}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{71}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{71}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{72}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{72}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{73}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{73}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{74}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{74}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 5| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 5| |!! <!--  
  -->{{#ifexpr: {{{85}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{85}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{86}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{86}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{87}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{87}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{88}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{88}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{89}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{89}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{90}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{90}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{91}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{91}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{92}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{92}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 6| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 6| |!! <!--  
  -->{{#ifexpr: {{{103}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{103}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{104}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{104}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{105}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{105}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{106}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{106}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{107}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{107}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{108}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{108}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{109}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{109}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{110}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{110}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 7| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 7| |!! <!--  
  -->{{#ifexpr: {{{121}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{121}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{122}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{122}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{123}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{123}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{124}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{124}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{125}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{125}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{126}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{126}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{127}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{127}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{128}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{128}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 8| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 8| |!! <!--  
  -->{{#ifexpr: {{{139}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{139}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{140}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{140}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{141}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{141}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{142}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{142}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{143}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{143}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{144}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{144}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{145}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{145}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{146}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{146}}}|{{image|Other/energySmall.png}}|}} }} <!--
{{#ifexpr: {{{3}}} < 9| |! <!--  
+
-->{{#ifexpr: {{{3}}} < 9| |!! <!--  
  -->{{#ifexpr: {{{157}}}|{{image|Other/titanSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{157}}}|{{image|Other/titanSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{158}}}|{{image|Other/deuteriumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{158}}}|{{image|Other/deuteriumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{159}}}|{{image|Other/duraniumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{159}}}|{{image|Other/duraniumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{160}}}|{{image|Other/crystalSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{160}}}|{{image|Other/crystalSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{161}}}|{{image|Other/iridiumSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{161}}}|{{image|Other/iridiumSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{162}}}|{{image|Other/Deritium.png }} }} <!--  
+
  -->{{#ifexpr: {{{162}}}|{{image|Other/Deritium.png}}|}} <!--  
  -->{{#ifexpr: {{{163}}}|{{image|Other/foodSmall.png }} }} <!--  
+
  -->{{#ifexpr: {{{163}}}|{{image|Other/foodSmall.png}}|}} <!--  
  -->{{#ifexpr: {{{164}}}|{{image|Other/energySmall.png }} }} }}
+
  -->{{#ifexpr: {{{164}}}|{{image|Other/energySmall.png}}|}} }}
 
|-
 
|-
{{#ifexpr: {{{3}}} < 1| |! {{#if: {{{PLANET1|}}}|{{image|Planets/{{{PLANET1|}}} }}|{{image|Planets/{{strip whitespace | {{{4|}}} }}.png}} }} }}<!--  
+
{{#ifexpr: {{{3}}} < 1| |! {{image|Planets/{{{PLANET1}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 2| |!! {{#if: {{{PLANET2|}}}|{{image|Planets/{{{PLANET2|}}} }}|{{image|Planets/{{strip whitespace | {{{22|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 2| |!! {{image|Planets/{{{PLANET2}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 3| |!! {{#if: {{{PLANET3|}}}|{{image|Planets/{{{PLANET3|}}} }}|{{image|Planets/{{strip whitespace | {{{40|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 3| |!! {{image|Planets/{{{PLANET3}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 4| |!! {{#if: {{{PLANET4|}}}|{{image|Planets/{{{PLANET4|}}} }}|{{image|Planets/{{strip whitespace | {{{58|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 4| |!! {{image|Planets/{{{PLANET4}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 5| |!! {{#if: {{{PLANET5|}}}|{{image|Planets/{{{PLANET5|}}} }}|{{image|Planets/{{strip whitespace | {{{76|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 5| |!! {{image|Planets/{{{PLANET5}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 6| |!! {{#if: {{{PLANET6|}}}|{{image|Planets/{{{PLANET6|}}} }}|{{image|Planets/{{strip whitespace | {{{94|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 6| |!! {{image|Planets/{{{PLANET6}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 7| |!! {{#if: {{{PLANET7|}}}|{{image|Planets/{{{PLANET7|}}} }}|{{image|Planets/{{strip whitespace | {{{112|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 7| |!! {{image|Planets/{{{PLANET7}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 8| |!! {{#if: {{{PLANET8|}}}|{{image|Planets/{{{PLANET8|}}} }}|{{image|Planets/{{strip whitespace | {{{130|}}} }}.png}} }} }}<!--  
+
  -->{{#ifexpr: {{{3}}} < 8| |!! {{image|Planets/{{{PLANET8}}} }} }}<!--  
  -->{{#ifexpr: {{{3}}} < 9| |!! {{#if: {{{PLANET9|}}}|{{image|Planets/{{{PLANET9|}}} }}|{{image|Planets/{{strip whitespace | {{{148|}}} }}.png}} }} }}
+
  -->{{#ifexpr: {{{3}}} < 9| |!! {{image|Planets/{{{PLANET9}}} }} }}
 
|-
 
|-
 
{{#ifexpr: {{{3}}} < 1| |! style="color:#{{#switch: {{{12}}}
 
{{#ifexpr: {{{3}}} < 1| |! style="color:#{{#switch: {{{12}}}

Revision as of 01:38, 6 September 2013

This is a template and changes to it will effect other pages.

Please consider discussing any changes on the talk page before implementing them.

{{Infobox home system
|RACENUMBER = 
<!-- planet image links -->
|PLANET1 = Earth.png
|PLANET2 = 
|PLANET3 = 
|PLANET4 = 
|PLANET5 = 
|PLANET6 = 
|PLANET7 = 
|PLANET8 = 
|PLANET9 = 
<!-- optional colour specification -->
|FONT = 
|FRAME1 = 
|FRAME2 = 
<!-- optional system name heading, colours and font size-->
|NAME = 
|NFONT = 
|NFRAME1 = 
|NFRAME2 = 
|SIZE = 
<!-- data from MajorPlanets.data -->
}}