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

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

Revision as of 08:29, 16 February 2018