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
(avoiding case sensitivity issues using "lc" (lowercase) parser function)
m (+ 5/6)
Line 7: Line 7:
 
| onethird
 
| onethird
 
| one-third
 
| one-third
 +
| twosixths
 
| 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
 +
| threesixths
 
| 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
 +
| foursixths
 
| 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}}
 +
| fivesixths
 +
| five-sixths=[[File:Incarnate-Sixths-5.png|24px|Five-Sixths]] {{Frac|5|6}}
 
| one
 
| one
 
| full=[[File:Incarnate-Sixths-6.png|24px|One]] 1
 
| full=[[File:Incarnate-Sixths-6.png|24px|One]] 1
Line 27: Line 32:
 
* '''one-half''' {{FracImg|one-half}}
 
* '''one-half''' {{FracImg|one-half}}
 
* '''two-thirds''' {{FracImg|two-thirds}}
 
* '''two-thirds''' {{FracImg|two-thirds}}
 +
* '''five-sixths''' {{FracImg|five-sixths}}
 
* '''one''' or '''full''' {{FracImg|full}}
 
* '''one''' or '''full''' {{FracImg|full}}
  

Revision as of 03:51, 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.

  • zero or none 0Zero
  • one-sixth 16One-Sixth
  • one-third 13One-Third
  • one-half 12One-Half
  • two-thirds 23Two-Thirds
  • five-sixths 56Five-Sixths
  • one or full 1One

Incorrect value: {{FracImg|Bob Dole}} Unknown