Difference between revisions of "Template:Frac/doc"
Jump to navigation
Jump to search
(Using BASEPAGENAME magic word.) |
m |
||
Line 1: | Line 1: | ||
Creates simple inline fractions like this one: {{ {{BASEPAGENAME}}}}. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: | Creates simple inline fractions like this one: {{ {{BASEPAGENAME}}}}. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: | ||
− | <samp style="display:block;text-align:center">− {{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator − {{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator</var>}} | + | <samp style="display:block;text-align:center">− {{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator − {{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator</var>}}}}, − {{ {{BASEPAGENAME}}|<var>numerator</var> + {{ {{BASEPAGENAME}}|<var>numerator|<var>denominator</var>}}</var>|<var>denominator}}</samp> |
Revision as of 01:30, 18 August 2021
Creates simple inline fractions like this one: numeratordenominator. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: − numeratordenominator − numeratordenominator, − numerator + numeratordenominatordenominator