Actions

Template

Difference between revisions of "Imagebox"

From Unofficial Stationeers Wiki

(Create Imagebox)
 
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<div style="border: 1px solid #c8ccd1;
+
<table align={{{align|left}}} style="line-height:1.5em;margin:{{{margin|0 1em 0 0}}};font-size:90%;background:{{{background|transparent}}};color:{{{color|black}}};border:{{{border|none}}};">  
  padding: 5px;
+
<tr>
  width: 124px;
+
<td style="padding:0px;">{{{content|{{{1|placeholder icon.png}}}}}}</td>
  float: left;">
+
</tr>
<div style="border: 1px solid #ddd;
+
<tr>
  padding: 5px;
+
<td style="width:{{{cwidth|auto}}};font-family:{{{ff|inherit}}};padding:{{{padding|2px 2px 2px 4px}}};white-space:pre-wrap;">{{{caption|{{{2|}}}}}}</td>
  width: 112px;
+
</tr>
  height: 112px;">
 
[[File:{{{img|{{{1|placeholder icon.png}}}}}}|100px]]
 
</div>
 
<div style="margin: 0px;
 
  margin: inherit;">
 
{{{desc|{{{2|Default Description}}}}}}
 
</div>
 
</div>
 
 
</onlyinclude>
 
</onlyinclude>
 +
{{Documentation|content=
 +
 +
<nowiki>{{imagebox|ItemCopperOre.png}}</nowiki>
 +
{{imagebox|ItemCopperOre.png}}
 +
 +
<nowiki>{{imagebox|ItemCopperOre.png}}</nowiki>
 +
{{imagebox|ItemCopperOre.png}}
 +
 +
}}

Revision as of 20:37, 11 November 2020

Template documentation

{{imagebox|ItemCopperOre.png}}

placeholder icon.png
{{imagebox|ItemCopperOre.png}}
ItemCopperOre.png
{{{2}}}
</div>
ItemCopperOre.png
{{{2}}}