Template:G2NG/doc

From ATLAS Wiki
Jump to: navigation, search
Template-info.png Documentation

G2NG: Generic to non-generic

Returns a comma-separated string with non-generic variants of a generic resource by querying Special:CargoTables/GenericResources.

Examples

Input Output
{{G2NG|Coal}} Anthracite,Graphite,Lignite,Nitre,Peat,Sulfur
{{G2NG|delimiter=||Coal}} Anthracite|Graphite|Lignite|Nitre|Peat|Sulfur
{{ItemList|listtype=none| {{G2NG|Coal}} }}

Note: ASCII number 124 is | (pipe/vertical bar).