Difference between revisions of "Template:Quran Ayah InfoBox Template"

From HodHood
Jump to: navigation, search
(remove debug info)
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch: {{{1}}}
+
{{#get_db_data:
| Surat AlFatiha Ayah 1 =  
+
db=data
{{Quran Sura InfoBox
+
|from=eQuran
    |prostration = TRUE
+
|where=WikiPageName="{{{1}}}"
}}
+
|data=wikiAyahInfoBox=wikiAyahInfoBox
 
 
| Surat Abasa Ayah 16 =
 
{{Quran Sura InfoBox
 
    |prostration = TRUE
 
}}
 
 
 
 
 
|
 
 
}}
 
}}
 +
{{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