Difference between revisions of "Template:Lead/GalleryItem"
From Biowikifarm Metawiki
GiselaWeber (Talk | contribs) |
|||
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> |
Latest revision as of 13:52, 24 June 2010
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.