Difference between revisions of "Template:IncludeFileMembers"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Created)
 
m (Debugging template)
Line 1: Line 1:
<includeonly>{{#if:{{{constants|}}}|== Constants ==  
+
<includeonly>{{BASEPAGENAME}}<!--
 +
-->{{#if:{{{constants|}}}|== Constants ==  
  
 
<DynamicPageList>
 
<DynamicPageList>
Line 8: Line 9:
  
 
-->{{#if:{{{structs|}}}|== Structs ==  
 
-->{{#if:{{{structs|}}}|== Structs ==  
 
 
<DynamicPageList>
 
<DynamicPageList>
 
category    = Structs from {{BASEPAGENAME}}
 
category    = Structs from {{BASEPAGENAME}}
Line 16: Line 16:
  
 
-->{{#if:{{{functions|}}}|== Functions ==
 
-->{{#if:{{{functions|}}}|== Functions ==
 
 
<DynamicPageList>
 
<DynamicPageList>
 
category    = Functions from {{BASEPAGENAME}}
 
category    = Functions from {{BASEPAGENAME}}
Line 28: Line 27:
 
<pre>
 
<pre>
 
{{IncludeFileMembers
 
{{IncludeFileMembers
 +
|name        = ability_h
 
|constants    = true
 
|constants    = true
 
|structs      =  
 
|structs      =  

Revision as of 22:55, 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.