Difference between revisions of "Template:Quran Ayah InfoBox"

From HodHood
Jump to: navigation, search
Line 6: Line 6:
  
 
{{#if:{{{prostration|}}}|<tr>
 
{{#if:{{{prostration|}}}|<tr>
<th>prostration</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:{{{previousayah|}}}|<tr>
+
{{#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:{{{nextayah|}}}|<tr>
+
{{#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>

Revision as of 07:25, 8 February 2017

Ayah Attributes

HodHoodQuranLogo.PNG

Prostration