Difference between revisions of "Template:Lead/GalleryItem"

From Species-ID
Jump to: navigation, search
m (http://offene-naturfuehrer.de/web/Spezial:Linkliste/Vorlage:Lead/GalleryItem)
Line 5: Line 5:
 
#if:{{{label}}}|'''{{{label}}}: '''}}{{{caption}}}</div>
 
#if:{{{label}}}|'''{{{label}}}: '''}}{{{caption}}}</div>
 
</td></tr></table></includeonly><noinclude>
 
</td></tr></table></includeonly><noinclude>
Note: Called by the Lead template, which guarantees that "caption", "label" parameters are always present (although possibly empty), and "width" and "height" are actually filled with values.
+
Note: Called by the Lead template, which guarantees that "caption", "label" parameters are always present (although possibly empty), and "width" and "height" are actually filled with values. If called otherwise (not by Lead template), "width" and "height" must be given values, else the html table structure will break.
  
 
[[Category:Single-access key templates]]</noinclude>
 
[[Category:Single-access key templates]]</noinclude>

Revision as of 15:48, 14 March 2016

Note: Called by the Lead template, which guarantees that "caption", "label" parameters are always present (although possibly empty), and "width" and "height" are actually filled with values. If called otherwise (not by Lead template), "width" and "height" must be given values, else the html table structure will break.