Vorlage:Lead/Inner: Unterschied zwischen den Versionen
Aus Offene Naturführer
(fix) |
(shifting the position of nested (downward triangles)) |
||
Zeile 85: | Zeile 85: | ||
#if:{{{resulttext}}}{{{nested}}}<!-- | #if:{{{resulttext}}}{{{nested}}}<!-- | ||
// THEN New-Row-For-Results. Leaderdots for next, but not if also result is present! | // THEN New-Row-For-Results. Leaderdots for next, but not if also result is present! | ||
− | -->|</tr><tr | + | -->|</tr><tr><td class="leadresult {{#if: {{{next}}} |{{#if: {{{resulttext}}}{{{commonnames}}} | |leadon}}}}" colspan="2"><!-- |
− | + | // FIRST NESTED (= pointer to indented subkey with parentlead) in addition to result, all result-layout variants | |
+ | // Note: leadpart2 may be a "*" → forbidden in @id. BUT: some step in mediawiki will convert "*" to ".2A". OK | ||
+ | // Note: leadpart2 could be backlink like (2), formatted already as link → starting with [ → suppress! | ||
+ | -->{{#if:{{{nested}}}<!-- | ||
+ | -->|<span class="leadon"> [[#{{{IDprefix}}}{{ | ||
+ | #ifeq:{{#sub:{{{leadpart2}}}|0|1}}|(|<!-- | ||
+ | THEN -->{{{leadpart1}}}|<!-- | ||
+ | ELSE (oriLeadID is leadpart1+leadpart2 for 1*, but NOT for 1-!) -->{{{oriLeadID}}}<!-- | ||
+ | -->}}{{{nested}}}| ▼▼ {{{nested}}}]] &ndash </span><!-- | ||
+ | // END if nested: | ||
+ | -->}}<!-- | ||
// BACKGROUND OLD/NEW RESULTSTYLE: | // BACKGROUND OLD/NEW RESULTSTYLE: | ||
Zeile 132: | Zeile 142: | ||
// END (res.qual.), + closing span.leadresults (= nowrap-span around result+qualif.) | // END (res.qual.), + closing span.leadresults (= nowrap-span around result+qualif.) | ||
-->}}</span><!-- | -->}}</span><!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--></td><!-- | --></td><!-- | ||
Version vom 14. September 2012, 13:51 Uhr
See Key Start-Doc for the main documentation, Lead-Doc for recent technical changes of the Lead-templates.