Difference between revisions of "Template:Lead"
From Biowikifarm Metawiki
MarcBrugman (Talk | contribs) |
MarcBrugman (Talk | contribs) |
||
Line 21: | Line 21: | ||
--></td><!-- | --></td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
− | /*** | + | /*** A fourth unnamed parameter is always an error and is reported: ***/ |
-->{{ #if: {{{4|}}} <!-- | -->{{ #if: {{{4|}}} <!-- | ||
− | -->| <tr style="text-align:right;vertical-align:top;"><td colspan="5">{{{ | + | -->| <tr style="color:red;font-weight:bold"><td colspan="5">This lead has an erroneous fourth parameter: {{{images}}}. 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-->}}<!-- | ||
+ | /*** Images are in the named optional parameter "images" ***/ | ||
+ | -->{{ #if: {{{images|}}} <!-- | ||
+ | -->| <tr style="text-align:right;vertical-align:top;"><td class="leadimages" colspan="5">{{{images}}}</td></tr><!-- | ||
+ | :endif-->}}<!-- | ||
+ | /*** Free-form text descriptions are in the optional parameter "description" ***/ | ||
+ | -->{{ #if: {{{description|}}} <!-- | ||
+ | -->| <tr><td class="taxondescription" colspan="5">{{{description}}}</td></tr><!-- | ||
:endif-->}}<noinclude> | :endif-->}}<noinclude> | ||
{{Documentation}} | {{Documentation}} |
Revision as of 19:08, 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>