Vorlage:Lead/Inner: Unterschied zwischen den Versionen
Aus Offene Naturführer
K (width="xx%" → style="xx%") |
K (subheading: if parentlead 2 + 4 else 6 colspan) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 41: | Zeile 41: | ||
#if: {{{subheading}}}<!-- | #if: {{{subheading}}}<!-- | ||
-->|<tr class="dt-subheading"><!-- | -->|<tr class="dt-subheading"><!-- | ||
− | --><td colspan="6" style="font-weight:bold;padding:0.5em 0.75em 0.3em 0.75em; {{ | + | -->{{#if:{{{parentlead}}}<!-- |
+ | then: indent 2 columns -->|<td></td><td></td><td colspan="4" <!-- | ||
+ | else: full six columns -->|<td colspan="6" }} style="font-weight:bold;padding:0.5em 0.75em 0.3em 0.75em; {{ | ||
#switch: {{lc:{{{subheadingstyle}}}}} | #switch: {{lc:{{{subheadingstyle}}}}} | ||
|<!-- empty style parameter → next option=orange:--> | |<!-- empty style parameter → next option=orange:--> | ||
Zeile 74: | Zeile 76: | ||
--><span class="leadspan">{{Trim|1={{{statement}}}}} </span><!-- | --><span class="leadspan">{{Trim|1={{{statement}}}}} </span><!-- | ||
// Add mw-collapsible span (the "more…") | // Add mw-collapsible span (the "more…") | ||
− | -->{{#if: {{{detailspresent|}}}|<span class="leadspan noprint mw-customtoggle-{{{IDprefix}}}{{{coupletID}}}_{{#var:decisiontreeAlternative}}row"></span>}}<!-- | + | -->{{#if: {{{detailspresent|}}}|<span class="leadspan noprint {{#replace:{{ANCHORENCODE:mw-customtoggle-{{{IDprefix}}}{{{coupletID}}}_{{#var:decisiontreeAlternative}}}}|.|dot}}row"></span>}}<!-- |
--></td><!-- | --></td><!-- | ||
// Second column in nested table = number of further leads. NEW: both with and without result in same row (it used to be below result)! | // Second column in nested table = number of further leads. NEW: both with and without result in same row (it used to be below result)! | ||
Zeile 153: | Zeile 155: | ||
// THEN | // THEN | ||
-->|<tr><td class="leadextras" colspan="2"><!-- | -->|<tr><td class="leadextras" colspan="2"><!-- | ||
− | --><div class="mw-collapsible mw-collapsed mw-collapsible-content leadextras" id="mw-customcollapsible-{{{IDprefix}}}{{{coupletID}}}_{{#var:decisiontreeAlternative}}row"><!-- | + | --><div class="mw-collapsible mw-collapsed mw-collapsible-content leadextras" id="{{#replace:{{ANCHORENCODE:mw-customcollapsible-{{{IDprefix}}}{{{coupletID}}}_{{#var:decisiontreeAlternative}}}}|.|dot}}row"><!-- |
-->{{{detailtext}}}<!-- | -->{{{detailtext}}}<!-- | ||
-->{{#if: {{{image m}}}<!-- | -->{{#if: {{{image m}}}<!-- |
Aktuelle Version vom 22. März 2017, 23:57 Uhr
See Key Start-Doc for the main documentation, Lead-Doc for recent technical changes of the Lead-templates.