Difference between revisions of "Template:Quran Ayah InfoBox"
From HodHood
Line 45: | Line 45: | ||
{{#if:{{{ayah-main-topic|}}}|<tr> | {{#if:{{{ayah-main-topic|}}}|<tr> | ||
<th>Ayah Main Topic</th> | <th>Ayah Main Topic</th> | ||
− | <td>{{#regex:{{{ayah-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td> | + | <td>{{#regex:{{{ayah-main-topic}}}|%\s*\K([^,]+)%|[[Has Ayah Main Topic::$1]]}}</td> |
</tr>}} | </tr>}} | ||
{{#if:{{{ayah-sub-topic|}}}|<tr> | {{#if:{{{ayah-sub-topic|}}}|<tr> | ||
<th>Ayah SubTopic</th> | <th>Ayah SubTopic</th> | ||
− | <td>{{#regex:{{{ayah-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td> | + | <td>{{#regex:{{{ayah-sub-topic}}}|%\s*\K([^,]+)%|[[Has Ayah Sub Topic::$1]]}}</td> |
</tr>}}{{#if:{{{notables|}}}|<tr> | </tr>}}{{#if:{{{notables|}}}|<tr> | ||
<th>Notables</th> | <th>Notables</th> |