Template:ItemTable: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 1: Line 1:
{|style="background-color:rgba(0, 0, 0, 0.5); padding:10px; border:solid; border-width:2px; border-color:#3b899f; font-family:snfont, sans-serif;width:{{{width|0}}}px;"
{|style="background-color:rgba(0, 0, 0, 0.5); padding:10px; border:solid; border-width:2px; border-color:#3b899f; font-family:snfont, sans-serif;width:{{{width|0}}}px;"
|-
|-
|colspan=6 style="font-size:30px; padding-bottom:10px;"|{{{name|Example}}}
|colspan=3 style="font-size:30px; padding-bottom:10px;"|{{{name|Example}}}
|-
|-
|colspan=6 style="font-size:18px; padding-bottom:10px;"|{{{desc|Example description}}}
|colspan=3 style="font-size:18px; padding-bottom:10px;"|{{{desc|Example description}}}
|-
|-
|colspan=2 style="font-size:18px; text-align:center; padding-left:{{#if:{{{item2|}}}|30|45}}px; padding-right:10px; {{#if:{{{item2|}}}||margin-bottom:-40px;}} display:block;"|[[File:{{{item1|Titanium}}}.png|60px|link={{{item1|Titanium}}}]]<br />[[{{{item1|Titanium}}}|<font color=#93dc02>{{{item1|Titanium}}}{{#if:{{{count1|}}}|&nbsp;x{{{count1|}}}|}}</font>]]
|style="font-size:18px; text-align:center; padding-left:{{#if:{{{item2|}}}|30|45}}px; padding-right:10px; {{#if:{{{item2|}}}||margin-bottom:-40px;}} display:block;"|[[File:{{{item1|Titanium}}}.png|60px|link={{{item1|Titanium}}}]]<br />[[{{{item1|Titanium}}}|<font color=#93dc02>{{{item1|Titanium}}}{{#if:{{{count1|}}}|&nbsp;x{{{count1|}}}|}}</font>]]
{{#if:{{{item2|}}}|
{{#if:{{{item2|}}}|
{{!}}colspan=2 style="font-size:18px; text-align:center; padding-left:10px; padding-right:10px; {{#if:{{{item3|}}}|{{#if:{{{item4|}}}||padding-bottom:40px;}}|}}"{{!}}[[File:{{{item2|Glass}}}.png|60px|link={{{item2|Glass}}}]]<br />[[{{{item2|Glass}}}|<font color=#93dc02>{{{item2|Glass}}}{{#if:{{{count2|}}}|&nbsp;x{{{count2|}}}|}}</font>]]
{{!}}style="font-size:18px; text-align:center; padding-left:10px; padding-right:10px; {{#if:{{{item3|}}}|{{#if:{{{item4|}}}||padding-bottom:40px;}}|}}"{{!}}[[File:{{{item2|Glass}}}.png|60px|link={{{item2|Glass}}}]]<br />[[{{{item2|Glass}}}|<font color=#93dc02>{{{item2|Glass}}}{{#if:{{{count2|}}}|&nbsp;x{{{count2|}}}|}}</font>]]
|}}
|}}
{{#if:{{{item3|}}}|
{{#if:{{{item3|}}}|
{{!}}colspan=2 style="font-size:18px; text-align:center; padding-left:10px; padding-right:30px;"{{!}}[[File:{{{item3|Glass}}}.png|60px|link={{{item3|Glass}}}]]<br />[[{{{item3|Glass}}}|<font color=#93dc02>{{{item3|Glass}}}{{#if:{{{count3|}}}|&nbsp;x{{{count3|}}}|}}</font>]]
{{!}}style="font-size:18px; text-align:center; padding-left:10px; padding-right:30px;"{{!}}[[File:{{{item3|Glass}}}.png|60px|link={{{item3|Glass}}}]]<br />[[{{{item3|Glass}}}|<font color=#93dc02>{{{item3|Glass}}}{{#if:{{{count3|}}}|&nbsp;x{{{count3|}}}|}}</font>]]
|}}
|}}
{{#if:{{{item4|}}}|
{{#if:{{{item4|}}}|
{{!}}-
{{!}}-
{{!}}colspan=2 style="font-size:18px; text-align:center; padding-right:10px;"{{!}}[[File:{{{item4|Glass}}}.png|60px|link={{{item4|Glass}}}]]<br />[[{{{item4|Glass}}}|<font color=#93dc02>{{{item4|Glass}}}{{#if:{{{count4|}}}|&nbsp;x{{{count4|}}}|}}</font>]]
{{!}}{{#if:{{{item5|}}}|colspan=3|}} style="font-size:18px; text-align:center; padding-right:10px;"{{!}}[[File:{{{item4|Glass}}}.png|60px|link={{{item4|Glass}}}]]<br />[[{{{item4|Glass}}}|<font color=#93dc02>{{{item4|Glass}}}{{#if:{{{count4|}}}|&nbsp;x{{{count4|}}}|}}</font>]]
|}}
|}}
{{#if:{{{item5|}}}|
{{#if:{{{item5|}}}|
{{!}}colspan=2 style="font-size:18px; text-align:center; padding-left:10px; float:left;"{{!}}[[File:{{{item5|Glass}}}.png|60px|link={{{item5|Glass}}}]]<br />[[{{{item5|Glass}}}|<font color=#93dc02>{{{item5|Glass}}}{{#if:{{{count5|}}}|&nbsp;x{{{count5|}}}|}}</font>]]
{{!}}style="font-size:18px; text-align:center; padding-left:10px; float:left;"{{!}}[[File:{{{item5|Glass}}}.png|60px|link={{{item5|Glass}}}]]<br />[[{{{item5|Glass}}}|<font color=#93dc02>{{{item5|Glass}}}{{#if:{{{count5|}}}|&nbsp;x{{{count5|}}}|}}</font>]]
|}}
|}}
|}
|}

Revision as of 00:32, 15 June 2019

Example
Example description
Titanium.png
Titanium