Difference between revisions of "Template:Dudl"

From AlchemistryWiki
Jump to navigation Jump to search
m (Created page with "\frac{dU}{d\lambda} <noinclude> <hr/> This template is the macro to write <math>\frac{dU}{d\lambda}</math> quickly without having to type out its full syntax of <nowiki><math>\...")
 
m
 
Line 5: Line 5:
  
 
  <nowiki><math>\frac{dU}{d\lambda}</math></nowiki>
 
  <nowiki><math>\frac{dU}{d\lambda}</math></nowiki>
 +
 +
 +
To use this shortcut correctly, one '''cannot''' do <nowiki><math> {{dudl}} </math> as the "{{...}}"</nowiki> will be interpreted as part of the LaTeX instead of wiki code. Instead, one must use the [http://www.mediawiki.org/wiki/Help:Magic_words#Miscellaneous <nowiki> "#tag" magic word</nowiki>] to correctly pass the argument like so:
 +
 +
<nowiki>{{#tag:math | {{dudl}} }} </nowiki>
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 13 September 2012

\frac{dU}{d\lambda}


This template is the macro to write [math]\displaystyle{ \frac{dU}{d\lambda} }[/math] quickly without having to type out its full syntax of

<math>\frac{dU}{d\lambda}</math>


To use this shortcut correctly, one cannot do <math> {{dudl}} </math> as the "{{...}}" will be interpreted as part of the LaTeX instead of wiki code. Instead, one must use the "#tag" magic word to correctly pass the argument like so:

{{#tag:math | {{dudl}} }}