Difference between revisions of "Template:Lead/Inner"

From Species-ID
Jump to: navigation, search
Line 18: Line 18:
 
  THEN later couplet:-->|{{#vardefine:SingleAccessKeyAlternative|{{
 
  THEN later couplet:-->|{{#vardefine:SingleAccessKeyAlternative|{{
 
     #expr:{{#var:SingleAccessKeyAlternative}}+1}}
 
     #expr:{{#var:SingleAccessKeyAlternative}}+1}}
     }}<tr class="lead"><td id="L{{{keyID}}}{{{leadID}}}_{{#var:SingleAccessKeyAlternative}}" class="leadid">{{{displayID}}}</td>
+
     }}<tr class="lead"><td id="L{{{keyID}}}{{{leadID}}}_{{#var:SingleAccessKeyAlternative}}" class="leadid">{{{displayID}}}</td><!--
 
  ELSE first couplet:-->|{{#vardefine:SingleAccessKeyPreviousCouplet|{{{leadID}}} }}{{#vardefine:SingleAccessKeyAlternative|0}}<tr style="height:12px"><td colspan="3"></td></tr>
 
  ELSE first couplet:-->|{{#vardefine:SingleAccessKeyPreviousCouplet|{{{leadID}}} }}{{#vardefine:SingleAccessKeyAlternative|0}}<tr style="height:12px"><td colspan="3"></td></tr>
 
<tr id="L{{{keyID}}}{{{leadID}}}row" class="lead"><td id="L{{{keyID}}}{{{leadID}}}" class="leadid">{{{displayID}}}</td>
 
<tr id="L{{{keyID}}}{{{leadID}}}row" class="lead"><td id="L{{{keyID}}}{{{leadID}}}" class="leadid">{{{displayID}}}</td>

Revision as of 15:52, 8 July 2009

Version 2.0: Called by outer template, Collapsible/collapsed added, lead images in right sidebar (primary, "image 1a" etc., max 4 images side-by-side) and below (secondary, "image 2a" etc, max 9 images, wrapping or smooth).

The main documentation for all parts of the single-access key is under Template:Key Start/doc. Add only specific notes here.

The first column contains the lead number plus an anchor (id="") to which internal links may point. Here and further below, the first Lead parameter is split into two parts using the Lead/SplitNumber template.

Note: Retrieving the id-parameter of the earlier "Key Start" template from a variable depends on the "Variables" extension being installed. On Wiki installations where this is not the case, remove the template code "{{#var:SingleAccessKeyID}}" (here, in (outer) Lead itself and Lead/SplitNumber).

(Todo note: add male/female: ♀♂ and diameter/times × to edit-box character selector in wiki. Further characters: ∞≤≥≡≠⅓⅔⅛⅜⅝⅞►±‚„“‘¼½¾±≈▪●, ←↑→↓↕•…‰)

[edit] [purge] Template-info.svg Template documentation

See Key Start for the main documentation.