Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
(4 intermediate revisions by the same user not shown) | |||
Line 85: | Line 85: | ||
<td>{{#regex:{{{calendar-event}}}|%\s*\K([^,]+)%|[[Has Calendar Event::$1]]}}</td> | <td>{{#regex:{{{calendar-event}}}|%\s*\K([^,]+)%|[[Has Calendar Event::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{physical-event|}}}|<tr> |
− | <th> | + | <th>Physical Event</th> |
− | <td>{{#regex:{{{ | + | <td>{{#regex:{{{physical-event}}}|%\s*\K([^,]+)%|[[Has physical Event::$1]]}}</td> |
</tr>}} | </tr>}} | ||
− | |||
− | |||
− | |||
{{#if:{{{places-of-worship|}}}|<tr> | {{#if:{{{places-of-worship|}}}|<tr> | ||
<th>Places of Worship</th> | <th>Places of Worship</th> | ||
Line 132: | Line 129: | ||
<td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td> | <td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#if:{{{after-life-event|}}}|<tr> | {{#if:{{{after-life-event|}}}|<tr> | ||
<th>After Life Event</th> | <th>After Life Event</th> | ||
Line 190: | Line 182: | ||
<td>{{#regex:{{{weaponary}}}|%\s*\K([^,]+)%|[[Has Weaponary::$1]]}}</td> | <td>{{#regex:{{{weaponary}}}|%\s*\K([^,]+)%|[[Has Weaponary::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
+ | {{#if:{{{hadith-indexofsubjects|}}}|<tr> | ||
+ | <th>Hadith Index of Subjects</th> | ||
+ | <td>{{#regex:{{{hadith-indexofsubjects}}}|%\s*\K([^,]+)%|[[Has Hadith Index of Subjects::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | |||
+ | {{#if:{{{quran-indexofsubjects|}}}|<tr> | ||
+ | <th>quran Index of Subjects</th> | ||
+ | <td>{{#regex:{{{quran-indexofsubjects}}}|%\s*\K([^,]+)%|[[Has Quran Index of Subjects::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | |||
</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]] | </table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]] |