Difference between revisions of "Template:Quran Sura InfoBox"

From HodHood
Jump to: navigation, search
(replace infobox-big by infobox-800 class)
(separate "Surah Index of Subjects")
Line 1: Line 1:
<div class="infobox infobox-800 mw-collapsible mw-collapsed">
+
<div class="infobox mw-collapsible mw-collapsed">
 
<big>Sura Attributes</big>
 
<big>Sura Attributes</big>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 29: Line 29:
 
<th>Number of Prostration</th>
 
<th>Number of Prostration</th>
 
<td>{{#regex:{{{number-of-prostration}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td>
 
<td>{{#regex:{{{number-of-prostration}}}|%\s*\K([^,]+)%|[[Has Number of Prostration::$1]]}}</td>
</tr>}}
 
 
{{#if:{{{sura-index-of-subjects|}}}|<tr>
 
<th>Surah Index of Subjects</th>
 
<td>{{#regex:{{{sura-index-of-subjects}}}|%\s*\K\[*([^\],]+)\]*%|[[Has Sura Index of Subjects::$1]]}}</td>
 
 
</tr>}}
 
</tr>}}
  
Line 234: Line 229:
  
 
</table></div></div>[[Sura Serial Number::{{{qs_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category:Quran English Translation]]
 
</table></div></div>[[Sura Serial Number::{{{qs_sernumber|}}}| ]][[Is Sura Text::true| ]][[Category:Quran English Translation]]
 +
 +
<div class="infobox infobox-800 mw-collapsible mw-collapsed" style="clear: right">
 +
<big>Surah Index of Subjects</big>
 +
<div class="mw-collapsible-content">
 +
{{#regex:{{{sura-index-of-subjects}}}|%\s*\K\[*([^\],]+)\]*%|[[Has Sura Index of Subjects::$1]]}}
 +
</div>
 +
</div>

Revision as of 17:02, 29 March 2018

Sura Attributes

HodHoodQuranLogo.PNG

Surah Index of Subjects

{{{sura-index-of-subjects}}}
Property "Has Sura Index of Subjects" (as page type) with input value "{{{sura-index-of-subjects}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.