Difference between revisions of "Template:Formula"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly><math style="float:left;"></includeonly>{{{math}}}<includeonly></math></includeonly>
+
<includeonly><div style="float:{{if rtl|right|left}}; padding-{{if rtl|left|right}}:1em;">{{{math code|{{#tag:math|{{{math}}}}}}}}</div><div style="float:{{if rtl|right|left}};">{{lang|en=Where:|de=Wo:|it=Dove:|pl=Gdzie:|ru=Где:|es=Donde:|hu=Ahol:|fr=Où :}}
<div style="padding-left:1em; float:left;">Where:
 
 
{{{where}}}</div>
 
{{{where}}}</div>
<div style="clear:left;"></div>
+
<div style="clear:{{if rtl|right|left}};"></div></includeonly><noinclude>Creates two columns, where the right column show formula and the left the definition for the parameters.
 +
 
 +
{{Parameter table|name=text|parameters=
 +
{{Parameter row|math|Formula without math tags. Note that multiple curly brackets (&#125;) need to be separated}}
 +
{{Parameter row|math code|Formula with math tags.|{{{math}}}}}
 +
{{Parameter row|where|Parameter definition}}
 +
}}
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 12:03, 19 December 2014

Creates two columns, where the right column show formula and the left the definition for the parameters.

Name Optional Description Default
math No Formula without math tags. Note that multiple curly brackets (}) need to be separated
math code Yes Formula with math tags. {{{math}}}
where No Parameter definition