Vorlage:Kapitelübersicht: Unterschied zwischen den Versionen

Aus Die Offene Bibel

Wechseln zu: Navigation, Suche
(Usability-Verbesserung: Anspringen von Kapitelseiten; Einbinden ermöglichen)
Zeile 1: Zeile 1:
<onlyinclude>__NOCACHE__{{#selectchapter:{{Buchname}}|{{Kapitelnummer}}|{{Kapitelzahl|{{Buchname}} }} }}
+
<onlyinclude>__NOCACHE__{{#selectchapter:{{Buchname}} }}
 
<table class="wikitable toptextcells">
 
<table class="wikitable toptextcells">
<tr><th>Kapitel</th><th>Status</th></tr>
+
<tr><th>Kapitel</th><th>Status</th></tr>{{#vardefine:chapter|{{#firstchapter:{{Buchname}} }} }}
{{#loop:loopvar
+
{{#while:
|1
+
|{{#var:chapter}}
|{{Kapitelzahl|{{{1|{{Seitenname}} }}} }}
+
|<tr><td>[[{{Buchname}} {{#var:chapter}}]]</td><td>{{Status|{{Buchname}} {{#var:chapter}} }}</td><tr>{{#vardefine:chapter|{{#nextchapter:{{Buchname}}|{{#var:chapter}} }} }}
|<tr><td>[[{{{1|{{Seitenname}} }}} {{#var:loopvar}}]]</td><td>{{Status|{{{1|{{Seitenname}} }}} {{#var:loopvar}} }}</td><tr>
 
 
|-
 
|-
 
}}
 
}}
 
</table>
 
</table>
 
</onlyinclude>
 
</onlyinclude>

Version vom 3. Oktober 2011, 18:54 Uhr

KapitelStatus