Template:Infobox Location: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:
| name = Infobox Location
| name = Infobox Location
| above = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
| above = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
| subheaderstyle = background-color: #b32425;
| subheader = {{#if: {{{alternate timeline|}}} | This location is part of an [[Location part of::alternate timeline]] }}
| subheader1 = {{#if: {{{alternate reality|}}} | This location is part of an [[Location part of::alternate reality]] }}
| subheader = {{#if: {{{alternate timeline|}}} | This location is part of an [[Location part of::alternate timeline]] }}
| subheaderstyle2 = background-color: #b32425;
| subheader2 = {{#if: {{{hallucination|}}} | This location is part of an [[Location part of::hallucination]] }}
| subheader3 = {{#if: {{{framework|}}} | This location is part of the [[Location part of::Framework]] }}
| subheader2 = {{#if: {{{alternate reality|}}} | This location is part of an [[Location part of::alternate reality]] }}
| subheaderstyle3 = background-color: #b32425;
| subheader3 = {{#if: {{{hallucination|}}} | This location is part of an [[Location part of::hallucination]] }}
| subheaderstyle4 = background-color: #b32425;
| subheader4 = {{#if: {{{framework|}}} | This location is part of the [[Location part of::Framework]] }}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
Line 30: Line 34:


| label1 = Location type
| label1 = Location type
| data1 = [[Location type::{{#switch: {{lc: {{{location type|country}}} }} | area | areas = Area | base | bases = Base | building | buildings = Building | city | cities = City | town | towns = Town | village | villages = Village | continent | continents = Continent | country | countries = Country | monument | monuments = Monument | house | houses = House | apartment | apartments = Apartment | facility | facilities = Facility | region | regions = Region | room | rooms = Room | state | states = State }}]]
| data1 = [[Location type::{{#switch: {{lc: {{{location type|country}}} }} | area | areas = Area | base | bases = Base | building | buildings = Building | hotel | hotels | casino | casinos | business | businesses = Business | city | cities = City | town | towns = Town | village | villages = Village | continent | continents = Continent | country | countries = Country | monument | monuments = Monument | house | houses = House | apartment | apartments = Apartment | facility | facilities = Facility | region | regions = Region | room | rooms = Room | state | states = State }}]]


| header2 = {{#if: {{{galaxy|}}}{{{planet|}}}{{{continent|}}}{{{country|}}}{{{state|}}}{{{city|}}}{{{localization|}}} | Geographical situation }}
| header2 = {{#if: {{{galaxy|}}}{{{planet|}}}{{{continent|}}}{{{country|}}}{{{state|}}}{{{city|}}}{{{localization|}}} | Geographical situation }}
Line 79: Line 83:
| header40 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the MCU }}
| header40 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the MCU }}


| label30 = First mention
| label41 = First mention
| data30 = {{{mention|}}}
| data41 = {{{mention|}}}


| label31 = First appearance
| label42 = First appearance
| data31 = {{{appearance|}}}
| data42 = {{{appearance|}}}


}}<!--
}}<!--

Latest revision as of 17:26, 24 March 2019

Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Location
 | sort                   = 
 | nocat                  = 
 | spoiler                = 
 | image                  = 
 | caption                = 
 | separate               = 
 | continuity             = 
 | alternate reality      = <!-- semantic data, anything to set -->
 | alternate timeline     = <!-- semantic data, anything to set -->
 | hallucination          = <!-- semantic data, anything to set -->
 | framework              = <!-- semantic data, anything to set -->
 | location type          = 
 | name                   = 
 | galaxy                 = 
 | planet                 = 
 | continent              = 
 | country                = 
 | state                  = 
 | city                   = 
 | localization           = 
 | creator                = 
 | function               = 
 | control system         = 
 | power source           = 
 | status                 = 
 | affiliation            = 
 | mention                = 
 | appearance             = 
}}