Vorlage:Lead/Inner: Unterschied zwischen den Versionen
Aus Offene Naturführer
K (attempt to fix nested/parentlead Error (ID issue with . dot)) |
K (subheading: if parentlead 2 + 4 else 6 colspan) |
||
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:--> |
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.