Difference between revisions of "Template:SQAttributeTable"

From The Foundry MODO SDK wiki
Jump to: navigation, search
(Created page with "<noinclude>This template is used to display ScriptQuery attributes for the ScriptQuery Reference pages. Note that...")
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
  }}</nowiki>
 
  }}</nowiki>
  
== Current implementation ==
 
 
</noinclude>==== {{{1}}} ====
 
</noinclude>==== {{{1}}} ====
 
{{{2}}}
 
{{{2}}}
{| class="wikitable" width="98%" align="center" style="margin: 1em auto 1em auto;" <!-- the "style" bit centers the entire table -->
+
{| width="98%" align="center"
 +
|
 +
{| class="wikitable" width="100%"
 
|- valign="top"
 
|- valign="top"
 
|Datatype  
 
|Datatype  
Line 25: Line 26:
 
|Result  
 
|Result  
 
|{{{5}}}
 
|{{{5}}}
|}<noinclude>
 
 
== Experimental Implementation ==
 
 
{| class="wikitable" width="98%" style="margin: 1em auto 1em auto;" <!-- the "style" bit centers the entire table -->
 
|-
 
| colspan="2" style="background:#FCFCFF" |
 
{| width="100%"
 
| style="background:#FCFCFF" align="left"  width="70%" | '''{{{1}}}'''
 
| style="background:#FCFCFF" align="right" | ''datatype:'' '''''{{{3}}}'''''
 
 
|}
 
|}
|- valign="top"
 
| align="left" colspan="2" | {{{2}}}
 
|-
 
| width ="60pt" align="right" | Example
 
| {{{4}}}
 
|-
 
| width ="60pt" align="right" | Result
 
| {{{5}}}
 
 
|}
 
|}

Revision as of 15:32, 14 April 2012

This template is used to display ScriptQuery attributes for the ScriptQuery Reference pages.

Note that due to how templates are parsed, the attribute name must be on the same line as the description. This provides a good reference for how to use the template in a page:

{{SQAttributeTable
 ||
 |
 |
 |
 }}

{{{1}}}

{{{2}}}

Datatype {{{3}}}
Example {{{4}}}
Result {{{5}}}