Template:FracImg: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
mNo edit summary
imported>Aggelakis
mNo edit summary
 
Line 24: Line 24:
| two-forths
| two-forths
| threesixths
| threesixths
| three-sixths={{CenterAlignIcon|width=24|text={{Frac|1|2}}|image=File:Fractions One-Half.png|hover=OneHalf}}
| three-sixths={{CenterAlignIcon|width=24|text={{Frac|1|2}}|image=File:Fractions One-Half.png|hover=One-Half}}
| twothirds
| twothirds
| two-thirds
| two-thirds

Latest revision as of 09:57, 2 February 2011

Usage

Fraction pies followed by text. Mainly for use on Incarnate System pages, but not restricted.

One variable, depending on what needs to be displayed. Unlisted values need to be created and added to the template, or the template altered to be able to automatically include unlisted values. If an incorrect value is passed, it will result in a question mark. (Bold inputs listed should be used; unbolded inputs are accepted options but not preferred.)

Input Results
{{FracImg|zero}}
{{FracImg|none}}
{{FracImg|null}}
0Zero
{{FracImg|one-sixth}} 16One-Sixth
{{FracImg|one-quarter}}
{{FracImg|one-fourth}}
14One-Quarter
{{FracImg|one-third}}
{{FracImg|two-sixths}}
13One-Third
{{FracImg|one-half}}
{{FracImg|three-sixths}}
{{FracImg|two-quarters}}
{{FracImg|two-fourths}}
12One-Half
{{FracImg|two-thirds}}
{{FracImg|four-sixths}}
23Two-Thirds
{{FracImg|three-quarters}}
{{FracImg|three-fourths}}
34Three-Quarters
{{FracImg|five-sixths}} 56Five-Sixths
{{FracImg|one}}
{{FracImg|full}}
1One
{{FracImg|Bob Dole}} Unknown