Difference between revisions of "Template:Quran Sura InfoBox"
From HodHood
(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:{{{ | + | {{#if:{{{number-of-prostration|}}}|<tr> |
− | <th> | + | <th>Number of Prostration</th> |
− | <td>{{#regex:{{{ | + | <td>{{#regex:{{{number-of-prostration}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td> |
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{sura-name|}}}|<tr> |
− | <th> | + | <th>Sura Name</th> |
− | <td>{{#regex:{{{ | + | <td>{{#regex:{{{sura-name}}}|%\s*\K([^,]+)%|[[Has Sura Name::$1]]}}</td> |
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{sura-number|}}}|<tr> |
− | <th> | + | <th>Sura Number</th> |
− | <td>{{#regex:{{{ | + | <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>}} | </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:{{{ | + | {{#if:{{{financial-phrases|}}}|<tr> |
<th>Financial Phrases</th> | <th>Financial Phrases</th> | ||
− | <td>{{#regex:{{{ | + | <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:{{{ | + | {{#if:{{{events-battles|}}}|<tr> |
<th>Events or Battles</th> | <th>Events or Battles</th> | ||
− | <td>{{#regex:{{{ | + | <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:{{{ | + | {{#if:{{{holy-scriptures|}}}|<tr> |
<th>Holy Scriptures</th> | <th>Holy Scriptures</th> | ||
− | <td>{{#regex:{{{ | + | <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:{{{ | + | {{#if:{{{medical-terms|}}}|<tr> |
<th>Medical Terms</th> | <th>Medical Terms</th> | ||
− | <td>{{#regex:{{{ | + | <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> | |
− | + | <th>Sura Chronology Sequence</th> | |
− | + | <td>{{#regex:{{{sura-chronology-seq}}}|%\s*\K([^,]+)%|[[Has Sura Chronology Sequence::$1]]}}</td> | |
− | |||
− | |||
− | |||
− | {{#if:{{{ | ||
− | <th> | ||
− | <td>{{#regex:{{{ | ||
</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: | + | </table></div></div>[[Sura Serial Number::{{{qa_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category: Quran English Text Translation]] |