Difference between revisions of "Template:Quran Sura InfoBox"

From HodHood
Jump to: navigation, search
(Created page with "<div class="infobox mw-collapsible mw-collapsed"> <big>Sura Attributes</big> <div class="mw-collapsible-content"> [[File:{{{image|HodHoodQuranLogo.PNG}}}|200px]] <table> {{#if...")
 
Line 6: Line 6:
 
{{#if:{{{classification|}}}|<tr>
 
{{#if:{{{classification|}}}|<tr>
 
<th>Classification</th>
 
<th>Classification</th>
<td>{{#regex:{{{classification}}}|%\s*\K([^,]+)%|[[Has Classification::$1]]}}</td>
+
<td>{{#regex:{{{classification}}}|%\s*\K([^,]+)%|[[Has Sura Classification::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{juza|}}}|<tr>
 
{{#if:{{{juza|}}}|<tr>
Line 17: Line 17:
 
<td>{{#regex:{{{number-of-ayah}}}|%\s*\K([^,]+)%|[[Has Number of Ayah::$1]]}}</td>
 
<td>{{#regex:{{{number-of-ayah}}}|%\s*\K([^,]+)%|[[Has Number of Ayah::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{Number of Prostration|}}}|<tr>
+
{{#if:{{{number-of-prostration|}}}|<tr>
<th>number-of-prostration</th>
+
<th>Number of Prostration</th>
<td>{{#regex:{{{numberofverses}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td>
+
<td>{{#regex:{{{number-of-prostration}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{surahname|}}}|<tr>
+
{{#if:{{{sura-name|}}}|<tr>
<th>Surah Name</th>
+
<th>Sura Name</th>
<td>{{#regex:{{{surahname}}}|%\s*\K([^,]+)%|[[Has Surah Name::$1]]}}</td>
+
<td>{{#regex:{{{sura-name}}}|%\s*\K([^,]+)%|[[Has Sura Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{surahnumber|}}}|<tr>
+
{{#if:{{{sura-number|}}}|<tr>
<th>Surah Number</th>
+
<th>Sura Number</th>
<td>{{#regex:{{{surahnumber}}}|%\s*\K([^,]+)%|[[Has Surah Number::$1]]}}</td>
+
<td>{{#regex:{{{sura-number}}}|%\s*\K([^,]+)%|[[Has Surah Number::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{notables|}}}|<tr>
 
{{#if:{{{notables|}}}|<tr>
Line 40: Line 40:
 
<th>Body Parts</th>
 
<th>Body Parts</th>
 
<td>{{#regex:{{{body-parts}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
 
<td>{{#regex:{{{body-parts}}}|%\s*\K([^,]+)%|[[Has Body-Parts::$1]]}}</td>
</tr>}}
 
{{#if:{{{quran-surat|}}}|<tr>
 
<th>Quran Surat</th>
 
<td>{{#regex:{{{quran-surat}}}|%\s*\K([^,]+)%|[[Has Quran Surat::$1]]}}</td>
 
</tr>}}
 
{{#if:{{{quran-ayat|}}}|<tr>
 
<th>Quran Ayat</th>
 
<td>{{#regex:{{{quran-ayat}}}|%\s*\K([^,]+)%|[[Has Quran Ayat::$1]]}}</td>
 
 
</tr>}}
 
</tr>}}
 
{{#if:{{{islamic-terms|}}}|<tr>
 
{{#if:{{{islamic-terms|}}}|<tr>
Line 129: Line 121:
 
<td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td>
 
<td>{{#regex:{{{prayers}}}|%\s*\K([^,]+)%|[[Has Prayers::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{financialphrases|}}}|<tr>
+
{{#if:{{{financial-phrases|}}}|<tr>
 
<th>Financial Phrases</th>
 
<th>Financial Phrases</th>
<td>{{#regex:{{{financialphrases}}}|%\s*\K([^,]+)%|[[Has Financial Phrases::$1]]}}</td>
+
<td>{{#regex:{{{financial-phrases}}}|%\s*\K([^,]+)%|[[Has Financial Phrases::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{tribes-name|}}}|<tr>
 
{{#if:{{{tribes-name|}}}|<tr>
Line 149: Line 141:
 
<td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
 
<td>{{#regex:{{{mountains}}}|%\s*\K([^,]+)%|[[Has Mountains::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{eventsbattles|}}}|<tr>
+
{{#if:{{{events-battles|}}}|<tr>
 
<th>Events or Battles</th>
 
<th>Events or Battles</th>
<td>{{#regex:{{{eventsbattles}}}|%\s*\K([^,]+)%|[[Has Events or Battles::$1]]}}</td>
+
<td>{{#regex:{{{events-battles}}}|%\s*\K([^,]+)%|[[Has Events or Battles::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{satan|}}}|<tr>
 
{{#if:{{{satan|}}}|<tr>
Line 161: Line 153:
 
<td>{{#regex:{{{idols}}}|%\s*\K([^,]+)%|[[Has Idols Name::$1]]}}</td>
 
<td>{{#regex:{{{idols}}}|%\s*\K([^,]+)%|[[Has Idols Name::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{holyscriptures|}}}|<tr>
+
{{#if:{{{holy-scriptures|}}}|<tr>
 
<th>Holy Scriptures</th>
 
<th>Holy Scriptures</th>
<td>{{#regex:{{{holyscriptures}}}|%\s*\K([^,]+)%|[[Has Holy Scriptures::$1]]}}</td>
+
<td>{{#regex:{{{holy-scriptures}}}|%\s*\K([^,]+)%|[[Has Holy Scriptures::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{angels|}}}|<tr>
 
{{#if:{{{angels|}}}|<tr>
Line 169: Line 161:
 
<td>{{#regex:{{{angels}}}|%\s*\K([^,]+)%|[[Has Angels::$1]]}}</td>
 
<td>{{#regex:{{{angels}}}|%\s*\K([^,]+)%|[[Has Angels::$1]]}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{medicalterms|}}}|<tr>
+
{{#if:{{{medical-terms|}}}|<tr>
 
<th>Medical Terms</th>
 
<th>Medical Terms</th>
<td>{{#regex:{{{medicalterms}}}|%\s*\K([^,]+)%|[[Has Medical Terms::$1]]}}</td>
+
<td>{{#regex:{{{medical-terms}}}|%\s*\K([^,]+)%|[[Has Medical Terms::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{prophets|}}}|<tr>
 
{{#if:{{{prophets|}}}|<tr>
Line 177: Line 169:
 
<td>{{#regex:{{{prophets}}}|%\s*\K([^,]+)%|[[Has Prophets::$1]]}}</td>
 
<td>{{#regex:{{{prophets}}}|%\s*\K([^,]+)%|[[Has Prophets::$1]]}}</td>
 
</tr>}}
 
</tr>}}
 
+
{{#if:{{{sura-chronology-seq|}}}|<tr>
{{#if:{{{surah-chronology-seq|}}}|<tr>
+
<th>Sura Chronology Sequence</th>
<th>Surah Chronology Sequence</th>
+
<td>{{#regex:{{{sura-chronology-seq}}}|%\s*\K([^,]+)%|[[Has Sura Chronology Sequence::$1]]}}</td>
<td>{{#regex:{{{surah-chronology-seq}}}|%\s*\K([^,]+)%|[[Has Surah Chronology Sequence::$1]]}}</td>
 
</tr>}}
 
 
 
{{#if:{{{ayah-chronology-seq|}}}|<tr>
 
<th>Ayah Chronology Sequence</th>
 
<td>{{#regex:{{{ayah-chronology-seq}}}|%\s*\K([^,]+)%|[[Has Ayah Chronology Sequence::$1]]}}</td>
 
 
</tr>}}
 
</tr>}}
 
{{#if:{{{prostration|}}}|<tr>
 
{{#if:{{{prostration|}}}|<tr>
Line 200: Line 186:
 
<td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td>
 
<td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td>
 
</tr>}}
 
</tr>}}
</table></div></div>[[Sura Serial Number::{{{qa_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category: -to be decided -]]
+
</table></div></div>[[Sura Serial Number::{{{qa_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category: Quran English Text Translation]]

Revision as of 17:11, 7 February 2017

Sura Attributes

HodHoodQuranLogo.PNG