Difference between revisions of "Template:Quran Ayah InfoBox"

From HodHood
Jump to: navigation, search
Line 8: Line 8:
 
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[Has Surah Name::$1]]}}</td>
 
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[Has Surah Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{ayahhname|}}}|<tr>
+
{{#if:{{{ayahname|}}}|<tr>
 
<th>Ayah Name</th>
 
<th>Ayah Name</th>
<td>{{#regex:{{{ayahname}}}|%\s*\K([^,]+)%|[[Has AyahName::$1]]}}</td>
+
<td>{{#regex:{{{ayahname}}}|%\s*\K([^,]+)%|[[Has Ayah Name::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{previousayah|}}}|<tr>
 +
<th>Previous Ayah</th>
 +
<td>{{#regex:{{{previousayah}}}|%\s*\K([^,]+)%|[[Has Previous Ayah::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{nextayah|}}}|<tr>
 +
<th>Next Ayah</th>
 +
<td>{{#regex:{{{nextayah}}}|%\s*\K([^,]+)%|[[Has Next Ayah::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{ayah-main-topic|}}}|<tr>
 
{{#if:{{{ayah-main-topic|}}}|<tr>

Revision as of 09:02, 31 January 2017

Ayah Attributes

HadithLogo.jpeg