Difference between revisions of "Template:Struct"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Fixing template)
m (Extending the "includeonly")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{brief}}}
+
<includeonly>{{{brief}}}
  
 
<div class="dascript" style="font-family:monospace; background-color:#F9F9F9; border: 1px dashed #2F6FAB; white-space:pre; line-height:1.3em; padding:1.0em;"><!--
 
<div class="dascript" style="font-family:monospace; background-color:#F9F9F9; border: 1px dashed #2F6FAB; white-space:pre; line-height:1.3em; padding:1.0em;"><!--
Line 30: Line 30:
 
</dl>|None}}
 
</dl>|None}}
 
</dl><dl><dt>Source:
 
</dl><dl><dt>Source:
<dd>{{#if:{{{sourcemodule|}}}|[[{{{sourcemodule}}}]].|}}{{#if:{{{sourcefile|}}}|[[{{{sourcefile}}}]]|Orphaned}}
+
<dd>{{#if:{{{sourcemodule|}}}|[[{{{sourcemodule|}}}]].}}{{#if:{{{sourcefile|}}}|[[{{{sourcefile|}}}]]|{{undocumented}}}}
</dl><includeonly><!--
+
</dl>{{#if:{{{sourcefile|}}}|[[Category:Structs from {{{sourcefile|}}}]]|[[Category:Orphaned structs]]}}
-->[[Category:Structs from {{{sourcefile|unspecified source file}}}]]</includeonly>
+
[[Category:Structs]]</includeonly>
<noinclude>
+
<noinclude>==Usage==
==Usage==
+
 
<pre>
 
<pre>
 
{{Struct
 
{{Struct

Latest revision as of 00:19, 31 August 2011

Usage

{{Struct
|name         = CombatAttackResultStruct 
|brief        = Attack Result struct, used by Combat_PerformAttack*
|member1type  = int
|member1name  = nAttackResult
|member1desc  = a [[COMBAT_RESULT_*]] constant
|member2type  = int
|member2name  = nDeathblowType
|member2desc  = 
|member3type  = float
|member3name  = fAttackDuration
|member3desc  = duration of the aim loop for ranged weapons
|member4type  = effect
|member4name  = eImpactEffect
|member4desc  = impact effect
|sourcefile   = combat_h
|sourcemodule = Core Game Resources
}}
<!-- == Description == -->
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
<!-- == Remarks == -->
<!-- This section contains additional comments, observations and known issues. -->
<!-- == Examples == -->
<!-- This section contains examples transcluded from the snippet library. -->
<!-- == See also == -->
<!-- This section contains links to articles, functions or constant groups. -->