Difference between revisions of "Template:Hadith Text"

From HodHood
Jump to: navigation, search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class= "infobox">
+
<div class="infobox mw-collapsible mw-collapsed">
<big>Hadith Text</big>
+
<big>Hadith Attributes</big>
[[File:{{{image|Notable.png}}}|200px]]
+
<div class="mw-collapsible-content">
      <table>
+
[[File:{{{image|HadithLogo.jpeg}}}|200px]]
  <tr>
+
<table><tr>
      <th>Hadith Grade</th>
+
<th>Hadith Grade</th>
      <td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td>
+
    <td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td>
  </tr><tr>
+
</tr>
      <th>Hadith Main Topic</th>
+
{{#if:{{{hadith-main-topic|}}}|<tr>
      <td>{{#regex:{{{hadith-main-topic|}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td>
+
<th>Hadith Main Topic</th>
  </tr><tr>
+
<td>{{#regex:{{{hadith-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td>
      <th>Hadith Sub Topic</th>
+
</tr>}}
      <td>{{#regex:{{{hadith-sub-topic|}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td>
+
{{#if:{{{hadith-sub-topic|}}}|<tr>
  </tr><tr>
+
<th>Hadith SubTopic</th>
      <th>Notables</th>
+
<td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td>
      <td>{{#regex:{{{notables|}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td>
+
</tr>}}{{#if:{{{notables|}}}|<tr>
  </tr><tr>
+
<th>Notables</th>
      <th>Animals</th>
+
<td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td>
      <td>{{#regex:{{{animals|}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td>
+
</tr>}}{{#if:{{{animals|}}}|<tr>
  </tr><tr>
+
<th>Animals</th>
      <th>Body Parts</th>
+
<td>{{#regex:{{{animals}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td>
      <td>{{#regex:{{{body-parts|}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
+
</tr>}}{{#if:{{{body-parts|}}}|<tr>
  </tr><tr>
+
<th>Body Parts</th>
      <th>Food</th>
+
<td>{{#regex:{{{body-parts}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
      <td>{{#regex:{{{food|}}}|%\s*\K([^,]+)%|[[Has Food::$1]]}}</td>
+
</tr>}}{{#if:{{{quran-surat|}}}|<tr>
  </tr><tr>
+
<th>Quran Surat</th>
      <th>Plants</th>
+
<td>{{#regex:{{{quran-surat}}}|%\s*\K([^,]+)%|[[Has Quran Surat::$1]]}}</td>
      <td>{{#regex:{{{plants|}}}|%\s*\K([^,]+)%|[[Has Plants::$1]]}}</td>
+
</tr>}}{{#if:{{{quran-ayat|}}}|<tr>
  </tr><tr>
+
<th>Quran Ayat</th>
      <th>Fruits</th>
+
<td>{{#regex:{{{quran-ayat}}}|%\s*\K([^,]+)%|[[Has Quran Ayat::$1]]}}</td>
      <td>{{#regex:{{{fruits|}}}|%\s*\K([^,]+)%|[[Has Fruits::$1]]}}</td>
+
</tr>}}{{#if:{{{islamic-terms|}}}|<tr>
  </tr><tr>
+
<th>Islamic Terms</th>
      <th>Vegtables</th>
+
<td>{{#regex:{{{islamic-terms}}}|%\s*\K([^,]+)%|[[Has Islamic Terms::$1]]}}</td>
      <td>{{#regex:{{{vegtables|}}}|%\s*\K([^,]+)%|[[Has Vegtables::$1]]}}</td>
+
</tr>}}{{#if:{{{phrases|}}}|<tr>
  </tr><tr>
+
<th>Phrases</th>
      <th>Islamic Terms</th>
+
<td>{{#regex:{{{phrases}}}|%\s*\K([^,]+)%|[[Has Phrases::$1]]}}</td>
      <td>{{#regex:{{{islamic-terms|}}}|%\s*\K([^,]+)%|[[Has Islamic Terms::$1]]}}</td>
+
</tr>}}{{#if:{{{food|}}}|<tr>
  </tr><tr>
+
<th>Food</th>
      <th>Spices</th>
+
<td>{{#regex:{{{food}}}|%\s*\K([^,]+)%|[[Has Food::$1]]}}</td>
      <td>{{#regex:{{{spices|}}}|%\s*\K([^,]+)%|[[Has Spices::$1]]}}</td>
+
</tr>}}{{#if:{{{plants|}}}|<tr>
  </tr><tr>
+
<th>Plants</th>
      <th>Family</th>
+
<td>{{#regex:{{{plants}}}|%\s*\K([^,]+)%|[[Has Plants::$1]]}}</td>
      <td>{{#regex:{{{family|}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td>
+
</tr>}}{{#if:{{{fruits|}}}|<tr>
  </tr><tr>
+
<th>Fruits</th>
      <th>Places of Worship</th>
+
<td>{{#regex:{{{fruits}}}|%\s*\K([^,]+)%|[[Has Fruits::$1]]}}</td>
      <td>{{#regex:{{{places-of-worship|}}}|%\s*\K([^,]+)%|[[Has Places Of Worship::$1]]}}</td>
+
</tr>}}{{#if:{{{vegetables|}}}|<tr>
  </tr><tr>
+
<th>Vegetables</th>
      <th>Tribes Name</th>
+
<td>{{#regex:{{{vegetables}}}|%\s*\K([^,]+)%|[[Has Vegetables::$1]]}}</td>
      <td>{{#regex:{{{tribes-name|}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td>
+
</tr>}}{{#if:{{{spices|}}}|<tr>
  </tr><tr>
+
<th>Spices</th>
      <th>Astronomical Body</th>
+
<td>{{#regex:{{{spices}}}|%\s*\K([^,]+)%|[[Has Spices::$1]]}}</td>
      <td>{{#regex:{{{astronomical-body|}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td>
+
</tr>}}{{#if:{{{family|}}}|<tr>
  </tr><tr>
+
<th>Family</th>
      <th>Diseas</th>
+
<td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td>
      <td>{{#regex:{{{diseas|}}}|%\s*\K([^,]+)%|[[Has Diseas::$1]]}}</td>
+
</tr>}}{{#if:{{{tribes-name|}}}|<tr>
  </tr><tr>
+
<th>Tribes Name</th>
      <th>After Life Locations</th>
+
<td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td>
      <td>{{#regex:{{{after-life-locations|}}}|%\s*\K([^,]+)%|[[Has After Life Locatoions::$1]]}}</td>
+
</tr>}}{{#if:{{{astronomical-body|}}}|<tr>
  </tr><tr>
+
<th>Astronomical Body</th>
      <th>Mountains</th>
+
<td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td>
      <td>{{#regex:{{{mountains|}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
+
</tr>}}{{#if:{{{after-life-locations|}}}|<tr>
  </tr><tr>
+
<th>After Life Locations</th>
      <th>GeoLocations</th>
+
<td>{{#regex:{{{after-life-locations}}}|%\s*\K([^,]+)%|[[Has After Life Locations::$1]]}}</td>
      <td>{{#regex:{{{geoLocations|}}}|%\s*\K([^,]+)%|[[Has GeoLocations::$1]]}}</td>
+
</tr>}}{{#if:{{{places-of-worship|}}}|<tr>
  </tr><tr>
+
<th>Places of Worship</th>
      <th>Historical Land</th>
+
<td>{{#regex:{{{places-of-worship}}}|%\s*\K([^,]+)%|[[Has Places of Worship::$1]]}}</td>
      <td>{{#regex:{{{historical-land|}}}|%\s*\K([^,]+)%|[[Has Historical Land::$1]]}}</td>
+
</tr>}}{{#if:{{{mountains|}}}|<tr>
  </tr><tr>
+
<th>Mountains</th>
      <th>Insects</th>
+
<td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
      <td>{{#regex:{{{insects|}}}|%\s*\K([^,]+)%|[[Has Insects::$1]]}}</td>
+
</tr>}}{{#if:{{{geo-locations|}}}|<tr>
  </tr><tr>
+
<th>Geo-locations</th>
      <th>Cities</th>
+
<td>{{#regex:{{{geo-locations}}}|%\s*\K([^,]+)%|[[Has Geo-locations::$1]]}}</td>
      <td>{{#regex:{{{cities|}}}|%\s*\K([^,]+)%|[[Has Cities::$1]]}}</td>
+
</tr>}}{{#if:{{{historical-land|}}}|<tr>
  </tr><tr>
+
<th>Historical Land</th>
      <th>Phrases</th>
+
<td>{{#regex:{{{historical-land}}}|%\s*\K([^,]+)%|[[Has Historical Land::$1]]}}</td>
      <td>{{#regex:{{{phrases|}}}|%\s*\K([^,]+)%|[[Has Phrases::$1]]}}</td>
+
</tr>}}{{#if:{{{cities|}}}|<tr>
  </tr><tr>
+
<th>Cities</th>
      <th>Holly Places</th>
+
<td>{{#regex:{{{cities}}}|%\s*\K([^,]+)%|[[Has Cities::$1]]}}</td>
      <td>{{#regex:{{{holly-places|}}}|%\s*\K([^,]+)%|[[Has Holly Places::$1]]}}</td>
+
</tr>}}{{#if:{{{holly-places|}}}|<tr>
  </tr><tr>
+
<th>Holly Places</th>
      <th>Quran Surat</th>
+
<td>{{#regex:{{{holly-places}}}|%\s*\K([^,]+)%|[[Has Holly Places::$1]]}}</td>
      <td>{{#regex:{{{quran-surat|}}}|%\s*\K([^,]+)%|[[Has Quran Surat::$1]]}}</td>
+
</tr>}}{{#if:{{{insects|}}}|<tr>
  </tr><tr>
+
<th>Insects</th>
      <th>Quran Ayat</th>
+
<td>{{#regex:{{{insects}}}|%\s*\K([^,]+)%|[[Has Insects::$1]]}}</td>
      <td>{{#regex:{{{quran-ayat|}}}|%\s*\K([^,]+)%|[[Has Quran Ayat::$1]]}}</td>
+
</tr>}}{{#if:{{{disease|}}}|<tr>
  </tr>
+
<th>Disease</th>
</table>
+
<td>{{#regex:{{{disease}}}|%\s*\K([^,]+)%|[[Has Disease::$1]]}}</td>
</div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]]
+
</tr>}}{{#if:{{{prayers|}}}|<tr>
 +
<th>Prayers</th>
 +
<td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{financialphrases|}}}|<tr>
 +
<th>Financial Phrases</th>
 +
<td>{{#regex:{{{financialphrases}}}|%\s*\K([^,]+)%|[[Has Financial Phrases::$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:{{{mountains|}}}|<tr>
 +
<th>Mountains</th>
 +
<td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{eventsbattles|}}}|<tr>
 +
<th>Events or Battles</th>
 +
<td>{{#regex:{{{eventsbattles}}}|%\s*\K([^,]+)%|[[Has Events or Battles::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{satan|}}}|<tr>
 +
<th>Satan Name</th>
 +
<td>{{#regex:{{{satan}}}|%\s*\K([^,]+)%|[[Has Satan Name::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{idols|}}}|<tr>
 +
<th>Idols Name</th>
 +
<td>{{#regex:{{{idols}}}|%\s*\K([^,]+)%|[[Has Idols Name::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{holyscriptures|}}}|<tr>
 +
<th>Holy Scriptures</th>
 +
<td>{{#regex:{{{holyscriptures}}}|%\s*\K([^,]+)%|[[Has Holy Scriptures::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{holyscriptures|}}}|<tr>
 +
<th>Holy Scriptures</th>
 +
<td>{{#regex:{{{holyscriptures}}}|%\s*\K([^,]+)%|[[Has Holy Scriptures::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{angels|}}}|<tr>
 +
<th>Angels</th>
 +
<td>{{#regex:{{{angels}}}|%\s*\K([^,]+)%|[[Has Angels::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{medicalterms|}}}|<tr>
 +
<th>Medical Terms</th>
 +
<td>{{#regex:{{{medicalterms}}}|%\s*\K([^,]+)%|[[Has Medical Terms::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{prophets|}}}|<tr>
 +
<th>Prophets</th>
 +
<td>{{#regex:{{{prophets}}}|%\s*\K([^,]+)%|[[Has Prophets::$1]]}}</td>
 +
</tr>}}
 +
{{#if:{{{freqterms|}}}|<tr>
 +
<th>Frequent Terms</th>
 +
<td>{{#regex:{{{freqterms}}}|%\s*\K([^,]+)%|[[Has Frequent Terms::$1]]}}</td>
 +
</tr>}}
 +
</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]]

Latest revision as of 06:47, 14 January 2017

Hadith Attributes

HadithLogo.jpeg

Hadith Grade