Template:Copy

From QBWiki
Revision as of 18:19, 14 December 2025 by Kevin Wang (talk | contribs) (Created page with "<includeonly>{{#vardefine:{{{2}}}|{{#var:{{{1}}}}}}}</includeonly><noinclude> {{Template doc| Copy the value of the variable at arg1 to the variable arg2: "<nowiki>{{#vardefin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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