Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:FracImg"

From Paragon Wiki Archive
Jump to: navigation, search
m
m (1/4, 3/4)
Line 5: Line 5:
 
| onesixth
 
| onesixth
 
| one-sixth={{CenterAlignIcon|width=24|text={{Frac|1|6}}|image=File:Fractions One-Sixth.png|hover=One-Sixth}}
 
| one-sixth={{CenterAlignIcon|width=24|text={{Frac|1|6}}|image=File:Fractions One-Sixth.png|hover=One-Sixth}}
 +
| onefourth
 +
| one-fourth
 +
| oneforth
 +
| one-forth
 +
| onequarter
 +
| one-quarter={{CenterAlignIcon|width=24|text={{Frac|1|4}}|image=File:Fractions One-Quarter.png|hover=One-Quarter}}
 
| onethird
 
| onethird
 
| one-third
 
| one-third
Line 17: Line 23:
 
| foursixths
 
| foursixths
 
| four-sixths={{CenterAlignIcon|width=24|text={{Frac|2|3}}|image=File:Fractions Two-Thirds.png|hover=Two-Thirds}}
 
| four-sixths={{CenterAlignIcon|width=24|text={{Frac|2|3}}|image=File:Fractions Two-Thirds.png|hover=Two-Thirds}}
 +
| threefourths
 +
| three-fourths
 +
| threeforths
 +
| three-forths
 +
| threequarters
 +
| three-quarters={{CenterAlignIcon|width=24|text={{Frac|3|4}}|image=File:Fractions Three-Quarters.png|hover=Three-Quarters}}
 
| fivesixths
 
| fivesixths
 
| five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Fractions Five-Sixths.png|hover=Five-Sixths}}
 
| five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Fractions Five-Sixths.png|hover=Five-Sixths}}
Line 33: Line 45:
 
|-
 
|-
 
| <nowiki>{{FracImg|one-sixth}}</nowiki> || {{FracImg|one-sixth}}
 
| <nowiki>{{FracImg|one-sixth}}</nowiki> || {{FracImg|one-sixth}}
 +
|-
 +
| <nowiki>{{FracImg|one-quarter}}</nowiki> || {{FracImg|one-quarter}}
 
|-
 
|-
 
| <nowiki>{{FracImg|one-third}}</nowiki> || {{FracImg|one-third}}
 
| <nowiki>{{FracImg|one-third}}</nowiki> || {{FracImg|one-third}}
Line 39: Line 53:
 
|-
 
|-
 
| <nowiki>{{FracImg|two-thirds}}</nowiki> || {{FracImg|two-thirds}}
 
| <nowiki>{{FracImg|two-thirds}}</nowiki> || {{FracImg|two-thirds}}
 +
|-
 +
| <nowiki>{{FracImg|three-quarters}}</nowiki> || {{FracImg|three-quarters}}
 
|-
 
|-
 
| <nowiki>{{FracImg|five-sixths}}</nowiki> || {{FracImg|five-sixths}}
 
| <nowiki>{{FracImg|five-sixths}}</nowiki> || {{FracImg|five-sixths}}

Revision as of 04:39, 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-quarter}} 14One-Quarter
{{FracImg|one-third}} 13One-Third
{{FracImg|one-half}} 12One-Half
{{FracImg|two-thirds}} 23Two-Thirds
{{FracImg|three-quarters}} 34Three-Quarters
{{FracImg|five-sixths}} 56Five-Sixths
{{FracImg|one}}
{{FracImg|full}}
1One
{{FracImg|Bob Dole}} Unknown