Difference between revisions of "Template:Hadith Page Text"

From HodHood
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Hadith Text ==
 
 
{{#get_db_data:
 
{{#get_db_data:
 
db=data
 
db=data
 
|from=eHadith
 
|from=eHadith
 
+
| where=WikiPageName="{{PAGENAME}}"
|data=HadithT=hadith_Text
+
|data=hadith_Text=myText
 
}}
 
}}
{{Hadith Page InfoBox Transclude|{{#external_value:HadithT}} }}
+
{{Hadith Page InfoBox Transclude|{{#external_value:hadith_Text}} }}
 
<phptag>
 
<phptag>
 
global $transclude;
 
global $transclude;
 
if ( $transclude ) {
 
if ( $transclude ) {
 
   #echo $transclude;
 
   #echo $transclude;
   # uncomment once confirmed echo "[[Has Hadith Text::$transclude]]";
+
   echo "[[Has Hadith Text::$transclude]]";
 
}
 
}
 
</phptag>
 
</phptag>

Latest revision as of 08:12, 18 January 2019