Difference between revisions of "Template:Formula"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div style="float:left; padding-right:1em;">{{{math code|{{#tag:math|{{{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></includeonly><noinclude>Creates two columns, where the right column show formula and the left the definition for the parameters.
+
<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 table|name=text|parameters=
{{Parameter Row|math|Formula without math tags}}
+
{{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|math code|Formula with math tags.|{{{math}}}}}
{{Parameter Row|where|Parameter definition}}
+
{{Parameter row|where|Parameter definition}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[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