Template:GameInclude

From NWN Lexicon
Jump to navigationJump to search
Note: This function page documents something only available in the [[:Category:Game Include {{{include}}}|{{{include}}} include file]]. The function may not be accurately documented here but you can read the nwscript code for the function in the game files.

[edit] [purge] Template Documentation

Usage

This can be used to mark a function, article or script as from a NWN base game include file. It adds it to the relevant categories. It should be used at the top since it produces a banner.

Parameters

In an article about a function, put in the "Version" section, the default is fine:

{{GameInclude|include=nw_i0_generic}}

This gives:


Note: This function page documents something only available in the nw_i0_generic include file. The function may not be accurately documented here but you can read the nwscript code for the function in the game files.

However, in an article about a constant, for instance, you can specify:

{{GameInclude|include=nw_i0_generic|article=constant}}

This produces:


Note: This constant page documents something only available in the nw_i0_generic include file. The constant may not be accurately documented here but you can read the nwscript code for the function in the game files.

See Also