Template:Infobox: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) (gonna make this also a module so things are easier for us) |
VeryGoodDog (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{# | <includeonly> | ||
{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:{{#if:{{{FloatLeft|}}}|left|right}}; margin:{{#if:{{{Margin|}}}|1em|0}};" | |||
|- | |||
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font> | |||
{{#if: {{{Image|}}} | | |||
{{Infobox/Image | |||
|Image={{{Image}}} | |||
}} }} | |||
|- | |||
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[{{{Type|}}}|<font color="white">'''{{{Type}}}'''</font>]] | |||
|}{{#if:{{{NoBreak|}}}||{{-}} }} | |||
[[Category:Infoboxes]] | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{Infobox | |||
|Name=Text | |||
|Image=File:Grid Copper hammer.png | |||
|Type=Test | |||
}} | |||
</noinclude> | </noinclude> |