Difference between revisions of "Template:Formula"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="float:left; padding-right:1em;">{{{math}}}</div><div style="float:left;">{{lang|en=Where:|pl=Gdzie:}}
+
<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ù :}}
 
{{{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