Difference between revisions of "Template:Ambox/core"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(add a few alternative {{{type}}} values)
(rename to imagestyle)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  |blank
 
  |blank
 
  |none = <td class="mbox-empty-cell"></td>
 
  |none = <td class="mbox-empty-cell"></td>
  |#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}}
+
  |#default = <td class="mbox-image"><div style="width: 52px; {{{imagestyle|}}}">{{#if:{{{image|}}}
 
   |{{{image}}}
 
   |{{{image}}}
 
   |[[File:{{#switch:{{{type|}}}
 
   |[[File:{{#switch:{{{type|}}}
Line 31: Line 31:
 
  |=
 
  |=
 
  |#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
 
  |#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
}}</tr></table><noinclude>
+
}}</tr></table>
{{documentation}}
 
</noinclude>
 

Latest revision as of 05:35, 28 February 2021