Difference between revisions of "Template:Function"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (# if ->#if)
imported>Qazaaq
m
Line 25: Line 25:
  | optarg0      = duration
  | optarg0      = duration
  | optarg0Type  = Short
  | optarg0Type  = Short
| summary      =
}}
}}


Line 31: Line 32:


syntax starts here:
syntax starts here:
-->'''Syntax:'''
-->
'''Syntax:'''
  <!--
  <!--


Line 38: Line 40:


return type (short, float, base object, ref, something else?):
return type (short, float, base object, ref, something else?):
-->{{ #if: {{{ReturnType}}} |:{{{ReturnType}}}|}}<!--
-->{{ #if: {{{ReturnType|}}} |:{{{ReturnType}}}|}}<!--


closing parenthesis:
closing parenthesis:
Line 75: Line 77:
short summary of the function:
short summary of the function:
-->
-->
{{{Summary}}}<!--
{{{summary}}}<!--


categorization code (needs something clever):
categorization code (needs something clever):
-->
-->
[[Category:Functions]]
{{{CategoryList|}}}
{{{CategoryList}}}
</includeonly>
<includeonly>

Revision as of 13:00, 12 December 2008


This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.

This is a WIP, feedback is appreciated. To retain readability a lot of HTML comments are used, they shouldn't impact the working of the template, but could add to the confusion a bit.

example:

{{Function
| name          = PlayMagicEffectVisuals
| CSWikiPage    = PlayMagicEffectVisuals
| ReferenceType = [Actor, Activator]
| arg0          = EffectID
| arg0Type      = MagicEffect
| optarg0       = duration
| optarg0Type   = Short
}}

result:

Link to TES4 Construction Set Wiki: PlayMagicEffectVisuals. Syntax:

[Actor, Activator].PlayMagicEffectVisualsEffectID:MagicEffectduration:Short