Template:FracImg: Difference between revisions
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= | | none={{CenterAlignIcon|width=24|text=0|image=File:Incarnate-Sixths-0.png|hover=Zero}} | ||
| onesixth | | onesixth | ||
| one-sixth= | | 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= | | 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= | | 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= | | four-sixths={{CenterAlignIcon|width=24|text={{Frac|2|3}}|image=File:Incarnate-Sixths-4.png|hover=Two-Thirds}} | ||
| fivesixths | | fivesixths | ||
| five-sixths= | | five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Incarnate-Sixths-5.png|hover=Five-Sixths}} | ||
| one | | one | ||
| full= | | 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. | ||
{| class="wikitable" width="50%" style="text-align:center;" | |||
! width="50%" | Input !! width="50%" | Results | |||
|- | |||
| <nowiki>{{FracImg|zero}}</nowiki><br /><nowiki>{{FracImg|none}}</nowiki> || {{FracImg|none}} | |||
|- | |||
| <nowiki>{{FracImg|one-sixth}}</nowiki> || {{FracImg|one-sixth}} | |||
|- | |||
| <nowiki>{{FracImg|one-third}}</nowiki> || {{FracImg|one-third}} | |||
|- | |||
| <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}} | 1⁄6One-Sixth |
{{FracImg|one-third}} | 1⁄3One-Third |
{{FracImg|one-half}} | 1⁄2OneHalf |
{{FracImg|two-thirds}} | 2⁄3Two-Thirds |
{{FracImg|five-sixths}} | 5⁄6Five-Sixths |
{{FracImg|one}} {{FracImg|full}} |
1One |
{{FracImg|Bob Dole}} |