Difference between revisions of "Template:Quran Ayah InfoBox"

From HodHood
Jump to: navigation, search
Line 4: Line 4:
 
[[File:{{{image|HodHoodQuranLogo.PNG}}}|200px]]
 
[[File:{{{image|HodHoodQuranLogo.PNG}}}|200px]]
 
<table>
 
<table>
{{#if:{{{classification|}}}|<tr>
 
<th>Classification</th>
 
<td>{{#regex:{{{classification}}}|%\s*\K([^,]+)%|[[Has Classification::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{juza|}}}|<tr>
 
<th>Juza</th>
 
<td>{{#regex:{{{juza}}}|%\s*\K([^,]+)%|[[Has Juza::$1]]}}</td>
 
</tr>}}
 
  
{{#if:{{{number-of-verses|}}}|<tr>  
+
{{#if:{{{prostration|}}}|<tr>
<th>Number of Verses</th>
+
<th>prostration</th>
<td>{{#regex:{{{number-of-verses}}}|%\s*\K([^,]+)%|[[Has Number of verses::$1]]}}</td>
+
<td>{{#regex:{{{prostration}}}|%\s*\K([^,]+)%|[[Has Prostration::$1]]}}</td>
 
</tr>}}
 
</tr>}}
  
{{#if:{{{Number of Prostration|}}}|<tr>
+
{{#if:{{{part-to-sura-name|}}}|<tr>
<th>numberofprostration</th>
+
<th>Part of Surah Name</th>
<td>{{#regex:{{{numberofverses}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td>
+
<td>{{#regex:{{{part-of-sura-name}}}|%\s*\K([^,]+)%|[[Part Of Sura Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
  
{{#if:{{{surahname|}}}|<tr>
 
<th>Surah Name</th>
 
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[Has Surah Name::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{surahnumber|}}}|<tr>
 
<th>Surah Number</th>
 
<td>{{#regex:{{{surahnumber}}}|%\s*\K([^,]+)%|[[Has Surah Number::$1]]}}</td>
 
</tr>}}
 
 
{{#if:{{{ayahname|}}}|<tr>
 
{{#if:{{{ayahname|}}}|<tr>
 
<th>Ayah Name</th>
 
<th>Ayah Name</th>
 
<td>{{#regex:{{{ayahname}}}|%\s*\K([^,]+)%|[[Has Ayah Name::$1]]}}</td>
 
<td>{{#regex:{{{ayahname}}}|%\s*\K([^,]+)%|[[Has Ayah Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 +
 
{{#if:{{{previousayah|}}}|<tr>
 
{{#if:{{{previousayah|}}}|<tr>
 
<th>Previous Ayah</th>
 
<th>Previous Ayah</th>

Revision as of 17:39, 7 February 2017

Ayah Attributes

HodHoodQuranLogo.PNG

Prostration