Race Template

Always Present Fields

 * Name                   = NAME
 * First                  = FIRST APPEARANCE


 * HistoryText            = HISTORY / BIOGRAPHY


 * Habitat                = NORMAL HABITAT
 * Gravity                = NORMAL GRAVITY
 * Atmosphere             = NORMAL ATMOSPHERE
 * Population             = KNOWN POPULATION


 * Powers                 = POWERS
 * Abilities              = ABILITIES
 * AvgStrength            = AVERAGE PHYSICAL STRENGTH
 * Weaknesses             = WEAKNESSES


 * GovernmentType         = TYPE OF GOVERNMENT
 * TechnologyLevel        = LEVEL OF TECHNOLOGY
 * CulturalTraits         = CULTURAL TRAITS
 * Representatives        = ANY KNOWN REPRESENTATIVES' NAMES


 * Notes                  = NOTES
 * Trivia                 = TRIVIA
 * Links                  = LINKS AND REFERENCES

Optional Fields

 * Image                  = FILENAME
 * Aliases                = ALIASES
 * Identity               = SECRET OR PUBLIC
 * Affiliation            = AFFILIATION
 * Universe               = UNIVERSE / REALITY
 * BaseOfOperations       = BASE OF OPERATIONS
 * CustomLabel            = CUSTOM LABEL
 * Custom                 = CUSTOM


 * BodyType               = AVERAGE BODY TYPE
 * AvgHeight              = AVERAGE HEIGHT
 * AvgWeight              = AVERAGE WEIGHT
 * Eyes                   = EYE COLOR
 * Hair                   = HAIR COLOR


 * Skin                   = SKIN COLOR
 * NumberOfLimbs          = NUMBER OF LIMBS
 * NumberOfFingers        = NUMBER OF FINGERS
 * NumberOfToes           = NUMBER OF TOES
 * NumberOfEyes           = NUMBER OF EYES
 * SpecialAdaptations     = ANY SPECIAL ADAPTATIONS
 * UnusualFeatures        = UNUSUAL FEATURES


 * Origin                 = ORIGIN OF POWERS / ABILITIES
 * GalaxyOfOrigin         = GALAXY OF ORIGIN
 * StarSystemOfOrigin     = STAR SYSTEM OF ORIGIN
 * HomePlanet             = HOME PLANET
 * PlaceOfBirth           = PLACE OF BIRTH
 * PlaceOfDeath           = PLACE OF DEATH
 * Creators               = MULTIPLE CREATORS (Separate them with ;'s)
 * Last                   = LAST APPEARANCE


 * OtherMedia             = APPEARANCES IN OTHER MEDIA
 * CustomSection1         = CUSTOM SECTION HEADER
 * CustomText1            = CUSTOM SECTION TEXT
 * CustomSection2         = CUSTOM SECTION HEADER
 * CustomText2            = CUSTOM SECTION TEXT

Manual Overrides

 * Title                  = DEFAULT : PAGENAME
 * ImageSize              = DEFAULT : 200
 * ImageText              = DEFAULT : PAGENAME
 * Gallery                = DEFAULT : PAGENAME/GALLERY


 * HistoryHeader          = DEFAULT : History
 * HabitatHeader          = DEFAULT : Habitat
 * PowersAbilitiesHeader  = DEFAULT : Powers and Abilities
 * MiscellaneousHeader    = DEFAULT : Miscellaneous
 * NotesHeader            = DEFAULT : Notes
 * TriviaHeader           = DEFAULT : Trivia
 * OtherMediaHeader       = DEFAULT : Appearances in Other Media
 * SeeAlsoHeader          = DEFAULT : See Also
 * LinksHeader            = DEFAULT : Links and References

Category Magic
This template automatically categorizes articles that use it. The following is a list of categories handled:


 * Always:
 * Category:Races


 * If Defined:
 * Category: Eyes
 * Category: Hair
 * Category: Skin
 * Category: Limbs
 * Category: Fingers
 * Category: Toes


 * Category:
 * Category:
 * Category:
 * Category:


 * If Not Defined:
 * Category:Image Needed        (if  is undefined)
 * Category:Race History Needed           (if  is undefined)


 * Special Cases:
 * Category:Bald Characters     (if  is Bald)
 * Category:No Hair             (if  is No Hair;No hair;None)
 * Category:Extinct Races (if is defined)
 * Category:Extinct Races (if is defined)
 * Category:Living Races (if and  are both undefined)

Note
{{Framework}}
 * TODO: Handle: Bald / No Hair (two different things), Reddish Blond, etc
 * Could be handled by | HairOverride =    or something to that effect?
 * TODO: Should 'ImageText' be part of the default empty sytnax?
 * TODO: QA Category: {Universe} code (see bottom), if works, then deploy to all wikis.
 * TODO: Add {{#ifexist logic to gallery/quotes/appearances etc and make 'tasks' out of them.
 * Could also be done for any/every undefined field!

{{#if: {{{Universe|}}} | {{#if: {{#pos:{{{Universe}}}|;}} | {{#if: {{#explode:{{{Universe}}}|;}} | }} {{#if: {{#explode:{{{Universe}}}|;|1}} | }} {{#if: {{#explode:{{{Universe}}}|;|2}} | }} {{#if: {{#explode:{{{Universe}}}|;|3}} | }} {{#if: {{#explode:{{{Universe}}}|;|4}} | }} |      }}{{#if: {{{Eyes|}}} | {{#switch: {{lc:{{{Eyes}}}}} | 0        | none | no eyes | n/a | no = |         }}      }}{{#if: {{{Hair|}}} | {{#switch: {{lc:{{{Hair}}}}} | 0        | none | no hair | no = |         }}     }}{{#if: {{{Skin|}}} | {{#switch: {{lc:{{{Skin}}}}} | 0        | none | no skin | no = |         }}     |}}{{#if: {{{Skin2|}}} }}    | {{#switch: {{lc:{{{NumberOfLimbs}}}}} | 0        | none | no limbs | no = |         }}      }}{{#if: {{{NumberOfEyes|}}} | {{#switch: {{lc:{{{NumberOfEyes}}}}} | 0        | none | no eyes | n/a | no = | 1        | one = |         }}      }}{{#if: {{#pos:{{{NumberOfFingers|}}}|,}} |     | {{#switch: {{lc:{{{NumberOfFingers}}}}} | 0        | none | no limbs | n/a | no = | 1        | one = | {{#if: {{{NumberOfFingers|}}} | }} }}   }}{{#if: {{{NumberOfToes|}}} | {{#switch: {{lc:{{{NumberOfToes}}}}} | 0        | none | no fingers | n/a | no = | 1        | one = |         }}      }}{{#if: {{{GalaxyOfOrigin|}}} |      }}{{#if: {{{StarSystemOfOrigin|}}} |      }}{{#if: {{{HomePlanet|}}} | {{#ifexist: {{{HomePlanet}}} |         }}      }}{{#if: {{{Image|}}} |     |      }}{{#if: {{{HistoryText|}}} |     |      }}{{#if: {{{PlaceOfDeath|}}} | {{#if: {{{Last|}}} |                                    }}     | {{#if: {{{Last|}}} |          |           }}      }}{{#if: {{#pos:{{{SpecialAdaptations}}}|eathers}} |     }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |gestalt}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |alien}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |clone}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |cosmic being}}|  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |cosmic ray}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |cyborg}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |deity}}{{#pos: {{lc:{{{Origin}}}}} |deities}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |doppelganger}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |gamma ray}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |ionic}} | {{#if:{{#pos:{{lc:{{{Origin}}}}}|psionic}}||}} }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |magician}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |mutant}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |mutate}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |robot}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |super-soldier}}{{#pos: {{lc:{{{Origin}}}}} |super soldier}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |time traveler}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |undead}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |vampire}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |werewolf}} |  }}{{#if: {{#pos: {{lc:{{{Origin}}}}} |psionic entity}}|  }}{{#if: {{{Creators|}}} | {{#if: {{#explode:{{{Creators}}}|;|0}} | }} {{#if: {{#explode:{{{Creators}}}|;|1}} | }} {{#if: {{#explode:{{{Creators}}}|;|2}} | }} {{#if: {{#explode:{{{Creators}}}|;|3}} | }} {{#if: {{#explode:{{{Creators}}}|;|4}} | }}}}{{#if: {{{HistoryText|}}}|{{#if: {{#pos:{{{HistoryText}}}|[}}||}} }}
 * {{#if:{{#pos:{{#expr:{{{Universe}}}-{{{Universe}}}}}=0|Expression}}||}} }} }}{{#if: {{{Identity|}}}
 * {{#switch: {{lc:{{{Skin2}}}}}
 * 0
 * none
 * no skin
 * no =
 * }}{{#if: {{{NumberOfLimbs|}}}