Difference between revisions of "Template:Struct"
From Dragon Age Toolset Wiki
m (Fixing template) |
m (Extending the "includeonly") |
||
(5 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 18: | Line 18: | ||
<dd>{{#if:{{{member1name|}}}| | <dd>{{#if:{{{member1name|}}}| | ||
<dl><!-- | <dl><!-- | ||
− | -->{{#if:{{{member1name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member1name}}}<dd>{{{member1desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member1name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member1name}}}<dd>{{#if:{{{member1desc|}}}|{{{member1desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member2name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member2name}}}<dd>{{{member2desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member2name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member2name}}}<dd>{{#if:{{{member2desc|}}}|{{{member2desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member3name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member3name}}}<dd>{{{member3desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member3name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member3name}}}<dd>{{#if:{{{member3desc|}}}|{{{member3desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member4name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member4name}}}<dd>{{{member4desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member4name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member4name}}}<dd>{{#if:{{{member4desc|}}}|{{{member4desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member5name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member5name}}}<dd>{{{member5desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member5name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member5name}}}<dd>{{#if:{{{member5desc|}}}|{{{member5desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member6name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member6name}}}<dd>{{{member6desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member6name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member6name}}}<dd>{{#if:{{{member6desc|}}}|{{{member6desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member7name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member7name}}}<dd>{{{member7desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member7name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member7name}}}<dd>{{#if:{{{member7desc|}}}|{{{member7desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member8name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member8name}}}<dd>{{{member8desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member8name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member8name}}}<dd>{{#if:{{{member8desc|}}}|{{{member8desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member9name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member9name}}}<dd>{{{member9desc|}}}|{{undocumented}}}}<!-- | + | -->{{#if:{{{member9name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member9name}}}<dd>{{#if:{{{member9desc|}}}|{{{member9desc|}}}|{{undocumented}}}} }}<!-- |
− | -->{{#if:{{{member10name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member10name}}}<dd>{{{member10desc|}}}|{{undocumented}}}} | + | -->{{#if:{{{member10name|}}}|<dt style="font-weight:normal; font-style:italic;">{{{member10name}}}<dd>{{#if:{{{member10desc|}}}|{{{member10desc|}}}|{{undocumented}}}} }} |
</dl>|None}} | </dl>|None}} | ||
− | |||
</dl><dl><dt>Source: | </dl><dl><dt>Source: | ||
− | <dd>{{#if:{{{sourcemodule|}}}|[[{{{sourcemodule}}}]]. | + | <dd>{{#if:{{{sourcemodule|}}}|[[{{{sourcemodule|}}}]].}}{{#if:{{{sourcefile|}}}|[[{{{sourcefile|}}}]]|{{undocumented}}}} |
− | </dl> | + | </dl>{{#if:{{{sourcefile|}}}|[[Category:Structs from {{{sourcefile|}}}]]|[[Category:Orphaned structs]]}} |
− | + | [[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. -->