Difference between revisions of "Template:IncludeFileMembers"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly><!--
+
<includeonly>
-->{{#if:{{{constants|}}}|<br>
+
{{#if:{{{constants|}}} |
== Constants ==|}}
+
== Constants == | }}
{{#if:{{{constants|}}}|
+
{{#if:{{{constants|}}} |
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
 
category      = Constants from {{BASEPAGENAME}}
 
category      = Constants from {{BASEPAGENAME}}
Line 8: Line 8:
 
ordermethod    = sortkey
 
ordermethod    = sortkey
 
suppresserrors = true
 
suppresserrors = true
}}|}}
+
}} | }}
{{#if:{{{structs|}}}|<br>
+
{{#if:{{{structs|}}} |
== Structs ==|}}
+
== Structs == | }}
{{#if:{{{structs|}}}|
+
{{#if:{{{structs|}}} |
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
 
category      = Structs from {{BASEPAGENAME}}
 
category      = Structs from {{BASEPAGENAME}}
Line 17: Line 17:
 
ordermethod    = sortkey
 
ordermethod    = sortkey
 
suppresserrors = true
 
suppresserrors = true
}}|}}
+
}} | }}
{{#if:{{{functions|}}}|<br>
+
{{#if:{{{functions|}}} |
== Functions ==|}}
+
== Functions == | }}
{{#if:{{{functions|}}}|
+
{{#if:{{{functions|}}} |
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
 
category      = Functions from {{BASEPAGENAME}}
 
category      = Functions from {{BASEPAGENAME}}
Line 26: Line 26:
 
ordermethod    = sortkey
 
ordermethod    = sortkey
 
suppresserrors = true
 
suppresserrors = true
}}|}}
+
}} | }}
 
[[Category:Include files from {{{sourcemodule|unspecified module}}}]]
 
[[Category:Include files from {{{sourcemodule|unspecified module}}}]]
 
[[Category:Include files]]</includeonly><noinclude>
 
[[Category:Include files]]</includeonly><noinclude>

Revision as of 23:24, 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.