Template:Infobox location: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>BobTheWikipedian
(fix condition)
>RudleyDudley
(Adding demonym usage)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
| headerstyle  = {{Infobox sec|header}}
| headerstyle  = {{Infobox sec|header}}
| labelstyle  = {{Infobox sec|label|width=35%}}
| labelstyle  = {{Infobox sec|label|width=35%}}
| above  = <big>{{{name|{{PAGENAME}}}}}</big>
| above  = <span class="nomobile">{{{name|{{PAGENAME}}}}}</span>
| image  = {{#if:{{{image|}}}|[[File:{{#setmainimage:{{{image}}}}}{{#ifeq:{{{noscale|}}}|1||{{!}}250px}}]]}}
| image  = {{#if:{{{image|}}}|[[File:{{#setmainimage:{{{image}}}}}{{#ifeq:{{{noscale|}}}|1||{{!}}250px}}]]}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
Line 11: Line 11:
| label3  = Part of
| label3  = Part of
| data3  = {{{part of|}}}
| data3  = {{{part of|}}}
| label4 = Status
| label4 = Demonym
| data4   = {{{status|}}}
| data4 = {{#if:{{{demonym|}}}|{{{demonym|}}}}}
|label5={{#if:{{{formerly|}}}|Formerly part of}}
| label5 = Status
|date5={{#if:{{{formerly|}}}|{{{formerly|}}}}}
| data5  = {{{status|}}}
|label6={{#if:{{{later|}}}|Later part of}}
|label6=Formerly part of
|date6={{#if:{{{later|}}}|{{{later|}}}}}
|data6={{#if:{{{formerly|}}}|{{{formerly|}}}}}
|label7=Later part of
|data7={{#if:{{{later|}}}|{{{later|}}}}}
}}<noinclude>
}}<noinclude>


Line 25: Line 27:
| plane =  
| plane =  
| part of =
| part of =
| demonym =
| status =  
| status =  
| formerly =
| formerly =
Line 36: Line 39:
*<code>{{{plane}}}</code>: plane where the location is
*<code>{{{plane}}}</code>: plane where the location is
*<code>{{{part of}}}</code>: a more specific location on the plane
*<code>{{{part of}}}</code>: a more specific location on the plane
*<code>{{{demonym}}}</code>: term for people from the location
*<code>{{{status}}}</code>: status of the location, i.e. destroyed, rebuild, ...
*<code>{{{status}}}</code>: status of the location, i.e. destroyed, rebuild, ...
*<code>{{{formerly}}}</code>: place(s) the location was formed from
*<code>{{{formerly}}}</code>: place(s) the location was formed from

Latest revision as of 05:59, 23 April 2024

Infobox location
Information
Plane Unknown

Usage

{{Infobox location
| name = 
| image =
| plane = 
| part of =
| demonym =
| status = 
| formerly =
| later =
}}

Parameters

Core parameters
  • {{{name}}}: name of the location; defaults to PAGENAME
  • {{{image}}}: representative image of the location
  • {{{plane}}}: plane where the location is
  • {{{part of}}}: a more specific location on the plane
  • {{{demonym}}}: term for people from the location
  • {{{status}}}: status of the location, i.e. destroyed, rebuild, ...
  • {{{formerly}}}: place(s) the location was formed from
  • {{{later}}}: place(s) formed from the location