Template:Infobox Location: Difference between revisions
From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 18: | Line 18: | ||
--><!-- |
--><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}</div>{{Infobox |
-->}}</div>{{Infobox |
||
| |
| name = Infobox Location |
||
| above = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} |
|||
| width = |
|||
| subheaderstyle = background-color: #b32425; |
|||
| icon = header map |
|||
| subheader = {{#if: {{{alternate timeline|}}} | This location is part of an [[Location part of::alternate timeline]] }} |
|||
| background = |
|||
| subheaderstyle2 = background-color: #b32425; |
|||
| color = |
|||
| subheader2 = {{#if: {{{alternate reality|}}} | This location is part of an [[Location part of::alternate reality]] }} |
|||
| border-color = |
|||
| subheaderstyle3 = background-color: #b32425; |
|||
| text = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} |
|||
| subheader3 = {{#if: {{{hallucination|}}} | This location is part of an [[Location part of::hallucination]] }} |
|||
}} |
|||
| subheaderstyle4 = background-color: #b32425; |
|||
{{Infobox/Title block |
|||
| subheader4 = {{#if: {{{framework|}}} | This location is part of the [[Location part of::Framework]] }} |
|||
| class = |
|||
| border = |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} |
|||
| background = |
|||
| |
| caption = {{{caption|}}} |
||
| text = This location is part of an [[Location part of::alternate timeline]] |
|||
| |
| label1 = Location type |
||
| 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 }}]] |
|||
}} |
|||
{{Infobox/Title block |
|||
| header2 = {{#if: {{{galaxy|}}}{{{planet|}}}{{{continent|}}}{{{country|}}}{{{state|}}}{{{city|}}}{{{localization|}}} | Geographical situation }} |
|||
| class = |
|||
| border = |
|||
| |
| label3 = Galaxy |
||
| data3 = {{#if: {{{galaxy|}}} | [[Galaxy::{{{galaxy}}}]] }} |
|||
| color = |
|||
| text = This location is part of an [[Location part of::alternate reality]] |
|||
| |
| label4 = Planet |
||
| data4 = {{#if: {{{planet|}}} | [[Planet::{{{planet}}}]] }} |
|||
}} |
|||
{{Infobox/Title block |
|||
| |
| label5 = Continent |
||
| data5 = {{#if: {{{continent|}}} | [[Continent::{{{continent}}}]] }} |
|||
| border = |
|||
| background = |
|||
| |
| label6 = Country |
||
| |
| data6 = {{#if: {{{country|}}} | [[Country::{{{country}}}]] }} |
||
| if = {{{hallucination|}}} |
|||
| label7 = State |
|||
}} |
|||
| data7 = {{#if: {{{state|}}} | [[State::{{{state}}}]] }} |
|||
{{Infobox/Title block |
|||
| class = |
|||
| |
| label8 = City |
||
| data8 = {{#if: {{{city|}}} | [[City::{{{city}}}]] }} |
|||
| background = |
|||
| color = |
|||
| label9 = Localization |
|||
| text = This location is part of the [[Location part of::Framework]] |
|||
| |
| data9 = {{#if: {{{localization|}}} | [[Localization::{{{localization}}}]] }} |
||
}} |
|||
| Header20 = {{#if: {{{function|{{{role|}}}}}}{{{control system|}}}{{{power source|}}}{{{creator|}}} | Specifications }} |
|||
{{Infobox/Image |
|||
| image = {{#if: {{{image|}}} | {{{image}}} | Sin foto.svg }} |
|||
| label21 = {{#if: {{#pos:{{{creator|}}}| <br }} | Creators | Creator }} |
|||
| alt = |
|||
| data21 = {{{creator|}}} |
|||
| upright = 1.35 |
|||
| border = |
|||
| label22 = {{#if: {{#pos:{{{function|{{{role|}}}}}}|<br}} | Functions | Function }} |
|||
| legend = {{{caption|}}} |
|||
| data22 = {{{function|{{{role|}}}}}} |
|||
}} |
|||
{{Infobox/Table start |
|||
| label23 = {{#if: {{#pos:{{{control system|}}}|<br}} | Control systems | Control System }} |
|||
| class = hidden |
|||
| |
| data23 = {{{control system|}}} |
||
| background = |
|||
| label24 = {{#if: {{#pos:{{{power source|}}}|<br}} | Control systems | Control System }} |
|||
| color = |
|||
| |
| data24 = {{{power source|}}} |
||
}} |
|||
| header30 = {{#if: {{{status|}}}{{{affiliation|}}} | Usage }} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| |
| label31 = Status |
||
| data31 = {{#if: {{{status|}}} | [[Status::{{{status}}}]] }} |
|||
| Location type |
|||
| {{{location type}}} |
|||
| label32 = Affiliation |
|||
| if = [[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 | appartment | appartments = Appartment | facility | facilities = Facility | region | regions = Region | room | rooms = Room | state | states = State }}]] |
|||
| data32 = {{{affiliation|}}} |
|||
}} |
|||
{{Infobox/Table end}} |
|||
| header40 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the MCU }} |
|||
{{Infobox/Table start |
|||
| class = {{#if: {{{galaxy|}}}{{{planet|}}}{{{continent|}}}{{{country|}}}{{{state|}}}{{{city|}}}{{{localization|}}} | | hidden }} |
|||
| |
| label41 = First mention |
||
| data41 = {{{mention|}}} |
|||
| background = |
|||
| color = |
|||
| |
| label42 = First appearance |
||
| data42 = {{{appearance|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
}}<!-- |
|||
| class = |
|||
| width = |
|||
| Galaxy |
|||
| [[Galaxy::{{{galaxy}}}]] |
|||
| if = {{{galaxy|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| Planet |
|||
| [[Planet::{{{planet}}}]] |
|||
| if = {{{planet|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| Continent |
|||
| [[Continent::{{{continent}}}]] |
|||
| if = {{{continent|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| Country |
|||
| [[Country::{{{country}}}]] |
|||
| if = {{{country|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| State |
|||
| [[State::{{{state}}}]] |
|||
| if = {{{state|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| City |
|||
| [[City::{{{city}}}]] |
|||
| if = {{{city|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| Localization |
|||
| [[Localization::{{{localization}}}]] |
|||
| if = {{{localization|}}} |
|||
}} |
|||
{{Infobox/Table end}} |
|||
{{Infobox/Table start |
|||
| class = {{#if: {{{function|{{{role|}}}}}}{{{control system|}}}{{{power source|}}}{{{conceptor|}}} | | hidden }} |
|||
| border = |
|||
| background = |
|||
| color = |
|||
| text = Specifications |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| {{#if: {{#pos:{{{conceptor|}}}|<br}} | Conceptors | Conceptor }} |
|||
| {{{conceptor}}} |
|||
| if = {{{conceptor|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| {{#if: {{#pos:{{{function|{{{role|}}}}}}|<br}} | Functions | Function }} |
|||
| {{{function|{{{role|}}}}}} |
|||
| if = {{{function|{{{role|}}}}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| {{#if: {{#pos:{{{control system|}}}|<br}} | Control systems | Control System }} |
|||
| {{{control system}}} |
|||
| if = {{{control system|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| {{#if: {{#pos:{{{power source|}}}|<br}} | Control systems | Control System }} |
|||
| {{{power source}}} |
|||
| if = {{{power source|}}} |
|||
}} |
|||
{{Infobox/Table end}} |
|||
{{Infobox/Table start |
|||
| class = {{#if: {{{status|}}}{{{affiliation|}}} | | hidden }} |
|||
| border = |
|||
| background = |
|||
| color = |
|||
| text = Usage |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| Status |
|||
| {{{status}}} |
|||
| if = {{{status|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| Affiliation |
|||
| {{{affiliation}}} |
|||
| if = {{{affiliation|}}} |
|||
}} |
|||
{{Infobox/Table end}} |
|||
{{Infobox/Table start |
|||
| class = {{#if: {{{mention|}}}{{{appearance|}}} | | hidden }} |
|||
| border = |
|||
| background = |
|||
| color = |
|||
| text = Informations non linked to the MCU |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| First mention |
|||
| {{{mention}}} |
|||
| if = {{{mention|}}} |
|||
}} |
|||
{{Infobox/Table dual line |
|||
| class = |
|||
| width = |
|||
| First appearance |
|||
| {{{appearance}}} |
|||
| if = {{{appearance|}}} |
|||
}} |
|||
{{Infobox/Table end}} |
|||
{{Infobox/Endbox}}<!-- |
|||
Retrieving the "name" property from the infobox |
Retrieving the "name" property from the infobox |
||
Latest revision as of 17:26, 24 March 2019
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 =
}}
| The above documentation is transcluded from Template:Infobox Location/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
