Difference between revisions of "Template:Quran Ayah InfoBox"

From HodHood
Jump to: navigation, search
Line 5: Line 5:
 
<table>
 
<table>
 
{{#if:{{{surahname|}}}|<tr>
 
{{#if:{{{surahname|}}}|<tr>
<th>Surah Name</th>
+
<th>In Surah</th>
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[Has Surah Name::$1]]}}</td>
+
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[In Surah Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{ayahname|}}}|<tr>
 
{{#if:{{{ayahname|}}}|<tr>

Revision as of 09:59, 31 January 2017

Ayah Attributes

HadithLogo.jpeg