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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>Octahedron80
 
(3 intermediate revisions by one other user not shown)
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; 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|}}}{{!}}{{{imagesize|}}}{{!}}center]]|(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>
+
 
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 12:58, 12 December 2011

50px Template documentation[create]