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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 3: Line 3:
 
|-
 
|-
 
| style="background:transparent; border:0;" |<!--  
 
| style="background:transparent; border:0;" |<!--  
-->[[Image:{{{imagefile|}}}|{{{imagesize|}}}|center]]<!--the basic Image box-->
+
-->{{#if:{{{imagefile|}}}|[[Image:{{{imagefile|}}}|{{{imagesize|}}}|center]]|(no imagefile)}}<!--the basic Image box-->
 
{{#if:{{{imagecaption|}}} |<!--compose full tablerow (use {{!}} not pipe)-->
 
{{#if:{{{imagecaption|}}} |<!--compose full tablerow (use {{!}} not pipe)-->
 
{{!}}-
 
{{!}}-

Revision as of 12:25, 26 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.