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

From HodHood
Jump to: navigation, search
Line 1: Line 1:
<includeonly><phptag>
+
<includeonly>{{#clear_external_data:}}<phptag>
  
global $transclude;
+
//global $transclude;
  
 
// var_dump( $argv );
 
// var_dump( $argv );
Line 8: Line 8:
  
 
if ( isset( $argv[1] ) ) {
 
if ( isset( $argv[1] ) ) {
   $transclude = '{{Quran Ayah InfoBox |' . $argv[1] . '}}';
+
   //$transclude = '{{Quran Ayah InfoBox |' . $argv[1] . '}}';
   //echo transclude( false, [], '{{Quran Ayah InfoBox |' . $argv[1] . '}}' );
+
   echo transclude( false, [], '{{Quran Ayah InfoBox |' . $argv[1] . '}}' );
 
}
 
}
 
</phptag></includeonly>
 
</phptag></includeonly>

Revision as of 08:16, 16 February 2018