Vorlage:Lead/Inner: Unterschied zwischen den Versionen

Aus Offene Naturführer
Wechseln zu: Navigation, Suche
K (very small optimizations)
(test: leadon ALWAYS in statement row (even if result present). In this test it is shown in both positions.)
Zeile 105: Zeile 105:
 
     -->{{#if:{{{resulttext}}}{{{nested}}}<!--
 
     -->{{#if:{{{resulttext}}}{{{nested}}}<!--
 
     // THEN New-Row-For-Results (ELSE td with next in same row).
 
     // THEN New-Row-For-Results (ELSE td with next in same row).
     -->|<td><!--empty, in other cases used for next-lead--></td></tr><tr><!--
+
     -->|<td><!--
 +
    --><span class="leadon">&nbsp;[[#L{{{keyID}}}_{{{parentlead}}}{{{next}}}|&nbsp;►►&nbsp;{{{next}}}]]</span><!--
 +
    empty, in other cases used for next-lead--></td></tr><tr><!--
 
     --><td class="leadresult{{#if: {{{next}}} |<!-- no leaderdots if result-something -->{{#if: {{{resulttext}}}{{{commonnames}}} | |<nowiki></nowiki> leadon}}}}" colspan="2"><!--
 
     --><td class="leadresult{{#if: {{{next}}} |<!-- no leaderdots if result-something -->{{#if: {{{resulttext}}}{{{commonnames}}} | |<nowiki></nowiki> leadon}}}}" colspan="2"><!--
  
Zeile 179: Zeile 181:
 
         -->|<!--THEN nothing
 
         -->|<!--THEN nothing
 
         -->|<!--ELSE -->{{{leadpart2}}}<!--
 
         -->|<!--ELSE -->{{{leadpart2}}}<!--
         -->}}{{{nested}}}|&nbsp;▼▼&nbsp;{{{nested}}}]]<!--     
+
         -->}}{{{nested}}}|&nbsp;▼▼&nbsp;{{{nested}}}]]</span><!--
      // close span.leadon:--></span><!--
+
 
       // END if nested:
 
       // END if nested:
 
       -->}}<!--
 
       -->}}<!--
Zeile 187: Zeile 188:
 
     --></td><!--
 
     --></td><!--
 
    
 
    
   // ELSE _ONLY_ a NEXT-LEAD-POINTER, i.e. without a result or nested. This stays in the same row!
+
   // ELSE no new row, ONLY a NEXT-LEAD-POINTER, i.e. without a result or nested. This stays in the same row!
 
     -->|<td class="leadresult leadon"><!--
 
     -->|<td class="leadresult leadon"><!--
 
     --><span class="leadon">&nbsp;[[#L{{{keyID}}}_{{{parentlead}}}{{{next}}}|&nbsp;►&nbsp;{{{next}}}]]</span><!--
 
     --><span class="leadon">&nbsp;[[#L{{{keyID}}}_{{{parentlead}}}{{{next}}}|&nbsp;►&nbsp;{{{next}}}]]</span><!--

Version vom 1. September 2012, 12:07 Uhr

[Erstellen] Template-info.svg Dokumentation der Vorlage
Quelle: Offene Naturführer, Das Wiki zu Bestimmungsfragen: Vorlage:Lead/Inner. Abgerufen am 2. Juni 2025, 01:40 von https://offene-naturfuehrer.de/web/Vorlage:Lead/Inner