Difference between revisions of "DPL Example 029"
From FollowTheScore
(New page: {{Example|Change the value of a template parameter in a certain page}} We defined a DPL based template which takes 4 parameters: * a page name * a template name * a parameter name * a val...) |
(No difference)
|
Revision as of 08:33, 25 June 2009
back to list of examples
Change the value of a template parameter in a certain page
We defined a DPL based template which takes 4 parameters:
- a page name
- a template name
- a parameter name
- a value for that parameter
- a control parameter
Using this template you can modify a page.
The template can either be called from within a wiki page or via the command line.
If called from a wiki page one would probably use a form like this:
Calling the URL could look like this: