Difference between revisions of "Template:Quran Ayah InfoBox"
From HodHood
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:{{{surahname|}}}|<tr> | {{#if:{{{surahname|}}}|<tr> | ||
<th>Surah Name</th> | <th>Surah Name</th> |