Difference between revisions of "Template:Dimensions"

From mintOC
Jump to: navigation, search
(New page: <includeonly> {|border="1px" cellpadding="2px" align="right" valign="top" |- !colspan="2" align="center"|{{PAGENAME}} |- {{#if:{{{image|}}}| {{!}}colspan="2" align="right"{{!}}{{{image}}} ...)
 
Line 4: Line 4:
 
!colspan="2" align="center"|{{PAGENAME}}
 
!colspan="2" align="center"|{{PAGENAME}}
 
|-
 
|-
{{#if:{{{image|}}}|
+
{{#if:{{{nx|}}}|
{{!}}colspan="2" align="right"{{!}}{{{image}}}
+
{{!}}align="left"{{!}}'''Differential states:'''
 +
{{!}}align="left"{{!}}{{{nx}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{age|}}}|
+
{{#if:{{{nz|}}}|
{{!}}align="left"{{!}}'''Age:'''
+
{{!}}align="left"{{!}}'''Algebraic states:'''
{{!}}align="left"{{!}}{{{age}}}
+
{{!}}align="left"{{!}}{{{nz}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{gender|}}}|
+
{{#if:{{{nu|}}}|
{{!}}align="left"{{!}}'''Gender:'''
+
{{!}}align="left"{{!}}'''Continuous control functions:'''
{{!}}align="left"{{!}}{{{gender}}}
+
{{!}}align="left"{{!}}{{{nu}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{sexuality|}}}|
+
{{#if:{{{nw|}}}|
{{!}}align="left"{{!}}'''Sexuality:'''
+
{{!}}align="left"{{!}}'''Discrete control functions:'''
{{!}}align="left"{{!}}{{{sexuality}}}
+
{{!}}align="left"{{!}}{{{nw}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{partner|}}}|
+
{{#if:{{{np|}}}|
{{!}}align="left"{{!}}'''Partner:'''
+
{{!}}align="left"{{!}}'''Continuous control values:'''
{{!}}align="left"{{!}}{{{partner}}}
+
{{!}}align="left"{{!}}{{{np}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{rank|}}}|
+
{{#if:{{{nrho|}}}|
{{!}}align="left"{{!}}'''Rank:'''
+
{{!}}align="left"{{!}}'''Discrete control values:'''
{{!}}align="left"{{!}}{{{rank}}}
+
{{!}}align="left"{{!}}{{{nrho}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{location|}}}|
+
{{#if:{{{nc|}}}|
{{!}}align="left"{{!}}'''Location:'''
+
{{!}}align="left"{{!}}'''Path constraints:'''
{{!}}align="left"{{!}}{{{location}}}
+
{{!}}align="left"{{!}}{{{nc}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{parents|}}}|
+
{{#if:{{{nri|}}}|
{{!}}align="left"{{!}}'''Parents:'''
+
{{!}}align="left"{{!}}'''Interior point inequalities:'''
{{!}}align="left"{{!}}{{{parents}}}
+
{{!}}align="left"{{!}}{{{nri}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{siblings|}}}|
+
{{#if:{{{nre|}}}|
{{!}}align="left"{{!}}'''Siblings:'''
+
{{!}}align="left"{{!}}'''Interior point equalities:'''
{{!}}align="left"{{!}}{{{siblings}}}
+
{{!}}align="left"{{!}}{{{nri}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{#if:{{{children|}}}|
 
{{!}}align="left"{{!}}'''Children:'''
 
{{!}}align="left"{{!}}{{{children}}}
 
{{!}}-
 
|}}
 
{{#if:{{{dragon|}}}|
 
{{!}}align="left"{{!}}'''Dragon:'''
 
{{!}}align="left"{{!}}{{{dragon}}}
 
{{!}}-
 
|}}
 
{{#if:{{{wing|}}}|
 
{{!}}align="left"{{!}}'''Wing:'''
 
{{!}}align="left"{{!}}{{{wing}}}
 
{{!}}-
 
|}}
 
{{#if:{{{previous name|}}}|
 
{{!}}align="left"{{!}}'''Previous name:'''
 
{{!}}align="left"{{!}}{{{previous name}}}
 
{{!}}-
 
|}}
 
|}
 
 
</includeonly>
 
</includeonly>
 
<noinclude><pre>
 
<noinclude><pre>
 
{{Dimensions
 
{{Dimensions
|image            = enter the link to an image here as [[Image:imagename|thumb]]
+
|nd        = enter the number of partial derivatives (3 for a time-dependent 2d problem)
|age              = enter the character's age here
+
|nx        = enter the number of differential states
|gender          = enter the character's gender here
+
|nz        = enter the number of algebraic states
|sexuality       = enter the character's sexual orientation here
+
|nu       = enter the number of continuous control functions
|partner          = enter the partner's page here, as an internal link
+
|nw        = enter the number of discrete-valued control functions
|rank            = enter the character's rank here, as an internal link
+
|np        = enter the number of time-independent, continuous control values
|location        = enter the character's location here, as an internal link
+
|nrho      = enter the number of time-independent, discrete control values
|parents          = enter the character's parents, if any here, as links, separated with a "<br />"
+
|nc        = enter the number of path- and control constraints
|siblings        = enter the character's siblings, if any here, as links, separated with a "<br />"
+
|nri      = enter the number of interior point inequalities
|children        = enter the character's children, if any here, as links, separated with a "<br />"
+
|nre      = enter the number of interior point equalities
|dragon          = enter the character's dragon here, as an internal link to the dragon's page
+
|wing            = enter the character's wing assignment here, as an internal link to the wing page
+
|previous name    = enter the character's previous name, e.g. what they were called before impression
+
 
}}
 
}}
 
</pre></noinclude>
 
</pre></noinclude>

Revision as of 21:44, 6 July 2008

{{Dimensions
|nd        = enter the number of partial derivatives (3 for a time-dependent 2d problem)
|nx        = enter the number of differential states
|nz        = enter the number of algebraic states
|nu        = enter the number of continuous control functions
|nw        = enter the number of discrete-valued control functions
|np        = enter the number of time-independent, continuous control values
|nrho      = enter the number of time-independent, discrete control values
|nc        = enter the number of path- and control constraints
|nri       = enter the number of interior point inequalities
|nre       = enter the number of interior point equalities
}}