Difference between revisions of "Template:IncludeFileMembers"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
 
-->{{#if:{{{constants|}}}|
 
-->{{#if:{{{constants|}}}|
 
== Constants ==|}}
 
== Constants ==|}}
{{#if:{{{constants|}}}|{{#tag:DynamicPageList|
+
{{#if:{{{constants|}}}|
 +
{{#tag:DynamicPageList|
 
category      = Constants from {{BASEPAGENAME}}
 
category      = Constants from {{BASEPAGENAME}}
 
order          = ascending
 
order          = ascending
Line 10: Line 11:
 
{{#if:{{{structs|}}}|
 
{{#if:{{{structs|}}}|
 
== Structs ==|}}
 
== Structs ==|}}
{{#if:{{{structs|}}}|{{#tag:DynamicPageList|
+
{{#if:{{{structs|}}}|
 +
{{#tag:DynamicPageList|
 
category      = Structs from {{BASEPAGENAME}}
 
category      = Structs from {{BASEPAGENAME}}
 
order          = ascending
 
order          = ascending
Line 18: Line 20:
 
{{#if:{{{functions|}}}|
 
{{#if:{{{functions|}}}|
 
== Functions ==|}}
 
== Functions ==|}}
{{#if:{{{functions|}}}|{{#tag:DynamicPageList|
+
{{#if:{{{functions|}}}|
 +
{{#tag:DynamicPageList|
 
category      = Functions from {{BASEPAGENAME}}
 
category      = Functions from {{BASEPAGENAME}}
 
order          = ascending
 
order          = ascending

Revision as of 23:21, 7 August 2011

Usage

{{IncludeFileMembers
|name         = ability_h
|constants    = true
|structs      = 
|functions    = true
|sourcemodule = Core Game Resources
}}

The IncludeFileMembers template uses the categories created by the constant, struct and function templates to automatically build the lists of the include file's members.