Difference between revisions of "Template:SQAttributeTable"

From The Foundry MODO SDK wiki
Jump to: navigation, search
m (1 revision)
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This template is used to display [[ScriptQuery Overview|ScriptQuery]] attributes for the [[:Category:ScriptQuery Reference|ScriptQuery Reference]] pages
+
<noinclude>This template is used to display [[ScriptQuery Overview|ScriptQuery]] attributes for the [[:Category:ScriptQuery Reference|ScriptQuery Reference]] pages.
</noinclude>
+
 
==={{{1}}}===
+
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:
{| width="90%" align="center"
+
 
|
+
[[Category:Utility templates]]
{| class="wikitable" width="100%"
+
 
|- valign="top"
+
<nowiki>{{SQAttributeTable
|Description
+
||
| width="90%" |{{{2}}}
+
|
 +
|
 +
|
 +
}}</nowiki>
 +
 
 +
== Current implementation ==
 +
</noinclude>==== {{{1}}} ====
 +
{{{2}}}
 +
{| class="wikitable" width="98%" align="center" style="margin: 1em auto 1em auto;" <!-- the "style" bit centers the entire table -->
 
|- valign="top"
 
|- valign="top"
 
|Datatype  
 
|Datatype  
Line 17: Line 25:
 
|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}}}
 
|}
 
|}

Latest revision as of 08:27, 3 May 2013

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
 ||
 |
 |
 |
 }}

Current implementation

{{{1}}}

{{{2}}}

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

Experimental Implementation

{{{1}}} datatype: {{{3}}}
{{{2}}}
Example {{{4}}}
Result {{{5}}}