nats_display_code_info

Displays information about a linkcode and includes information about the linkcode's payout.

Alias: display_code_info

Parameters

(Required parameters in bold)

Parameter
Description
Possible Values
Default Value
Example

tpl

Template used to display output

Any valid template

The template, function_display_code_info

tpl="mytemplate"

natscode

The linkcode to decode. May be a unqualified linkcode or a fully-qualified URL

Any valid linkcode

None.

Prefix output variables with this word. (Click link for details)

Any valid Smarty variable name

None. (No prefix is used)

assign_prefix="myvar"

Set variables but don't display the template

1

None. The template is displayed.

data_only=1

Output

Information about the linkcode and affiliate payout details.

See Also

  • nats decode -- Decodes a linkcode into a Smarty array. (Does not include affiliate payout details.)

Last updated

Was this helpful?