Difference between revisions of "Template:Lead"

From Biowikifarm Metawiki
Jump to: navigation, search
Line 25: Line 25:
 
-->{{ #if: {{{4|}}}{{{5|}}} <!--
 
-->{{ #if: {{{4|}}}{{{5|}}} <!--
 
   -->| <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-->}}<!--
 +
/*** Free-form text descriptions are in the optional parameter "description" ***/
 +
-->{{ #if: {{{description|}}} <!--
 +
  -->| <tr><td></td><td></td><td class="taxondescription" colspan="3">{{{description}}}</td></tr><!--
 
:endif-->}}<!--
 
:endif-->}}<!--
 
/*** Images are in the named optional parameter "images" or "image" (both are accepted!) ***/
 
/*** Images are in the named optional parameter "images" or "image" (both are accepted!) ***/
Line 30: Line 34:
 
   -->| <tr><td></td><td></td><td class="leadimages" colspan="3">{{{images| {{{image}}} }}}</td></tr><!--
 
   -->| <tr><td></td><td></td><td class="leadimages" colspan="3">{{{images| {{{image}}} }}}</td></tr><!--
 
:endif-->}}<!--
 
:endif-->}}<!--
/*** Free-form text descriptions are in the optional parameter "description" ***/
+
--><noinclude>
-->{{ #if: {{{description|}}} <!--
+
  -->| <tr><td></td><td></td><td class="taxondescription" colspan="3">{{{description}}}</td></tr><!--
+
:endif-->}}<noinclude>
+
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Development notes:  
 
<!-- Development notes:  

Revision as of 18:49, 26 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>

[edit] Template documentation

See Key Start for the main documentation.