Difference between revisions of "Template:Quran Ayah InfoBox"

From HodHood
Jump to: navigation, search
Line 4: Line 4:
 
[[File:{{{image|HadithLogo.jpeg}}}|200px]]
 
[[File:{{{image|HadithLogo.jpeg}}}|200px]]
 
<table>
 
<table>
 +
{{#if:{{{surahname|}}}|<tr>
 +
<th>Surah Name</th>
 +
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[Has Surah Name::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{ayahhname|}}}|<tr>
 +
<th>Ayah Name</th>
 +
<td>{{#regex:{{{ayahname}}}|%\s*\K([^,]+)%|[[Has AyahName::$1]]}}</td>
 +
</tr>}}
 
{{#if:{{{ayah-main-topic|}}}|<tr>
 
{{#if:{{{ayah-main-topic|}}}|<tr>
 
<th>Ayah Main Topic</th>
 
<th>Ayah Main Topic</th>

Revision as of 08:59, 31 January 2017

Ayah Attributes

HadithLogo.jpeg