Difference between revisions of "Template:Hadith Text"

From HodHood
Jump to: navigation, search
Line 1: Line 1:
 
<div class="infobox mw-collapsible">
 
<div class="infobox mw-collapsible">
 
<big>Hadith Text</big>
 
<big>Hadith Text</big>
 +
<div class="mw-collapsible-content">
 
[[File:{{{image|Notable.png}}}|200px]]
 
[[File:{{{image|Notable.png}}}|200px]]
      <table>
+
<table><tr>
 
+
<th>Hadith Grade</th>
 
+
    <td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td>
<tr>
+
</tr>{{#if:{{{hadith-main-topic|}}}|<tr>
<th>Hadith Grade</th>
+
<th>Hadith Main Topic</th>
    <td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td>
+
<td>{{#regex:{{{hadith-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td>
</tr>
+
</tr>}}{{#if:{{{hadith-sub-topic|}}}|<tr>
 
+
<th>Hadith SubTopic</th>
+
<td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td>
 
+
</tr>}}{{#if:{{{notables|}}}|<tr>
{{#if:{{{hadith-main-topic|}}}|<tr>
+
<th>Notables</th>
<th>Hadith Main Topic</th>
+
<td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td>
<td>{{#regex:{{{hadith-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td>
+
</tr>}}{{#if:{{{animals|}}}|<tr>
</tr>}}
+
<th>Animals</th>
 
+
<td>{{#regex:{{{animals}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td>
{{#if:{{{hadith-sub-topic|}}}|<tr>
+
</tr>}}{{#if:{{{body-parts|}}}|<tr>
<th>Hadith SubTopic</th>
+
<th>Body Parts</th>
<td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td>
+
<td>{{#regex:{{{body-parts}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
</tr>}}
+
</tr>}}{{#if:{{{quran-surat|}}}|<tr>
 
+
<th>Quran Surat</th>
{{#if:{{{notables|}}}|<tr>
+
<td>{{#regex:{{{quran-surat}}}|%\s*\K([^,]+)%|[[Has Quran Surat::$1]]}}</td>
              <th>Notables</th>
+
</tr>}}{{#if:{{{quran-ayat|}}}|<tr>
              <td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td>
+
<th>Quran Ayat</th>
</tr>}}
+
<td>{{#regex:{{{quran-ayat}}}|%\s*\K([^,]+)%|[[Has Quran Ayat::$1]]}}</td>
 
+
</tr>}}{{#if:{{{islamic-terms|}}}|<tr>
 
+
<th>Islamic Terms</th>
{{#if:{{{animals|}}}|<tr>
+
<td>{{#regex:{{{islamic-terms}}}|%\s*\K([^,]+)%|[[Has Islamic Terms::$1]]}}</td>
              <th>Animals</th>
+
</tr>}}{{#if:{{{phrases|}}}|<tr>
              <td>{{#regex:{{{animals}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td>
+
<th>Phrases</th>
</tr>}}
+
<td>{{#regex:{{{phrases}}}|%\s*\K([^,]+)%|[[Has Phrases::$1]]}}</td>
 
+
</tr>}}{{#if:{{{food|}}}|<tr>
 
+
<th>Food</th>
{{#if:{{{body-parts|}}}|<tr>
+
<td>{{#regex:{{{food}}}|%\s*\K([^,]+)%|[[Has Food::$1]]}}</td>
              <th>Body Parts</th>
+
</tr>}}{{#if:{{{plants|}}}|<tr>
              <td>{{#regex:{{{body-parts}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
+
<th>Plants</th>
</tr>}}
+
<td>{{#regex:{{{plants}}}|%\s*\K([^,]+)%|[[Has Plants::$1]]}}</td>
 
+
</tr>}}{{#if:{{{fruits|}}}|<tr>
 
+
<th>Fruits</th>
 
+
<td>{{#regex:{{{fruits}}}|%\s*\K([^,]+)%|[[Has Fruits::$1]]}}</td>
{{#if:{{{quran-surat|}}}|<tr>
+
</tr>}}{{#if:{{{vegetables|}}}|<tr>
              <th>Quran Surat</th>
+
<th>Vegetables</th>
              <td>{{#regex:{{{quran-surat}}}|%\s*\K([^,]+)%|[[Has Quran Surat::$1]]}}</td>
+
<td>{{#regex:{{{vegetables}}}|%\s*\K([^,]+)%|[[Has Vegetables::$1]]}}</td>
</tr>}}
+
</tr>}}{{#if:{{{spices|}}}|<tr>
 
+
<th>Spices</th>
 
+
<td>{{#regex:{{{spices}}}|%\s*\K([^,]+)%|[[Has Spices::$1]]}}</td>
{{#if:{{{quran-ayat|}}}|<tr>
+
</tr>}}{{#if:{{{family|}}}|<tr>
              <th>Quran Ayat</th>
+
<th>Family</th>
              <td>{{#regex:{{{quran-ayat}}}|%\s*\K([^,]+)%|[[Has Quran Ayat::$1]]}}</td>
+
<td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td>
</tr>}}
+
</tr>}}{{#if:{{{tribes-name|}}}|<tr>
 
+
<th>Tribes Name</th>
 
+
<td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td>
 
+
</tr>}}{{#if:{{{astronomical-body|}}}|<tr>
{{#if:{{{islamic-terms|}}}|<tr>
+
<th>Astronomical Body</th>
              <th>Islamic Terms</th>
+
<td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td>
              <td>{{#regex:{{{islamic-terms}}}|%\s*\K([^,]+)%|[[Has Islamic Terms::$1]]}}</td>
+
</tr>}}{{#if:{{{after-life-locations|}}}|<tr>
</tr>}}
+
<th>After Life Locations</th>
 
+
<td>{{#regex:{{{after-life-locations}}}|%\s*\K([^,]+)%|[[Has After Life Locations::$1]]}}</td>
 
+
</tr>}}{{#if:{{{places-of-worship|}}}|<tr>
{{#if:{{{phrases|}}}|<tr>
+
<th>Places of Worship</th>
              <th>Phrases</th>
+
<td>{{#regex:{{{places-of-worship}}}|%\s*\K([^,]+)%|[[Has Places of Worship::$1]]}}</td>
              <td>{{#regex:{{{phrases}}}|%\s*\K([^,]+)%|[[Has Phrases::$1]]}}</td>
+
</tr>}}{{#if:{{{mountains|}}}|<tr>
</tr>}}
+
<th>Mountains</th>
 
+
<td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
 
+
</tr>}}{{#if:{{{geo-locations|}}}|<tr>
 
+
<th>Geo-locations</th>
{{#if:{{{food|}}}|<tr>
+
<td>{{#regex:{{{geo-locations}}}|%\s*\K([^,]+)%|[[Has Geo-locations::$1]]}}</td>
              <th>Food</th>
+
</tr>}}{{#if:{{{historical-land|}}}|<tr>
              <td>{{#regex:{{{food}}}|%\s*\K([^,]+)%|[[Has Food::$1]]}}</td>
+
<th>Historical Land</th>
</tr>}}
+
<td>{{#regex:{{{historical-land}}}|%\s*\K([^,]+)%|[[Has Historical Land::$1]]}}</td>
 
+
</tr>}}{{#if:{{{cities|}}}|<tr>
 
+
<th>Cities</th>
{{#if:{{{plants|}}}|<tr>
+
<td>{{#regex:{{{cities}}}|%\s*\K([^,]+)%|[[Has Cities::$1]]}}</td>
              <th>Plants</th>
+
</tr>}}{{#if:{{{holly-places|}}}|<tr>
              <td>{{#regex:{{{plants}}}|%\s*\K([^,]+)%|[[Has Plants::$1]]}}</td>
+
<th>Holly Places</th>
</tr>}}
+
<td>{{#regex:{{{holly-places}}}|%\s*\K([^,]+)%|[[Has Holly Places::$1]]}}</td>
 
+
</tr>}}{{#if:{{{insects|}}}|<tr>
 
+
<th>Insects</th>
{{#if:{{{fruits|}}}|<tr>
+
<td>{{#regex:{{{insects}}}|%\s*\K([^,]+)%|[[Has Insects::$1]]}}</td>
              <th>Fruits</th>
+
</tr>}}{{#if:{{{disease|}}}|<tr>
              <td>{{#regex:{{{fruits}}}|%\s*\K([^,]+)%|[[Has Fruits::$1]]}}</td>
+
<th>Disease</th>
</tr>}}
+
<td>{{#regex:{{{disease}}}|%\s*\K([^,]+)%|[[Has Disease::$1]]}}</td>
 
+
</tr>}}{{#if:{{{prayers|}}}|<tr>
 
+
<th>Prayers</th>
{{#if:{{{vegetables|}}}|<tr>
+
<td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td>
              <th>Vegetables</th>
+
</tr>}}</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]]
              <td>{{#regex:{{{vegetables}}}|%\s*\K([^,]+)%|[[Has Vegetables::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{spices|}}}|<tr>
 
              <th>Spices</th>
 
              <td>{{#regex:{{{spices}}}|%\s*\K([^,]+)%|[[Has Spices::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{family|}}}|<tr>
 
              <th>Family</th>
 
              <td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{tribes-name|}}}|<tr>
 
              <th>Tribes Name</th>
 
              <td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
{{#if:{{{astronomical-body|}}}|<tr>
 
              <th>Astronomical Body</th>
 
              <td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{after-life-locations|}}}|<tr>
 
              <th>After Life Locations</th>
 
              <td>{{#regex:{{{after-life-locations}}}|%\s*\K([^,]+)%|[[Has After Life Locations::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{places-of-worship|}}}|<tr>
 
              <th>Places of Worship</th>
 
              <td>{{#regex:{{{places-of-worship}}}|%\s*\K([^,]+)%|[[Has Places of Worship::$1]]}}</td>
 
</tr>}}
 
 
 
{{#if:{{{mountains|}}}|<tr>
 
              <th>Mountains</th>
 
              <td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
{{#if:{{{geo-locations|}}}|<tr>
 
              <th>Geo-locations</th>
 
              <td>{{#regex:{{{geo-locations}}}|%\s*\K([^,]+)%|[[Has Geo-locations::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{historical-land|}}}|<tr>
 
              <th>Historical Land</th>
 
              <td>{{#regex:{{{historical-land}}}|%\s*\K([^,]+)%|[[Has Historical Land::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
{{#if:{{{cities|}}}|<tr>
 
              <th>Cities</th>
 
              <td>{{#regex:{{{cities}}}|%\s*\K([^,]+)%|[[Has Cities::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
{{#if:{{{holly-places|}}}|<tr>
 
              <th>Holly Places</th>
 
              <td>{{#regex:{{{holly-places}}}|%\s*\K([^,]+)%|[[Has Holly Places::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{insects|}}}|<tr>
 
              <th>Insects</th>
 
              <td>{{#regex:{{{insects}}}|%\s*\K([^,]+)%|[[Has Insects::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
 
 
{{#if:{{{disease|}}}|<tr>
 
              <th>Disease</th>
 
              <td>{{#regex:{{{disease}}}|%\s*\K([^,]+)%|[[Has Disease::$1]]}}</td>
 
</tr>}}
 
 
 
{{#if:{{{prayers|}}}|<tr>
 
              <th>Prayers</th>
 
              <td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td>
 
</tr>}}
 
 
 
 
 
</table>
 
 
 
</div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]]
 

Revision as of 17:01, 14 December 2016

Hadith Text

Notable.png

Hadith Grade