Template:FracImg: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
mNo edit summary
imported>Aggelakis (historical)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}} |
<includeonly>{{#switch: {{{1|}}} |
| Zero
| zero
| Null
| null
| None
| none=[[File:Incarnate-Sixths-0.png|24px|Zero]] 0
| One-Sixth
| One-Sixth
| 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}}
Line 14: Line 20:
| Four-Sixths
| Four-Sixths
| 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
| full=[[File:Incarnate-Sixths-6.png|24px|One]] 1
| #default=[[File:Icon clue generic.png|24|Unknown]] }}</includeonly><noinclude>
| #default=[[File:Icon clue generic.png|24|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.


One variable, depending on what needs to be displayed. Unlist values need to be created and added to the template, or the template altered to be able to automatically include unlisted values.
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}}
* '''one-sixth''' {{FracImg|one-sixth}}
* '''one-sixth''' {{FracImg|one-sixth}}
* '''one-third''' {{FracImg|one-third}}
* '''one-third''' {{FracImg|one-third}}
* '''one-half''' {{FracImg|one-half}}
* '''one-half''' {{FracImg|one-half}}
* '''two-thirds''' {{FracImg|two-thirds}}
* '''two-thirds''' {{FracImg|two-thirds}}
* '''one''' or '''full''' {{FracImg|full}}


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

Revision as of 04:17, 11 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.