Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
(7 intermediate revisions by the same user not shown) | |||
Line 58: | Line 58: | ||
<th>Family</th> | <th>Family</th> | ||
<td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td> | <td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{tribes-name|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{quran-tribes-name|}}}|<tr> | ||
+ | <th>Quran Tribes Name</th> | ||
+ | <td>{{#regex:{{{quran-tribes-name}}}|%\s*\K([^,]+)%|[[Has Quran Tribes Name::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{hadith-tribes-name|}}}|<tr> | ||
+ | <th>Hadith Tribes Name</th> | ||
+ | <td>{{#regex:{{{hadith-tribes-name}}}|%\s*\K([^,]+)%|[[Has Hadith Tribes Name::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{tribes-name|}}}|<tr> | ||
<th>Tribes Name</th> | <th>Tribes Name</th> | ||
<td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td> | <td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{astronomical-body|}}}|<tr> | + | </tr>}} |
+ | |||
+ | {{#if:{{{astronomical-body|}}}|<tr> | ||
<th>Astronomical Body</th> | <th>Astronomical Body</th> | ||
<td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td> | <td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{after-life-locations|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{after-life-locations|}}}|<tr> | ||
<th>After Life Locations</th> | <th>After Life Locations</th> | ||
<td>{{#regex:{{{after-life-locations}}}|%\s*\K([^,]+)%|[[Has After Life Locations::$1]]}}</td> | <td>{{#regex:{{{after-life-locations}}}|%\s*\K([^,]+)%|[[Has After Life Locations::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{places-of-worship|}}}|<tr> | + | </tr>}} |
+ | |||
+ | {{#if:{{{calendar-event|}}}|<tr> | ||
+ | <th>Calendar Event</th> | ||
+ | <td>{{#regex:{{{calendar-event}}}|%\s*\K([^,]+)%|[[Has Calendar Event::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{physical-event|}}}|<tr> | ||
+ | <th>Physical Event</th> | ||
+ | <td>{{#regex:{{{physical-event}}}|%\s*\K([^,]+)%|[[Has physical Event::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{places-of-worship|}}}|<tr> | ||
<th>Places of Worship</th> | <th>Places of Worship</th> | ||
<td>{{#regex:{{{places-of-worship}}}|%\s*\K([^,]+)%|[[Has Places of Worship::$1]]}}</td> | <td>{{#regex:{{{places-of-worship}}}|%\s*\K([^,]+)%|[[Has Places of Worship::$1]]}}</td> | ||
Line 107: | 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- | + | {{#if:{{{after-life-event|}}}|<tr> |
− | <th>After | + | <th>After Life Event</th> |
− | <td>{{#regex:{{{after-life- | + | <td>{{#regex:{{{after-life-event}}}|%\s*\K([^,]+)%|[[Has After life Event::$1]]}}</td> |
</tr>}} | </tr>}} | ||
+ | |||
{{#if:{{{eventsbattles|}}}|<tr> | {{#if:{{{eventsbattles|}}}|<tr> | ||
<th>Events or Battles</th> | <th>Events or Battles</th> | ||
<td>{{#regex:{{{eventsbattles}}}|%\s*\K([^,]+)%|[[Has Events or Battles::$1]]}}</td> | <td>{{#regex:{{{eventsbattles}}}|%\s*\K([^,]+)%|[[Has Events or Battles::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{battles|}}}|<tr> | ||
+ | <th>Battles</th> | ||
+ | <td>{{#regex:{{{battles}}}|%\s*\K([^,]+)%|[[Has Battles::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{satan|}}}|<tr> | {{#if:{{{satan|}}}|<tr> | ||
Line 155: | 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| ]] |