Difference between revisions of "Template:Quran Sura InfoBox Template"
From HodHood
(Replaced content with "{{#get_db_data: db=data |from=eSura |data=wikiSuraInfoBox=wikiSuraInfoBox |where=WikiPageName="{{PAGENAME}}" }}") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
db=data | db=data | ||
|from=eSura | |from=eSura | ||
+ | |where=WikiPageName="{{{1}}}" | ||
|data=wikiSuraInfoBox=wikiSuraInfoBox | |data=wikiSuraInfoBox=wikiSuraInfoBox | ||
− | |||
}} | }} | ||
+ | {{Template:Quran Sura InfoBox Transclude|{{#external_value:wikiSuraInfoBox}} }} | ||
+ | {{#clear_external_data:}} | ||
+ | <phptag> | ||
+ | global $transclude; | ||
+ | if ( $transclude ) { | ||
+ | //echo "<nowiki>$transclude</nowiki>"; | ||
+ | echo $transclude; | ||
+ | } | ||
+ | </phptag> |
Latest revision as of 19:59, 22 March 2018