Difference between revisions of "Template:Set Template Parameter"
From FollowTheScore
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
}} | }} | ||
{{#ifeq:{{#var:page}}|?| | {{#ifeq:{{#var:page}}|?| | ||
− | call this page to change the value of a template parameter in a given page. Change will only be made if the last parameter (DPL_arg5) is set to 'yes'. Otherwise you will see | + | call this page to change the value of a template parameter in a given page. Change will only be made if the last parameter (DPL_arg5) is set to 'yes'. Otherwise you will see what would be done. |
&DPL_arg1 = page = {{#var:page}} | &DPL_arg1 = page = {{#var:page}} | ||
Line 30: | Line 30: | ||
by \1{{#var:val}}\2; | by \1{{#var:val}}\2; | ||
summary STV: set value of parameter '{{#var:parm}}' to '{{#var:val}}' in call of template '{{#var:tpl}}'; | summary STV: set value of parameter '{{#var:parm}}' to '{{#var:val}}' in call of template '{{#var:tpl}}'; | ||
− | {{#ifeq:{{#var:exec}}|yes|exec; | + | {{#ifeq:{{#var:exec}}|yes|exec;}} |
}} | }} |
Latest revision as of 13:51, 5 February 2011
{{#vardefine: page | ? }}{{#vardefine: tpl | t }}{{#vardefine: parm | p }}{{#vardefine: val | v }}{{#vardefine: exec | no }}
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:page}}' for parameter 'title'.
Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants
Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.