Difference between revisions of "Template:Lead"
From Biowikifarm Metawiki
MarcBrugman (Talk | contribs) |
MarcBrugman (Talk | contribs) |
||
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}} |)|}}}}" | + | --><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>