Difference between revisions of "Template:Quran Ayah InfoBox Transclude"
From HodHood
P.Astakhov (talk | contribs) |
P.Astakhov (talk | contribs) |
||
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 ); |