Difference between revisions of "Template:Quran Ayah InfoBox Transclude"
From HodHood
P.Astakhov (talk | contribs) |
P.Astakhov (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><phptag> | <includeonly><phptag> | ||
+ | |||
+ | global $transclude; | ||
+ | |||
// var_dump( $argv ); | // var_dump( $argv ); | ||
// ar_dump( '{{Quran Ayah InfoBox |' . $argv[1] . '}}' ); | // ar_dump( '{{Quran Ayah InfoBox |' . $argv[1] . '}}' ); | ||
Line 5: | Line 8: | ||
if ( isset( $argv[1] ) ) { | if ( isset( $argv[1] ) ) { | ||
− | echo transclude( false, [], '{{Quran Ayah InfoBox |' . $argv[1] . '}}' ); | + | $transclude = '{{Quran Ayah InfoBox |' . $argv[1] . '}}'; |
+ | //echo transclude( false, [], '{{Quran Ayah InfoBox |' . $argv[1] . '}}' ); | ||
} | } | ||
</phptag></includeonly> | </phptag></includeonly> |