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