Template:Copy

From QBWiki
Jump to navigation Jump to search

Template documentation

Copy the value of the variable at arg1 to the variable arg2: "{{#vardefine:{{{2}}}|{{#var:{{{1}}}}}}}"

{{#vardefine:x|10}}{{#vardefine:y|20}}
{{#var:x}}, {{#var:y}}
{{Copy|x|y}}
{{#var:x}}, {{#var:y}}


10, 20

10, 10