Template:Location/doc: Difference between revisions

From ESU Wiki
Created page with "== Fields == == Usage == <pre><nowiki>{{Location |name=Example |image=Example.jpg |type=country |universe=Universe-A |planet=Earth |country=United States |region=New York |population=Example |government-type=Example |status=Active |appearances={{Infobox List|''Purple Bolt''<br/> ''Thor''<br/> ''Madame Wilhelmina''<br/> ''Doctor Hex''<br/> ''The Ghost (book)|The Gh..."
 
No edit summary
Line 1: Line 1:
== Fields ==
== Fields ==
{|class="wikitable"
!Name
!Type
!Description
!Default Value
!Displayed?
|-
|<pre>name</pre>
|String
|The Title of the Infobox.
|<pre>{{{PAGENAME}}}</pre>
|Yes
|-
|<pre>image</pre>
|File Name
|The image displayed on the infobox.
|<pre>No Image Available.jpg</pre>
|Yes
|-
|<pre>type</pre>
|String
|The type of location.
|<pre>Unknown</pre>
|Yes
|-
|<pre>universe</pre>
|String
|The Universe the location is in.
|None
|Only if value is provided.
|-
|<pre>planet</pre>
|String
|The Planet the location is on.
|None
|Only if value is provided.
|-
|<pre>country</pre>
|String
|The Country the location is in.
|None
|Only if value is provided.
|-
|<pre>region</pre>
|String
|The Region the location is in.
|None
|Only if value is provided.
|-
|<pre>population</pre>
|String
|The location's population.
|None
|Only if value is provided.
|-
|<pre>government-type</pre>
|String
|The Government type of the location.
|None
|Only if value is provided.
|-
|<pre>status</pre>
|String
|The Status of the location
|None
|Unknown
|-
|<pre>appearances</pre>
|String
|A list of media in which the location appeared in.
|None
|TBA
|}


== Usage ==
== Usage ==
Line 20: Line 93:
''[[The Ethereals (book)|The Ethereals]]''}}
''[[The Ethereals (book)|The Ethereals]]''}}
}}</nowiki></pre>
}}</nowiki></pre>
{{Location
|name=Example
|image=Example.jpg
|type=country
|universe=[[Universe-A]]
|planet=[[Earth]]
|country=[[United States]]
|region=[[New York]]
|population=Example
|government-type=Example
|status=Active
|appearances={{Infobox List|''[[Purple Bolt (book)|Purple Bolt]]''<br/>
''[[Thor (book)|Thor]]''<br/>
''[[Madame Wilhelmina (book)|Madame Wilhelmina]]''<br/>
''[[Doctor Hex (book)|Doctor Hex]]''<br/>
''[[The Ghost (book)|The Ghost]]''<br/>
''[[The Ethereals (book)|The Ethereals]]''}}
}}

Revision as of 13:42, 3 November 2024

Fields

Name Type Description Default Value Displayed?
name
String The Title of the Infobox.
{{{PAGENAME}}}
Yes
image
File Name The image displayed on the infobox.
No Image Available.jpg
Yes
type
String The type of location.
Unknown
Yes
universe
String The Universe the location is in. None Only if value is provided.
planet
String The Planet the location is on. None Only if value is provided.
country
String The Country the location is in. None Only if value is provided.
region
String The Region the location is in. None Only if value is provided.
population
String The location's population. None Only if value is provided.
government-type
String The Government type of the location. None Only if value is provided.
status
String The Status of the location None Unknown
appearances
String A list of media in which the location appeared in. None TBA

Usage

{{Location
|name=Example
|image=Example.jpg
|type=country
|universe=[[Universe-A]]
|planet=[[Earth]]
|country=[[United States]]
|region=[[New York]]
|population=Example
|government-type=Example
|status=Active
|appearances={{Infobox List|''[[Purple Bolt (book)|Purple Bolt]]''<br/>
''[[Thor (book)|Thor]]''<br/>
''[[Madame Wilhelmina (book)|Madame Wilhelmina]]''<br/>
''[[Doctor Hex (book)|Doctor Hex]]''<br/>
''[[The Ghost (book)|The Ghost]]''<br/>
''[[The Ethereals (book)|The Ethereals]]''}}
}}