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

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

Revision as of 08:24, 16 February 2018