Difference between revisions of "Template:Hadith Text"
From HodHood
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<big>Hadith Attributes</big> | <big>Hadith Attributes</big> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | [[File:{{{image| | + | [[File:{{{image|HadithLogo.jpeg}}}|200px]] |
<table><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>{{#if:{{{hadith-main-topic|}}}|<tr> | + | </tr> |
+ | {{#if:{{{hadith-main-topic|}}}|<tr> | ||
<th>Hadith Main Topic</th> | <th>Hadith Main Topic</th> | ||
<td>{{#regex:{{{hadith-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td> | <td>{{#regex:{{{hadith-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{hadith-sub-topic|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{hadith-sub-topic|}}}|<tr> | ||
<th>Hadith SubTopic</th> | <th>Hadith SubTopic</th> | ||
<td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td> | <td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td> | ||
Line 87: | Line 89: | ||
<th>Prayers</th> | <th>Prayers</th> | ||
<td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td> | <td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td> | ||
− | </tr>}}</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]] | + | </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]] |