Difference between revisions of "Template:Quran Ayah Text"

From HodHood
Jump to: navigation, search
(Replaced content with "== Ayah Text == {{#get_db_data: db=data |from=eQuran |where=WikiPageName="{{PAGENAME}}" |data=AyahT=AyahT }} <table class="wikitable"><tr> <th>Word</th> </tr>{{#for_e...")
(#echo $transclude; (remove duplicates))
 
(8 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|data=AyahT=AyahT
 
|data=AyahT=AyahT
 
}}
 
}}
−
<table class="wikitable"><tr>
+
{{Quran Ayah InfoBox Transclude|{{#external_value:AyahT}} }}
−
<th>Word</th>
+
<phptag>
−
+
global $transclude;
−
+
if ( $transclude ) {
−
</tr>{{#for_external_table:<tr>
+
  #echo $transclude;
−
<td>{{{AyahT}}}</td>
+
  echo "[[Has Ayah Text::$transclude]]";
−
+
}
−
+
</phptag>
−
</tr>}}</table>
 
−
{{#clear_external_data:}}
 

Latest revision as of 18:22, 10 May 2018

Ayah Text