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

From HodHood
Jump to: navigation, search
(Created page with "{{#switch: {{{1}}} | Surat AlFatiha Ayah 1 = {{Quran Sura InfoBox |prostration = TRUE }} Surat Abasa Ayah 16 = {{Quran Sura InfoBox |prostration = TRUE }} | }}")
 
(remove debug info)
 
(28 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