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

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

Revision as of 08:45, 16 February 2018