Difference between revisions of "Template:Quran Sura InfoBox"

From HodHood
Jump to: navigation, search
Line 5: Line 5:
 
<table>
 
<table>
 
{{#if:{{{classification|}}}|<tr>
 
{{#if:{{{classification|}}}|<tr>
<th>Classification</th>
+
<th>Sura Classification</th>
 
<td>{{#regex:{{{classification}}}|%\s*\K([^,]+)%|[[Has Sura Classification::$1]]}}</td>
 
<td>{{#regex:{{{classification}}}|%\s*\K([^,]+)%|[[Has Sura Classification::$1]]}}</td>
 
</tr>}}
 
</tr>}}
Line 12: Line 12:
 
<td>{{#regex:{{{juza}}}|%\s*\K([^,]+)%|[[Has Juza::$1]]}}</td>
 
<td>{{#regex:{{{juza}}}|%\s*\K([^,]+)%|[[Has Juza::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
 
{{#if:{{{number-of-ayah|}}}|<tr>  
 
{{#if:{{{number-of-ayah|}}}|<tr>  
 
<th>Number of Ayah</th>
 
<th>Number of Ayah</th>
Line 29: Line 28:
 
<td>{{#regex:{{{sura-number}}}|%\s*\K([^,]+)%|[[Has Surah Number::$1]]}}</td>
 
<td>{{#regex:{{{sura-number}}}|%\s*\K([^,]+)%|[[Has Surah Number::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{notables|}}}|<tr>
+
 
<th>Notables</th>
 
<td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{animals|}}}|<tr>
 
<th>Animals</th>
 
<td>{{#regex:{{{animals}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{body-parts|}}}|<tr>
 
<th>Body Parts</th>
 
<td>{{#regex:{{{body-parts}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{islamic-terms|}}}|<tr>
 
<th>Islamic Terms</th>
 
<td>{{#regex:{{{islamic-terms}}}|%\s*\K([^,]+)%|[[Has Islamic Terms::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{phrases|}}}|<tr>
 
<th>Phrases</th>
 
<td>{{#regex:{{{phrases}}}|%\s*\K([^,]+)%|[[Has Phrases::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{food|}}}|<tr>
 
<th>Food</th>
 
<td>{{#regex:{{{food}}}|%\s*\K([^,]+)%|[[Has Food::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{plants|}}}|<tr>
 
<th>Plants</th>
 
<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>
 
</tr>}}
 
{{#if:{{{vegetables|}}}|<tr>
 
<th>Vegetables</th>
 
<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>}}
 
{{#if:{{{financial-phrases|}}}|<tr>
 
<th>Financial Phrases</th>
 
<td>{{#regex:{{{financial-phrases}}}|%\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:{{{events-battles|}}}|<tr>
 
<th>Events or Battles</th>
 
<td>{{#regex:{{{events-battles}}}|%\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:{{{holy-scriptures|}}}|<tr>
 
<th>Holy Scriptures</th>
 
<td>{{#regex:{{{holy-scriptures}}}|%\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:{{{medical-terms|}}}|<tr>
 
<th>Medical Terms</th>
 
<td>{{#regex:{{{medical-terms}}}|%\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:{{{sura-chronology-seq|}}}|<tr>
 
{{#if:{{{sura-chronology-seq|}}}|<tr>
 
<th>Sura Chronology Sequence</th>
 
<th>Sura Chronology Sequence</th>
 
<td>{{#regex:{{{sura-chronology-seq}}}|%\s*\K([^,]+)%|[[Has Sura Chronology Sequence::$1]]}}</td>
 
<td>{{#regex:{{{sura-chronology-seq}}}|%\s*\K([^,]+)%|[[Has Sura Chronology Sequence::$1]]}}</td>
</tr>}}
 
{{#if:{{{prostration|}}}|<tr>
 
<th>Prostration</th>
 
<td>{{#regex:{{{prostration}}}|%\s*\K([^,]+)%|[[Has Prostration::$1]]}}</td>
 
</tr>}}
 
 
{{#if:{{{freqterms|}}}|<tr>
 
<th>Frequent Terms</th>
 
<td>{{#regex:{{{freqterms}}}|%\s*\K([^,]+)%|[[Has Frequent Terms::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{sentiment|}}}|<tr>
 
<th>Sentiment</th>
 
<td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td>
 
 
</tr>}}
 
</tr>}}
 
</table></div></div>[[Sura Serial Number::{{{qa_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category: Quran English Text Translation]]
 
</table></div></div>[[Sura Serial Number::{{{qa_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category: Quran English Text Translation]]

Revision as of 17:20, 7 February 2017

Sura Attributes

HodHoodQuranLogo.PNG