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
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| zero
 
| zero
 
| null
 
| null
| none=[[File:Incarnate-Sixths-0.png|24px|Zero]] 0
+
| none={{CenterAlignIcon|width=24|text=0|image=File:Fractions Zero.png|hover=Zero}}
 
| onesixth
 
| onesixth
| one-sixth=[[File:Incarnate-Sixths-1.png|24px|One-Sixth]] {{Frac|1|6}}
+
| 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
 
| twosixths
 
| twosixths
| two-sixths=[[File:Incarnate-Sixths-2.png|24px|One-Third]] {{Frac|1|3}}
+
| two-sixths={{CenterAlignIcon|width=24|text={{Frac|1|3}}|image=File:Fractions One-Third.png|hover=One-Third}}
 
| onehalf
 
| onehalf
 
| one-half
 
| one-half
 +
| twoquarters
 +
| two-quarters
 +
| twofourths
 +
| two-fourths
 +
| twoforths
 +
| two-forths
 
| threesixths
 
| threesixths
| three-sixths=[[File:Incarnate-Sixths-3.png|24px|One-Half]] {{Frac|1|2}}
+
| three-sixths={{CenterAlignIcon|width=24|text={{Frac|1|2}}|image=File:Fractions One-Half.png|hover=One-Half}}
 
| twothirds
 
| twothirds
 
| two-thirds
 
| two-thirds
 
| foursixths
 
| foursixths
| four-sixths=[[File:Incarnate-Sixths-4.png|24px|Two-Thirds]] {{Frac|2|3}}
+
| 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=[[File:Incarnate-Sixths-5.png|24px|Five-Sixths]] {{Frac|5|6}}
+
| five-sixths={{CenterAlignIcon|width=24|text={{Frac|5|6}}|image=File:Fractions Five-Sixths.png|hover=Five-Sixths}}
 
| one
 
| one
| full=[[File:Incarnate-Sixths-6.png|24px|One]] 1
+
| full={{CenterAlignIcon|width=24|text=1|image=File:Fractions One.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.
  
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. ('''Bold''' inputs listed should be used; unbolded inputs are accepted options but not preferred.)
  
* '''zero''' or '''none''' {{FracImg|none}}
+
{| class="wikitable" width="50%" style="text-align:center;"
* '''one-sixth''' {{FracImg|one-sixth}}
+
! width="50%" | Input !! width="50%" | Results
* '''one-third''' {{FracImg|one-third}}
+
|-
* '''one-half''' {{FracImg|one-half}}
+
| '''<nowiki>{{FracImg|zero}}</nowiki>'''<br /><nowiki>{{FracImg|none}}</nowiki><br /><nowiki>{{FracImg|null}}</nowiki> || {{FracImg|none}}
* '''two-thirds''' {{FracImg|two-thirds}}
+
|-
* '''five-sixths''' {{FracImg|five-sixths}}
+
| '''<nowiki>{{FracImg|one-sixth}}</nowiki>''' || {{FracImg|one-sixth}}
* '''one''' or '''full''' {{FracImg|full}}
+
|-
 
+
| '''<nowiki>{{FracImg|one-quarter}}</nowiki>'''<br /><nowiki>{{FracImg|one-fourth}}</nowiki> || {{FracImg|one-quarter}}
Incorrect value: <nowiki>{{FracImg|Bob Dole}}</nowiki> {{FracImg|Bob Dole}}
+
|-
 +
| '''<nowiki>{{FracImg|one-third}}</nowiki>'''<br /><nowiki>{{FracImg|two-sixths}}</nowiki> || {{FracImg|one-third}}
 +
|-
 +
| '''<nowiki>{{FracImg|one-half}}</nowiki>'''<br /><nowiki>{{FracImg|three-sixths}}</nowiki><br /><nowiki>{{FracImg|two-quarters}}</nowiki><br /><nowiki>{{FracImg|two-fourths}}</nowiki> || {{FracImg|one-half}}
 +
|-
 +
| '''<nowiki>{{FracImg|two-thirds}}</nowiki>'''<br /><nowiki>{{FracImg|four-sixths}}</nowiki> || {{FracImg|two-thirds}}
 +
|-
 +
| '''<nowiki>{{FracImg|three-quarters}}</nowiki>'''<br /><nowiki>{{FracImg|three-fourths}}</nowiki> || {{FracImg|three-quarters}}
 +
|-
 +
| '''<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>

Latest revision as of 09:57, 2 February 2011

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. (Bold inputs listed should be used; unbolded inputs are accepted options but not preferred.)

Input Results
{{FracImg|zero}}
{{FracImg|none}}
{{FracImg|null}}
0Zero
{{FracImg|one-sixth}} 16One-Sixth
{{FracImg|one-quarter}}
{{FracImg|one-fourth}}
14One-Quarter
{{FracImg|one-third}}
{{FracImg|two-sixths}}
13One-Third
{{FracImg|one-half}}
{{FracImg|three-sixths}}
{{FracImg|two-quarters}}
{{FracImg|two-fourths}}
12One-Half
{{FracImg|two-thirds}}
{{FracImg|four-sixths}}
23Two-Thirds
{{FracImg|three-quarters}}
{{FracImg|three-fourths}}
34Three-Quarters
{{FracImg|five-sixths}} 56Five-Sixths
{{FracImg|one}}
{{FracImg|full}}
1One
{{FracImg|Bob Dole}} Unknown