Difference between revisions of "Template:IncludeFileMembers"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
category      = Constants from {{lc:{{BASEPAGENAME}}}}
 
category      = Constants from {{lc:{{BASEPAGENAME}}}}
 
order          = ascending
 
order          = ascending
ordermethod    = sortkey}}|None}}
+
ordermethod    = sortkey}}|* None}}
 
== Structs ==  
 
== Structs ==  
 
{{#if:{{{structs|}}}|{{#tag:DynamicPageList|
 
{{#if:{{{structs|}}}|{{#tag:DynamicPageList|
 
category      = Structs from  {{lc:{{BASEPAGENAME}}}}
 
category      = Structs from  {{lc:{{BASEPAGENAME}}}}
 
order          = ascending
 
order          = ascending
ordermethod    = sortkey}}|None}}
+
ordermethod    = sortkey}}|* None}}
 
== Functions ==
 
== Functions ==
 
{{#if:{{{functions|}}}|{{#tag:DynamicPageList|
 
{{#if:{{{functions|}}}|{{#tag:DynamicPageList|
 
category      = Functions from {{lc:{{BASEPAGENAME}}}}
 
category      = Functions from {{lc:{{BASEPAGENAME}}}}
 
order          = ascending
 
order          = ascending
ordermethod    = sortkey}}|None}}
+
ordermethod    = sortkey}}|* None}}
[[Category:Include files from {{{sourcemodule|unspecified module}}}]]
+
{{#if:{{{sourcemodule|}}}|[[Category:Include files from {{{sourcemodule|}}}]]|[[Category:Orphaned include files]]}}
 
[[Category:Include files]]</includeonly><noinclude>
 
[[Category:Include files]]</includeonly><noinclude>
 
==Usage==
 
==Usage==

Latest revision as of 10:13, 26 August 2011

Usage

{{IncludeFileMembers
|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.

Note name of the include file appearing in the categories names must be in lower case, for example, Functions from ability_h.