Difference between revisions of "Template:Infobox IPA/image box"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(…using wikEd)
Line 1: Line 1:
{| class="wikitable collapsible {{{imagestate|collapsed}}}" style="width:100%; margin:0px; border:0; collapsing margins; background:transparent;"
+
{| class="wikitable collapsible {{{imagestate|collapsed}}}" style="width:100%; margin:0px; border:0; collapsing margins; background: transparent; "
! style="background:#FFFFE6; border:0;" | Image  
+
! style="background:#FFFFE6; border:0;" | Image
 
|-
 
|-
| style="background:transparent; border:0;" |<!--  
+
| style="background: transparent; border:0;" |<!--
-->{{#if:{{{imagefile|}}}|[[Image:{{{imagefile|}}}|center|{{{imagesize|px}}}]]|{{code|(no imagefile)}}}}<!--the basic Image box-->
+
-->{{#if:{{{imagefile|}}}|[[Image:{{{imagefile|}}}|center|{{{imagesize|px}}}]]|{{code|(no imagefile)}}}}<!-- the basic Image box -->
{{#if:{{{imagecaption|}}} |<!--compose full tablerow (use {{!}} not pipe)-->
+
{{#if:{{{imagecaption|}}} |<!-- compose full tablerow (use {{!}} not pipe) -->
 
{{!}}-
 
{{!}}-
{{!}} style{{=}}"background:transparent; border:0;" {{!}} {{{imagecaption|}}}
+
{{!}} style{{=}}"background: transparent; border:0;" {{!}} {{{imagecaption|}}}
}}<!-- end tablerow image caption -->
+
}}<!-- end tablerow with image caption -->
 
|}<noinclude>
 
|}<noinclude>
A wikitable box to be used in a infobox. Set to width-100% to fill the infobox box nicely. N.B. hardcoding into the infobox gave problems with newline-effects. Using a /subtemplate solved that. </noinclude>
+
 
 +
A wikitable box to be used in a infobox. Set to width-100% to fill the infobox box nicely. N. B. hardcoding into the infobox gave problems with newline-effects. Using a /subtemplate solved that. </noinclude>

Revision as of 22:27, 30 January 2011

A wikitable box to be used in a infobox. Set to width-100% to fill the infobox box nicely. N. B. hardcoding into the infobox gave problems with newline-effects. Using a /subtemplate solved that.