Difference between revisions of "Template:Lead"
From Biowikifarm Metawiki
MarcBrugman (Talk | contribs) |
MarcBrugman (Talk | contribs) |
||
Line 25: | Line 25: | ||
-->| <tr><td style="color:red;font-weight:bold" colspan="5">This lead has an erroneous fourth or fifth parameter: {{ #if: {{{4|}}} | {{{4}}} }} {{ #if: {{{5|}}} | {{{5}}} }}. To add images or descriptions use <code><nowiki>|description=Your text|</nowiki></code> ''or'' <code><nowiki>|images=[[Image:YourImage.jpg|140px|Your Caption]]|</nowiki></code>.</td></tr><!-- | -->| <tr><td style="color:red;font-weight:bold" colspan="5">This lead has an erroneous fourth or fifth parameter: {{ #if: {{{4|}}} | {{{4}}} }} {{ #if: {{{5|}}} | {{{5}}} }}. To add images or descriptions use <code><nowiki>|description=Your text|</nowiki></code> ''or'' <code><nowiki>|images=[[Image:YourImage.jpg|140px|Your Caption]]|</nowiki></code>.</td></tr><!-- | ||
:endif-->}}<!-- | :endif-->}}<!-- | ||
− | /*** Images are in the named optional parameter "images" ***/ | + | /*** Images are in the named optional parameter "images" or "image" (both are accepted!) ***/ |
− | -->{{ #if: {{{images|}}} <!-- | + | -->{{ #if: {{{images| {{{image|}}} }}} <!-- |
− | -->| <tr style="text-align:right;vertical-align:top;"><td class="leadimages" colspan="5">{{{images}}}</td></tr><!-- | + | -->| <tr style="text-align:right;vertical-align:top;"><td class="leadimages" colspan="5">{{{images| {{{image}}} }}}</td></tr><!-- |
:endif-->}}<!-- | :endif-->}}<!-- | ||
/*** Free-form text descriptions are in the optional parameter "description" ***/ | /*** Free-form text descriptions are in the optional parameter "description" ***/ |
Revision as of 19:25, 19 November 2008
<tr id="L{{{1}}}row" style="vertical-align:top;"><td id="L{{{1}}}" class="leadnr">Lead number missing!</td><td></td><td class="lead" >Lead statement missing! </td><td class="leadresult" colspan="2"> {{{3}}}</td></tr>