Template:FracImg: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
mNo edit summary
imported>Aggelakis (historical)
m ({{CenterAlignIcon}})
Line 2: Line 2:
| zero
| zero
| null
| null
| none=[[File:Incarnate-Sixths-0.png|24px|Zero]] 0
| none={{CenterAlignIcon|width=24|text=0|image=File:Incarnate-Sixths-0.png|hover=Zero}}
| onesixth
| onesixth
| one-sixth=[[File:Incarnate-Sixths-1.png|24px|One-Sixth]] {{Frac|1|6}}
| one-sixth={{CenterAlignIcon|width=24|text={{Frac|1|6}}|image=File:Incarnate-Sixths-1.png|hover=One-Sixth}}
| onethird
| onethird
| one-third
| one-third
| twosixths
| twosixths
| two-sixths=[[File:Incarnate-Sixths-2.png|24px|One-Third]] {{Frac|1|3}}
| two-sixths={{CenterAlignIcon|width=24|text={{Frac|1|3}}|image=File:Incarnate-Sixths-2.png|hover=One-Third}}
| onehalf
| onehalf
| one-half
| one-half
| threesixths
| threesixths
| three-sixths=[[File:Incarnate-Sixths-3.png|24px|One-Half]] {{Frac|1|2}}
| three-sixths={{CenterAlignIcon|width=24|text={{Frac|1|2}}|image=File:Incarnate-Sixths-3.png|hover=OneHalf}}
| twothirds
| twothirds
| two-thirds
| two-thirds
| foursixths
| foursixths
| four-sixths=[[File:Incarnate-Sixths-4.png|24px|Two-Thirds]] {{Frac|2|3}}
| four-sixths={{CenterAlignIcon|width=24|text={{Frac|2|3}}|image=File:Incarnate-Sixths-4.png|hover=Two-Thirds}}
| fivesixths
| fivesixths
| five-sixths=[[File:Incarnate-Sixths-5.png|24px|Five-Sixths]] {{Frac|5|6}}
| five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Incarnate-Sixths-5.png|hover=Five-Sixths}}
| one
| one
| full=[[File:Incarnate-Sixths-6.png|24px|One]] 1
| full={{CenterAlignIcon|width=24|text=1|image=File:Incarnate-Sixths-6.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 ==
Fraction pies followed by text. Mainly for use on [[Incarnate System]] pages, but not restricted.
Fraction pies followed by text. Mainly for use on [[Incarnate System]] pages, but not restricted.
Line 27: Line 27:
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.
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.


* '''zero''' or '''none''' {{FracImg|none}}
{| class="wikitable" width="50%" style="text-align:center;"
* '''one-sixth''' {{FracImg|one-sixth}}
! width="50%" | Input !! width="50%" | Results
* '''one-third''' {{FracImg|one-third}}
|-
* '''one-half''' {{FracImg|one-half}}
| <nowiki>{{FracImg|zero}}</nowiki><br /><nowiki>{{FracImg|none}}</nowiki> || {{FracImg|none}}
* '''two-thirds''' {{FracImg|two-thirds}}
|-
* '''five-sixths''' {{FracImg|five-sixths}}
| <nowiki>{{FracImg|one-sixth}}</nowiki> || {{FracImg|one-sixth}}
* '''one''' or '''full''' {{FracImg|full}}
|-
 
| <nowiki>{{FracImg|one-third}}</nowiki> || {{FracImg|one-third}}
Incorrect value: <nowiki>{{FracImg|Bob Dole}}</nowiki> {{FracImg|Bob Dole}}
|-
| <nowiki>{{FracImg|one-half}}</nowiki> || {{FracImg|one-half}}
|-
| <nowiki>{{FracImg|two-thirds}}</nowiki> || {{FracImg|two-thirds}}
|-
| <nowiki>{{FracImg|five-sixths}}</nowiki> || {{FracImg|five-sixths}}
|-
| <nowiki>{{FracImg|one}}</nowiki><br /><nowiki>{{FracImg|full}}</nowiki> || {{FracImg|full}}
|-
| <nowiki>{{FracImg|Bob Dole}}</nowiki> || {{FracImg|Bob Dole}}
|}


[[Category:Standardized Text Templates]]</noinclude>
[[Category:Standardized Text Templates]]</noinclude>

Revision as of 04:14, 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