Difference between revisions of "Template:Materials"

From Paradise Station Wiki
Jump to navigation Jump to search
(Modifies the Template for reuse in the Research Items page, real fancy if you ask me)
(Undo revision 47372 by Imnotthesharpest (talk), I uhhh forgot to remove its usage in Research Items before changing it.... so I need to do that real quick)
Tag: Undo
Line 1: Line 1:
{{#if: {{{Metal|}}}|<span class="tooltip" style="display:Inline;">[[File:Metal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Metal</span></span>{{{Metal}}}<br>|}}{{#if: {{{Glass|}}}|<span class="tooltip" style="display:Inline;">[[File:Glass.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Glass</span></span>{{{Glass}}}<br>|}}{{#if: {{{Plasma|}}}|<span class="tooltip" style="display:Inline;">[[File:Plasma.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Plasma</span></span>{{{Plasma}}}<br>|}}{{#if: {{{Silver|}}}|<span class="tooltip" style="display:Inline;">[[File:Silver.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Silver</span></span>{{{Silver}}}<br>|}}{{#if: {{{Gold|}}}|<span class="tooltip" style="display:Inline;">[[File:Gold.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Gold</span></span>{{{Gold}}}<br>|}}{{#if: {{{Titanium|}}}|<span class="tooltip" style="display:Inline;">[[File:Titanium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Titanium</span></span>{{{Titanium}}}<br>|}}{{#if: {{{Uranium|}}}|<span class="tooltip" style="display:Inline;">[[File:Uranium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Uranium</span></span>{{{Uranium}}}<br>|}}{{#if: {{{Diamond|}}}|<span class="tooltip" style="display:Inline;">[[File:Diamond.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Diamond</span></span>{{{Diamond}}}<br>|}}{{#if: {{{Bluespace|}}}|<span class="tooltip" style="display:Inline;">[[File:Bluespace Crystal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Bluespace Mesh</span></span>{{{Bluespace}}}<br>|}}{{#if: {{{Bananium|}}}|<span class="tooltip" style="display:Inline;">[[File:Bananium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Bananium</span></span>{{{Bananium}}}<br>|}}{{#if: {{{Tranquillite|}}}|<span class="tooltip" style="display:Inline;">[[File:Tranquillite.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline;width:230%;">Tranquillite</span></span>{{{Tranquillite}}}<br>|}}
{{#if: {{{Metal|}}}|[[File:Metal.png|32px]] {{{Metal}}} Metal<br>|}}{{#if: {{{Glass|}}}|[[File:Glass.png|32px]] {{{Glass}}} Glass<br>|}}{{#if: {{{Plasma|}}}|[[File:Plasma.png|32px]] {{{Plasma}}} Plasma<br>|}}{{#if: {{{Silver|}}}|[[File:Silver.png|32px]] {{{Silver}}} Silver<br>|}}{{#if: {{{Gold|}}}|[[File:Gold.png|32px]] {{{Gold}}} Gold<br>|}}{{#if: {{{Titanium|}}}|[[File:Titanium.png|32px]] {{{Titanium}}} Titanium<br>|}}{{#if: {{{Uranium|}}}|[[File:Uranium.png|32px]] {{{Uranium}}} Uranium<br>|}}{{#if: {{{Diamond|}}}|[[File:Diamond.png|32px]] {{{Diamond}}} Diamond<br>|}}{{#if: {{{Bluespace|}}}|[[File:Bluespace Crystal.png|32px]] {{{Bluespace}}} Bluespace Mesh<br>|}}{{#if: {{{Bananium|}}}|[[File:Bananium.png|32px]]{{{Uranium}}} Bananium<br>|}}{{#if: {{{Tranquillite|}}}|[[File:Tranquillite.png|32px]] {{{Tranquillite}}} Tranquillite<br>|}}
 
<noinclude>Usage:<nowiki>{{Materials|Metal=1000|Glass=1000|Plasma=1000|Silver=1000|Gold=1000|Tranquillite=1000}}</nowiki><br>{{Materials|Metal=1000|Glass=1000|Plasma=1000|Silver=1000|Gold=1000|Tranquillite=1000}} can include other materials that may not be listed such as, Diamonds or Bananium</noinclude>
 
 
<noinclude><!-- I am sorry for the spaghetti mess up there, it's required. If the lines are seperate the front-end of the list seperates. I can however offer you what It would look like if it was seperate; look down below. --></noinclude>
 
 
<noinclude><!--
{{#if: {{{Metal|}}}|<span class="tooltip" style="display:inline;">[[File:Metal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Metal</span></span>{{{Metal}}}<br>|}}
{{#if: {{{Glass|}}}|<span class="tooltip" style="display:Inline;">[[File:Glass.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Glass</span></span>{{{Glass}}}<br>|}}
{{#if: {{{Plasma|}}}|<span class="tooltip" style="display:inline;">[[File:Plasma.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Plasma</span></span>{{{Plasma}}}<br>|}}
{{#if: {{{Silver|}}}|<span class="tooltip" style="display:Inline;">[[File:Silver.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Silver</span></span>{{{Silver}}}<br>|}}
{{#if: {{{Gold|}}}|<span class="tooltip" style="display:Inline;">[[File:Gold.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Gold</span></span>{{{Gold}}}<br>|}}
{{#if: {{{Titanium|}}}|<span class="tooltip" style="display:Inline;">[[File:Titanium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Titanium</span></span>{{{Titanium}}}<br>|}}
{{#if: {{{Uranium|}}}|<span class="tooltip" style="display:Inline;">[[File:Uranium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Uranium</span></span>{{{Uranium}}}<br>|}}
{{#if: {{{Diamond|}}}|<span class="tooltip" style="display:Inline;">[[File:Diamond.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Diamond</span></span>{{{Diamond}}}<br>|}}
{{#if: {{{Bluespace|}}}|<span class="tooltip" style="display:Inline;">[[File:Bluespace Crystal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Bluespace Mesh</span></span>{{{Bluespace}}}<br>|}}
{{#if: {{{Bananium|}}}|<span class="tooltip" style="display:Inline;">[[File:Bananium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Bananium</span></span>{{{Bananium}}}<br>|}}
{{#if: {{{Tranquillite|}}}|<span class="tooltip" style="display:Inline;">[[File:Tranquillite.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:0%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:inline;width:230%;">Tranquillite</span></span>{{{Tranquillite}}}<br>|}}
--></noinclude>

Revision as of 04:35, 23 May 2024