Template:DC Database:Location Template



 Official Name

First appearance

{{#if: {{{PointsOfInterest|}}} |

}}{{#if: {{{Residents|}}} |

}}{{#if: {{{Notes|}}} |

}} {{#if: {{{Trivia|}}} |

}}{{#if: {{{CustomSection1|}}} |

}}{{#if: {{{CustomSection2|}}} |

}}


 * Appearances of
 * Location Gallery: {{#if: {{{Links|}}} |

}}

Always Present Fields

 * OfficialName           = OFFICIAL NAME
 * First                  = FIRST APPEARANCE


 * HistoryText            = HISTORY OF LOCATION


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

Optional Fields

 * Image                  = FILENAME
 * Aliases                = ALIASES
 * Universe               = UNIVERSE / REALITY
 * Galaxy                 = GALAXY
 * StarSystem             = STAR SYSTEM
 * Planet                 = PLANET
 * Continent              = CONTINENT
 * Country                = COUNTRY
 * City                   = CITY
 * State                  = STATE     ( OR PROVINCE )
 * Province               = PROVINCE  ( OR STATE    )
 * Locale                 = LOCALE


 * Dimensions             = AREA / DIMENSIONS
 * Population             = POPULATION


 * CustomLabel            = CUSTOM LABEL
 * Custom                 = CUSTOM


 * PointsOfInterest       = POINTS OF INTEREST
 * Residents              = RESIDENTS


 * Creators               = MULTIPLE CREATORS   (Separate with ;'s)
 * Last                   = LAST APPEARANCE


 * 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
 * PointsOfInterestHeader = DEFAULT : Points Of Interest
 * ResidentsHeader        = DEFAULT : Residents
 * NotesHeader            = DEFAULT : Notes
 * TriviaHeader           = DEFAULT : Trivia
 * SeeAlsoHeader          = DEFAULT : See Also
 * LinksHeader            = DEFAULT : Links and References

Note
will only appear if a value is set for 'Dimensions'.
 * The 'Characteristics' header within the infobox
 * TODO: Should 'ImageText' be part of the default empty sytnax?

{{#if: {{#pos:{{{Universe}}}|;}}
 * {{#replace:| }}{{#if: {{{Galaxy|}}} | }}{{#if:{{#pos:{{{Galaxy}}}|{{PAGENAME}}}} |  }} {{#if: {{{Sector|}}} |  }}{{#if: {{{StarSystem|}}} |  }}{{#if:{{#pos:{{{StarSystem}}}|{{PAGENAME}}}} |  }}{{#if: {{{Planet|}}} |  }}{{#if:{{#pos:{{{Planet}}}|{{PAGENAME}}}} |  }}{{#if: {{{Continent|}}} |  }}{{#if:{{#pos:{{{Continent}}}|{{PAGENAME}}}} |  }}{{#if: {{{Country|}}} |  }}{{#if:{{#pos:{{{Country}}}|{{PAGENAME}}}} |  }}{{#if: {{{City|}}} |  }}{{#if:{{#pos:{{{City}}}|{{PAGENAME}}}} |  }}{{#if: {{{State|}}} |  }}{{#if:{{#pos:{{{State}}}|{{PAGENAME}}}} |  | }}{{#if: {{{Province|}}} |  }}{{#if:{{#pos:{{{Province}}}|{{PAGENAME}}}} |  }}{{#if: {{{Locale|}}} | {{#ifexist:{{{Locale}}}|}}}}{{#if:{{#pos:{{{Locale}}}|{{PAGENAME}}}} |  }}