Difference between revisions of "Template:Quran Sura InfoBox"
From HodHood
Line 4: | Line 4: | ||
[[File:{{{image|HodHoodQuranLogo.PNG}}}|200px]] | [[File:{{{image|HodHoodQuranLogo.PNG}}}|200px]] | ||
<table> | <table> | ||
+ | {{#if:{{{sura-name|}}}|<tr> | ||
+ | <th>Sura Name</th> | ||
+ | <td>{{#regex:{{{sura-name}}}|%\s*\K([^,]+)%|[[Has Sura Name::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | |||
+ | {{#if:{{{sura-number|}}}|<tr> | ||
+ | <th>Sura Number</th> | ||
+ | <td>{{#regex:{{{sura-number}}}|%\s*\K([^,]+)%|[[Has Surah Number::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | |||
{{#if:{{{classification|}}}|<tr> | {{#if:{{{classification|}}}|<tr> | ||
<th>Sura Classification</th> | <th>Sura Classification</th> | ||
Line 19: | Line 29: | ||
<th>Number of Prostration</th> | <th>Number of Prostration</th> | ||
<td>{{#regex:{{{number-of-prostration}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td> | <td>{{#regex:{{{number-of-prostration}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr>}} | </tr>}} | ||