Difference between revisions of "Template:IncludeFileMembers"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m
Line 3: Line 3:
 
== Constants ==  
 
== Constants ==  
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
category      = Constants from ability_h
+
category      = Constants from {{lc:{{BASEPAGENAME}}}}
 
order          = ascending
 
order          = ascending
 
ordermethod    = sortkey
 
ordermethod    = sortkey
Line 10: Line 10:
 
== Structs ==  
 
== Structs ==  
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
category      = Structs from ability_h
+
category      = Structs from {{lc:{{BASEPAGENAME}}}}
 
order          = ascending
 
order          = ascending
 
ordermethod    = sortkey
 
ordermethod    = sortkey
Line 17: Line 17:
 
== Functions ==
 
== Functions ==
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
category      = Functions from ability_h
+
category      = Functions from {{lc:{{BASEPAGENAME}}}}
 
order          = ascending
 
order          = ascending
 
ordermethod    = sortkey
 
ordermethod    = sortkey
Line 26: Line 26:
 
<pre>
 
<pre>
 
{{IncludeFileMembers
 
{{IncludeFileMembers
|name        = ability_h
 
 
|constants    = true
 
|constants    = true
 
|structs      =  
 
|structs      =  
Line 33: Line 32:
 
}}</pre>
 
}}</pre>
 
The [[Template:IncludeFileMembers|IncludeFileMembers]] template uses the categories created by the [[Template:Constant_table_start|constant]], [[Template:Struct|struct]] and [[Template:Dafunction|function]] templates to automatically build the lists of the include file's members.
 
The [[Template:IncludeFileMembers|IncludeFileMembers]] template uses the categories created by the [[Template:Constant_table_start|constant]], [[Template:Struct|struct]] and [[Template:Dafunction|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, [[:Category:Functions from ability_h|Functions from ability_h]].
  
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

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