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;
 +
 +
/*
 
if ( isset( $argv[1] ) ) {
 
if ( isset( $argv[1] ) ) {
 
   $transclude = isset( $argv[1] ) ? '{{Quran Ayah InfoBox |' . $argv[1] . '}}' : false;
 
   $transclude = isset( $argv[1] ) ? '{{Quran Ayah InfoBox |' . $argv[1] . '}}' : false;
 
   //echo transclude( false, [], '{{Quran Ayah InfoBox |' . $argv[1] . '}}' );
 
   //echo transclude( false, [], '{{Quran Ayah InfoBox |' . $argv[1] . '}}' );
}
+
}*/
 
</phptag><phptag>
 
</phptag><phptag>
 
var_dump( $transclude );
 
var_dump( $transclude );

Revision as of 08:22, 16 February 2018