Vorlage:Lead/Inner: Unterschied zwischen den Versionen

Aus Offene Naturführer
Wechseln zu: Navigation, Suche
(Test Oldstyle/newstyle with variables instead as first step towards making common name/scientific name sequence variable)
(Testversion)
Zeile 135: Zeile 135:
 
     // NESTED (= pointer to indented subkey with parentlead) in addition to result, all result-layout variants
 
     // 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 may be a "*" → forbidden in @id. BUT: some step in mediawiki will convert "*" to ".2A". OK
     // Note: leadpart2 could be backlink. ??? QUESTION: Is this suppressed for [ but not ( ?
+
     // Note: leadpart2 could be backlink → suppress at least if starting with "(".
 
     -->{{#if:{{{nested}}}<!--
 
     -->{{#if:{{{nested}}}<!--
 
       -->|<br /><span class="leadon">&nbsp;[[#{{{leadID}}}{{
 
       -->|<br /><span class="leadon">&nbsp;[[#{{{leadID}}}{{
       #ifeq:{{#sub:{{{leadpart2}}}|0|1}}|[|<!--THEN nothing
+
       #ifeq:{{#sub:{{{leadpart2}}}|0|1}}|(|<!--THEN nothing
 
       -->|<!--ELSE -->{{{leadpart2}}}<!--
 
       -->|<!--ELSE -->{{{leadpart2}}}<!--
       -->}}{{{nested}}}|&nbsp;▼▼&nbsp;{{{nested}}}]]</span><!--
+
       -->}}{{{nested}}}|&nbsp;▼ {{#ifeq:{{#sub:{{{leadpart2}}}|0|1}}|(||{{{leadpart2}}}}}:{{{leadpart2}}} ▼&nbsp;{{{nested}}}]]</span><!--
 
     // END if nested:
 
     // END if nested:
 
     -->}}<!--
 
     -->}}<!--

Version vom 12. September 2012, 14:20 Uhr

See Key Start-Doc for the main documentation, Lead-Doc for recent technical changes of the Lead-templates.

Quelle: Offene Naturführer, Das Wiki zu Bestimmungsfragen: Vorlage:Lead/Inner. Abgerufen am 2. Juni 2025, 01:39 von https://offene-naturfuehrer.de/web/Vorlage:Lead/Inner