Template:FracImg: Difference between revisions
Jump to navigation
Jump to search
imported>Aggelakis mNo edit summary |
imported>Sekoia (avoiding case sensitivity issues using "lc" (lowercase) parser function) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | | <includeonly>{{#switch: {{lc:{{{1|}}}}} | | ||
| zero | | zero | ||
| null | | null | ||
| none=[[File:Incarnate-Sixths-0.png|24px|Zero]] 0 | | none=[[File:Incarnate-Sixths-0.png|24px|Zero]] 0 | ||
| onesixth | | onesixth | ||
| one-sixth=[[File:Incarnate-Sixths-1.png|24px|One-Sixth]] {{Frac|1|6}} | | one-sixth=[[File:Incarnate-Sixths-1.png|24px|One-Sixth]] {{Frac|1|6}} | ||
| onethird | | onethird | ||
| one-third | | one-third | ||
| two-sixths=[[File:Incarnate-Sixths-2.png|24px|One-Third]] {{Frac|1|3}} | | two-sixths=[[File:Incarnate-Sixths-2.png|24px|One-Third]] {{Frac|1|3}} | ||
| onehalf | | onehalf | ||
| one-half | | one-half | ||
| three-sixths=[[File:Incarnate-Sixths-3.png|24px|One-Half]] {{Frac|1|2}} | | three-sixths=[[File:Incarnate-Sixths-3.png|24px|One-Half]] {{Frac|1|2}} | ||
| twothirds | | twothirds | ||
| two-thirds | | two-thirds | ||
| four-sixths=[[File:Incarnate-Sixths-4.png|24px|Two-Thirds]] {{Frac|2|3}} | | four-sixths=[[File:Incarnate-Sixths-4.png|24px|Two-Thirds]] {{Frac|2|3}} | ||
| one | | one | ||
| full=[[File:Incarnate-Sixths-6.png|24px|One]] 1 | | full=[[File:Incarnate-Sixths-6.png|24px|One]] 1 | ||
| #default=[[File:Icon clue generic.png|24px|Unknown]] }}</includeonly><noinclude> | | #default=[[File:Icon clue generic.png|24px|Unknown]] }}</includeonly><noinclude> |
Revision as of 00:25, 12 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.