Difference between revisions of "Template:Quran Sura InfoBox"
From HodHood
P.Astakhov (talk | contribs) (separate "Surah Index of Subjects") |
P.Astakhov (talk | contribs) (add phptag for Surah Index of Subjects) |
||
Line 230: | Line 230: | ||
</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]] | ||
+ | <phptag> | ||
+ | if ( !isset( $argv['sura-index-of-subjects'] ) ) { | ||
+ | break; | ||
+ | } | ||
+ | |||
+ | echo ' | ||
<div class="infobox infobox-800 mw-collapsible mw-collapsed" style="clear: right"> | <div class="infobox infobox-800 mw-collapsible mw-collapsed" style="clear: right"> | ||
<big>Surah Index of Subjects</big> | <big>Surah Index of Subjects</big> | ||
Line 235: | Line 241: | ||
{{#regex:{{{sura-index-of-subjects}}}|%\s*\K\[*([^\],]+)\]*%|[[Has Sura Index of Subjects::$1]]}} | {{#regex:{{{sura-index-of-subjects}}}|%\s*\K\[*([^\],]+)\]*%|[[Has Sura Index of Subjects::$1]]}} | ||
</div> | </div> | ||
− | </div> | + | </div>'; |
+ | </phptag> |
Revision as of 17:07, 29 March 2018