Nats code
From TMM Wiki
Jump to navigationJump to searchThe nats_code template variable creates a linkcode. For example, you can add the following code anywhere on your Affiliates Area.
{$nats_code[program][site]}
Replace program with a program ID number; replace site with a Site ID number. If the program or side ID number aren't included, NATS won't display anything.
You can use nats_code in an if statement to only display something if a valid program and site ID number is provide. For example:
{if $nats_code[program][site]} action {/if}