Difference between revisions of "Template:Lead"

From Biowikifarm Metawiki
Jump to: navigation, search
Line 1: Line 1:
 
<!-- The first column contain the lead number plus an anchor (id="") to which internal links may point.
 
<!-- The first column contain the lead number plus an anchor (id="") to which internal links may point.
 
     (For replace/explode of first parameter see below)
 
     (For replace/explode of first parameter see below)
--><tr style="vertical-align:top;"><td id="L{{Trim|{{#replace: {{#explode:{{{1}}}|(|0}} |)|}}}}" style="font-weight:bold;text-align:right">{{Trim|{{#replace: {{#explode:{{{1|Lead number missing!}}}|(|0<!--end explode:-->}} |)| <!--end replace:-->}} <!--end lc/trim:-->}}</td><!--  
+
--><tr id="L{{Trim|{{#replace: {{#explode:{{{1}}}|(|0}} |)|}}}}row" style="vertical-align:top;"><td id="L{{Trim|{{#replace: {{#explode:{{{1}}}|(|0}} |)|}}}}" class="leadnr">{{Trim|{{#replace: {{#explode:{{{1|Lead number missing!}}}|(|0<!--end explode:-->}} |)| <!--end replace:-->}} <!--end lc/trim:-->}}</td><!--  
  
 
* Fill the second column only if a backlink (= 2nd element in explode of first template parameter) exists; else output empty column
 
* Fill the second column only if a backlink (= 2nd element in explode of first template parameter) exists; else output empty column

Revision as of 12:04, 16 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="lead" colspan="2" style="text-align:right;vertical-align:bottom;"> {{{3}}}</td></tr>

[edit] Template documentation

See Key Start for the main documentation.