Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
(16 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
<td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td> | <td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td> | ||
</tr> | </tr> | ||
− | {{#if:{{{ | + | {{#if:{{{hodhood-indexing-book-name|}}}|<tr> |
− | <th> | + | <th>HodHood Indexing Book Name</th> |
− | <td>{{#regex:{{{ | + | <td>{{#regex:{{{hodhood-indexing-book-name}}}|%\s*\K([^,]+)%|[[Has HodHood Indexing Book Name::$1]]}}</td> |
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{hodhood-indexing-chapter-name|}}}|<tr> |
− | <th> | + | <th>HodHood Indexing Chapter Name</th> |
− | <td>{{#regex:{{{ | + | <td>{{#regex:{{{hodhood-indexing-chapter-name}}}|%\s*\K([^,]+)%|[[Has HodHood Indexing Chapter Name::$1]]}}</td> |
</tr>}}{{#if:{{{notables|}}}|<tr> | </tr>}}{{#if:{{{notables|}}}|<tr> | ||
<th>Notables</th> | <th>Notables</th> | ||
<td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> | <td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{animals|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{narrators|}}}|<tr> | ||
+ | <th>Narrators</th> | ||
+ | <td>{{#regex:{{{narrators}}}|%\s*\K([^,]+)%|[[Has Narrators::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{animals|}}}|<tr> | ||
<th>Animals</th> | <th>Animals</th> | ||
<td>{{#regex:{{{animals}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td> | <td>{{#regex:{{{animals}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td> | ||
Line 53: | 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 102: | 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 121: | Line 149: | ||
<th>Idols Name</th> | <th>Idols Name</th> | ||
<td>{{#regex:{{{idols}}}|%\s*\K([^,]+)%|[[Has Idols Name::$1]]}}</td> | <td>{{#regex:{{{idols}}}|%\s*\K([^,]+)%|[[Has Idols Name::$1]]}}</td> | ||
− | |||
− | |||
− | |||
− | |||
</tr>}} | </tr>}} | ||
{{#if:{{{holyscriptures|}}}|<tr> | {{#if:{{{holyscriptures|}}}|<tr> | ||
Line 150: | Line 174: | ||
<td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td> | <td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
− | </table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| | + | {{#if:{{{polarity|}}}|<tr> |
+ | <th>Polarity</th> | ||
+ | <td>{{#regex:{{{polarity}}}|%\s*\K([^,]+)%|[[Has Polarity::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{weaponary|}}}|<tr> | ||
+ | <th>Weaponary</th> | ||
+ | <td>{{#regex:{{{weaponary}}}|%\s*\K([^,]+)%|[[Has Weaponary::$1]]}}</td> | ||
+ | </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| ]] |