Difference between revisions of "Template:Quran Ayah InfoBox Template"
From HodHood
(Created page with "{{#switch: {{{1}}} | Surat AlFatiha Ayah 1 = {{Quran Sura InfoBox |prostration = TRUE }} Surat Abasa Ayah 16 = {{Quran Sura InfoBox |prostration = TRUE }} | }}") |
P.Astakhov (talk | contribs) (remove debug info) |
||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | {{#get_db_data: |
− | | | + | db=data |
− | + | |from=eQuran | |
− | + | |where=WikiPageName="{{{1}}}" | |
− | + | |data=wikiAyahInfoBox=wikiAyahInfoBox | |
− | |||
− | |||
− | {{ | ||
− | |||
− | }} | ||
− | |||
− | |||
− | | | ||
}} | }} | ||
+ | {{Quran Ayah InfoBox Transclude|{{#external_value:wikiAyahInfoBox}} }} | ||
+ | {{#clear_external_data:}} | ||
+ | <phptag> | ||
+ | global $transclude; | ||
+ | if ( $transclude ) { | ||
+ | //echo "<nowiki>$transclude</nowiki>"; | ||
+ | echo $transclude; | ||
+ | } | ||
+ | </phptag> |
Latest revision as of 16:19, 17 February 2018