Actions

Template

Let

From NEC Retro

Shorthand for vardefine.

Usage

  • {{let|xxx=yyy}} = {{#vardefine:xxx|yyy}}
  • {{let|xxx=yyy|zzz=aaa}} = {{#vardefine:xxx|yyy}}{{#vardefine:zzz|aaa}}

Limitations

  • {{let|xxx=yyy|zzz={{#var:xxx}}}} - This won't work. A single use of the template can't reference itself. Use {{let|xxx=yyy}}{{let|zzz={{#var:xxx}}}} instead.