Vorlage:Kapitelstatus: Unterschied zwischen den Versionen

Aus Die Offene Bibel

Wechseln zu: Navigation, Suche
(Buchstatus als Grundlage)
(Buchname aus Parameter beziehen)
Zeile 1: Zeile 1:
<onlyinclude>__NOCACHE__{{#selectchapter:{{Buchname}} }}
+
<onlyinclude>__NOCACHE__{{#selectchapter:{{{1}}} }}
 
<table class="wikitable toptextcells">
 
<table class="wikitable toptextcells">
<tr><th>Kapitel</th><th>Status</th></tr>{{#vardefine:chapter|{{#firstchapter:{{Buchname}} }} }}
+
<tr><th>Kapitel</th><th>Status</th></tr>{{#vardefine:chapter|{{#firstchapter:{{{1}}} }} }}
 
{{#while:
 
{{#while:
 
|{{#var:chapter}}
 
|{{#var:chapter}}
|<tr><td>[[{{Buchname}} {{#var:chapter}}]]</td><td>{{Status|{{Buchname}} {{#var:chapter}} }}</td></tr>{{#vardefine:chapter|{{#nextchapter:{{Buchname}}|{{#var:chapter}} }} }}
+
|<tr><td>[[{{{1}}} {{#var:chapter}}]]</td><td>{{Status|{{{1}}} {{#var:chapter}} }}</td></tr>{{#vardefine:chapter|{{#nextchapter:{{{1}}}|{{#var:chapter}} }} }}
 
|-
 
|-
 
}}
 
}}
 
</table>
 
</table>
 
</onlyinclude>
 
</onlyinclude>

Version vom 20. November 2013, 01:06 Uhr

KapitelStatus