Template:FracImg: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m ({{CenterAlignIcon}})
imported>Aggelakis
mNo edit summary
Line 2: Line 2:
| zero
| zero
| null
| null
| none={{CenterAlignIcon|width=24|text=0|image=File:Incarnate-Sixths-0.png|hover=Zero}}
| none={{CenterAlignIcon|width=24|text=0|image=File:Fractions Zero.png|hover=Zero}}
| onesixth
| onesixth
| one-sixth={{CenterAlignIcon|width=24|text={{Frac|1|6}}|image=File:Incarnate-Sixths-1.png|hover=One-Sixth}}
| one-sixth={{CenterAlignIcon|width=24|text={{Frac|1|6}}|image=File:Fractions One-Sixth.png|hover=One-Sixth}}
| onethird
| onethird
| one-third
| one-third
| twosixths
| twosixths
| two-sixths={{CenterAlignIcon|width=24|text={{Frac|1|3}}|image=File:Incarnate-Sixths-2.png|hover=One-Third}}
| two-sixths={{CenterAlignIcon|width=24|text={{Frac|1|3}}|image=File:Fractions One-Third.png|hover=One-Third}}
| onehalf
| onehalf
| one-half
| one-half
| threesixths
| threesixths
| three-sixths={{CenterAlignIcon|width=24|text={{Frac|1|2}}|image=File:Incarnate-Sixths-3.png|hover=OneHalf}}
| three-sixths={{CenterAlignIcon|width=24|text={{Frac|1|2}}|image=File:Fractions One-Half.png|hover=OneHalf}}
| twothirds
| twothirds
| two-thirds
| two-thirds
| foursixths
| foursixths
| four-sixths={{CenterAlignIcon|width=24|text={{Frac|2|3}}|image=File:Incarnate-Sixths-4.png|hover=Two-Thirds}}
| four-sixths={{CenterAlignIcon|width=24|text={{Frac|2|3}}|image=File:Fractions Two-Thirds.png|hover=Two-Thirds}}
| fivesixths
| fivesixths
| five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Incarnate-Sixths-5.png|hover=Five-Sixths}}
| five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Fractions Five-Sixths.png|hover=Five-Sixths}}
| one
| one
| full={{CenterAlignIcon|width=24|text=1|image=File:Incarnate-Sixths-6.png|hover=One}}
| full={{CenterAlignIcon|width=24|text=1|image=File:Fractions One.png|hover=One}}
| #default=[[File:Icon clue generic.png|24px|Unknown]]}}</includeonly><noinclude>
| #default=[[File:Icon clue generic.png|24px|Unknown]]}}</includeonly><noinclude>
== Usage ==
== Usage ==

Revision as of 04:32, 15 November 2010

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.

Input Results
{{FracImg|zero}}
{{FracImg|none}}
0Zero
{{FracImg|one-sixth}} 16One-Sixth
{{FracImg|one-third}} 13One-Third
{{FracImg|one-half}} 12OneHalf
{{FracImg|two-thirds}} 23Two-Thirds
{{FracImg|five-sixths}} 56Five-Sixths
{{FracImg|one}}
{{FracImg|full}}
1One
{{FracImg|Bob Dole}} Unknown