Template:Infobox: Difference between revisions

From Vintage Story Wiki
(gonna make this also a module so things are easier for us)
 
mNo edit summary
Line 1: Line 1:
{{#invoke:Infobox|infobox}}
<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>
docs tbd
{{Infobox
|Name=Text
|Image=File:Grid Copper hammer.png
|Type=Test
}}
</noinclude>
</noinclude>

Revision as of 12:53, 27 February 2020


Text
[[{{{1}}}|100px]]
Test