Difference between revisions of "Template:GetProp"

From Culture.si
(Created page with "{{{= |page = {{#title:pagenamek|{{#ifeq:{{{2|}}}||{{FULLPAGENAME}}|{{{1}}}}}}} |prop = {{#title:pagenamek|{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}}} }}}{{#data:selectfield |PagePro...")
 
(restored by csi_restorechanges)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{{=
 
{{{=
|page = {{#title:pagenamek|{{#ifeq:{{{2|}}}||{{FULLPAGENAME}}|{{{1}}}}}}}
+
|page = {{#title:pagenamek|{{#ifeq:{{{2|}}}||{{FULLPAGENAME}}|{{{1}}}}}}}
|prop = {{#title:pagenamek|{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}}}
+
|prop = {{#title:pagenamek|{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}}}
}}}{{#data:selectfield
+
}}}
|PageProperty.Value
+
 
|#where = PageProperty.# = '{{#str:addslashes|{{{page}}}#{{{prop}}}}}'
+
{{#data:selectfield
 +
|PageProperty.Value
 +
|#where = PageProperty.# = {{#cast:string|{{{page}}}#{{{prop}}}|db}}
 
}}
 
}}

Latest revision as of 01:13, 11 February 2021