Difference between revisions of "Template:Quran Ayah InfoBox"
From HodHood
Line 11: | Line 11: | ||
{{#if:{{{part-of-sura-name|}}}|<tr> | {{#if:{{{part-of-sura-name|}}}|<tr> | ||
− | <th>Part of | + | <th>Part of Sura Name</th> |
<td>{{#regex:{{{part-of-sura-name}}}|%\s*\K([^,]+)%|[[Part Of Sura Name::$1]]}}</td> | <td>{{#regex:{{{part-of-sura-name}}}|%\s*\K([^,]+)%|[[Part Of Sura Name::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{part-of-sura-number|}}}|<tr> | {{#if:{{{part-of-sura-number|}}}|<tr> | ||
− | <th>Part of | + | <th>Part of Sura Number</th> |
<td>{{#regex:{{{part-of-sura-number}}}|%\s*\K([^,]+)%|[[Part Of Sura Number::$1]]}}</td> | <td>{{#regex:{{{part-of-sura-number}}}|%\s*\K([^,]+)%|[[Part Of Sura Number::$1]]}}</td> | ||
</tr>}} | </tr>}} |