Difference between revisions of "Template:Hadith Text InfoBox"

From HodHood
Jump to: navigation, search
(Created page with "<div class="infobox mw-collapsible mw-collapsed"> <big>Hadith Attributes</big> <div class="mw-collapsible-content"> [[File:{{{image|HadithLogo.jpeg}}}|200px]] <table><tr> <th...")
 
 
(19 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|HadithLogo.jpeg}}}|200px]]
+
[[File:{{{image|HodhoodHadithLogo.PNG}}}|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>
 
</tr>
{{#if:{{{hadith-main-topic|}}}|<tr>
+
{{#if:{{{hodhood-indexing-book-name|}}}|<tr>
<th>Hadith Main Topic</th>
+
<th>HodHood Indexing Book Name</th>
<td>{{#regex:{{{hadith-main-topic}}}|%\s*\K([^,]+)%|[[Has Main Topic::$1]]}}</td>
+
<td>{{#regex:{{{hodhood-indexing-book-name}}}|%\s*\K([^,]+)%|[[Has HodHood Indexing Book Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{hadith-sub-topic|}}}|<tr>
+
{{#if:{{{hodhood-indexing-chapter-name|}}}|<tr>
<th>Hadith SubTopic</th>
+
<th>HodHood Indexing Chapter Name</th>
<td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td>
+
<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-locations|}}}|<tr>
+
{{#if:{{{after-life-event|}}}|<tr>
<th>After life Locations</th>
+
<th>After Life Event</th>
<td>{{#regex:{{{after-life-locations}}}|%\s*\K([^,]+)%|[[Has After life Locations::$1]]}}</td>
+
<td>{{#regex:{{{after-life-event}}}|%\s*\K([^,]+)%|[[Has After life Event::$1]]}}</td>
</tr>}}
 
{{#if:{{{mountains|}}}|<tr>
 
<th>Mountains</th>
 
<td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$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>}}
 
{{#if:{{{holyscriptures|}}}|<tr>
 
<th>Holy Scriptures</th>
 
<td>{{#regex:{{{holyscriptures}}}|%\s*\K([^,]+)%|[[Has Holy Scriptures::$1]]}}</td>
 
 
</tr>}}
 
</tr>}}
 
{{#if:{{{holyscriptures|}}}|<tr>
 
{{#if:{{{holyscriptures|}}}|<tr>
Line 146: Line 170:
 
<td>{{#regex:{{{freqterms}}}|%\s*\K([^,]+)%|[[Has Frequent Terms::$1]]}}</td>
 
<td>{{#regex:{{{freqterms}}}|%\s*\K([^,]+)%|[[Has Frequent Terms::$1]]}}</td>
 
</tr>}}
 
</tr>}}
</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]]
+
{{#if:{{{sentiment|}}}|<tr>
 +
<th>Sentiment</th>
 +
<td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td>
 +
</tr>}}
 +
{{#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| ]]

Latest revision as of 08:42, 16 January 2019

Hadith Attributes

HodhoodHadithLogo.PNG

Hadith Grade