Difference between revisions of "Template:Materials"

From Paradise Station Wiki
Jump to navigation Jump to search
m (removed the blankspace technically in the template)
m (moved the tooltip a bit out of the way)
 
(One intermediate revision by the same user not shown)
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>|}}<noinclude>
{{#if: {{{Metal|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Metal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Metal</span></span>{{{Metal}}}</span>|}}{{#if: {{{Glass|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Glass.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Glass</span></span>{{{Glass}}}</span>|}}{{#if: {{{Plasma|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Plasma.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Plasma</span></span>{{{Plasma}}}</span>|}}{{#if: {{{Silver|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Silver.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Silver</span></span>{{{Silver}}}</span>|}}{{#if: {{{Gold|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Gold.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Gold</span></span>{{{Gold}}}</span>|}}{{#if: {{{Titanium|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Titanium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Titanium</span></span>{{{Titanium}}}</span>|}}{{#if: {{{Uranium|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Uranium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Uranium</span></span>{{{Uranium}}}</span>|}}{{#if: {{{Diamond|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Diamond.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Diamond</span></span>{{{Diamond}}}</span>|}}{{#if: {{{Bluespace|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Bluespace Crystal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Bluespace Mesh</span></span>{{{Bluespace}}}</span>|}}{{#if: {{{Bananium|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Bananium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Bananium</span></span>{{{Bananium}}}</span>|}}{{#if: {{{Tranquillite|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Tranquillite.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Tranquillite</span></span>{{{Tranquillite}}}</span>|}}<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>
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}} <br>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>
<!-- 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: {{{Metal|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Metal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Metal</span></span>{{{Metal}}}</span>|}}
{{#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: {{{Glass|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Glass.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Glass</span></span>{{{Glass}}}</span>|}}
{{#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: {{{Plasma|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Plasma.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Plasma</span></span>{{{Plasma}}}</span>|}}
{{#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: {{{Silver|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Silver.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Silver</span></span>{{{Silver}}}</span>|}}
{{#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: {{{Gold|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Gold.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Gold</span></span>{{{Gold}}}</span>|}}
{{#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: {{{Titanium|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Titanium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Titanium</span></span>{{{Titanium}}}</span>|}}
{{#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: {{{Uranium|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Uranium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Uranium</span></span>{{{Uranium}}}</span>|}}
{{#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: {{{Diamond|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Diamond.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Diamond</span></span>{{{Diamond}}}</span>|}}
{{#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: {{{Bluespace|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Bluespace Crystal.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Bluespace Mesh</span></span>{{{Bluespace}}}</span>|}}
{{#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: {{{Bananium|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Bananium.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Bananium</span></span>{{{Bananium}}}</span>|}}
{{#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: {{{Tranquillite|}}}|<span style="display:Inline-Flex;"><span class="tooltip" style="display:Inline-Flex;">[[File:Tranquillite.png|32px]]<span class="tooltiptext" style="background:#FEF6E7;z-index:200;top:75%;left:32px;box-shadow: 0 0 .3em #999;border-radius:.2em;padding:3px;display:Inline-Flex;width:230%;">Tranquillite</span></span>{{{Tranquillite}}}</span>|}}
--></noinclude>
--></noinclude>

Latest revision as of 19:47, 13 June 2024


Usage:{{Materials|Metal=1000|Glass=1000|Plasma=1000|Silver=1000|Gold=1000|Tranquillite=1000}}
Metal.pngMetal1000Glass.pngGlass1000Plasma.pngPlasma1000Silver.pngSilver1000Gold.pngGold1000Tranquillite.pngTranquillite1000
can include other materials that may not be listed such as, Diamonds or Bananium