Difference between revisions of "Template:Quran Ayah InfoBox"
From HodHood
Line 6: | Line 6: | ||
{{#if:{{{prostration|}}}|<tr> | {{#if:{{{prostration|}}}|<tr> | ||
− | <th> | + | <th>Prostration</th> |
<td>{{#regex:{{{prostration}}}|%\s*\K([^,]+)%|[[Has Prostration::$1]]}}</td> | <td>{{#regex:{{{prostration}}}|%\s*\K([^,]+)%|[[Has Prostration::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
Line 20: | Line 20: | ||
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{previous-ayah|}}}|<tr> |
<th>Previous Ayah</th> | <th>Previous Ayah</th> | ||
<td>{{#regex:{{{previousayah}}}|%\s*\K([^,]+)%|[[Has Previous Ayah::$1]]}}</td> | <td>{{#regex:{{{previousayah}}}|%\s*\K([^,]+)%|[[Has Previous Ayah::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{next-ayah|}}}|<tr> |
<th>Next Ayah</th> | <th>Next Ayah</th> | ||
<td>{{#regex:{{{nextayah}}}|%\s*\K([^,]+)%|[[Has Next Ayah::$1]]}}</td> | <td>{{#regex:{{{nextayah}}}|%\s*\K([^,]+)%|[[Has Next Ayah::$1]]}}</td> |