Jump to content

Template:Location: Difference between revisions

Line 3: Line 3:
<image source="image"><caption source="imagecaption"/></image>
<image source="image"><caption source="imagecaption"/></image>
<image source="map"><caption source="mapcaption"/></image>
<image source="map"><caption source="mapcaption"/></image>
<data source="type"><label>Type</label></data>
<group>
<data source="level"><label>Level</label></data>
<header>Classification</header>
<data source="location"><label>Location</label></data>
<data source="universe"><label>Universe</label></data>
<data source="planet"><label>Planet</label></data>
<data source="region"><label>Sector / Region</label></data>
<data source="universe"><label>Universe</label></data>
<data source="planet"><label>Planet / World</label></data>
<data source="inhabitants"><label>Inhabitants</label></data>
<data source="system"><label>Star System</label></data>
<data source="affiliation"><label>Affiliation</label></data>
<data source="galaxy"><label>Galaxy</label></data>
<data source="notable_residents"><label>Residents</label></data>
<data source="location"><label>Location</label></data>
<data source="type"><label>Type</label></data>
<data source="affiliation"><label>Affiliation</label></data>
<data source="status"><label>Status</label></data>
</group>
<group>
<header>Details</header>
<data source="function"><label>Function</label></data>
<data source="features"><label>Features</label></data>
<data source="economy"><label>Economy</label></data>
<data source="government"><label>Government / Control</label></data>
<data source="population"><label>Population</label><default>Unknown</default></data>
<data source="founded"><label>Founded</label><default>Unknown</default></data>
<data source="founder"><label>Founder(s)</label></data>
</group>
<group>
<header>Relationships</header>
<data source="notable_residents"><label>Notable Residents</label></data>
<data source="notable_events"><label>Notable Events</label></data>
<data source="notable_worlds"><label>Notable Worlds</label></data>
<data source="inhabitants"><label>Inhabitants</label></data>
<data source="affiliated_groups"><label>Affiliated Groups</label><format>{{#if {{{affiliated_group2|}}} | * [[{{{affiliated_groups}}}]] <br> * [[{{{affiliated_group2}}}]] | [[{{{affiliated_groups}}}]] }}{{#if {{{affiliated_group3|}}} |<br> *[[{{{affiliated_group3}}}]]}}</format></data>
</group>
<group>
<header>Meta</header>
<data source="level"><label>Level</label></data>
<data source="creator"><label>Creator</label></data>
<data source="author"><label>Author</label></data>
<data source="source"><label>Source</label></data>
<data source="series"><label>Series</label></data>
<data source="year"><label>Year</label></data>
</group>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}<templatedata>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}<templatedata>
{
{
"params": {
"params": {
"title": {},
"title": {
"image": {},
"aliases": [
"map": {},
"name"
"type": {},
],
"level": {},
"type": "string"
"location": {},
},
"planet": {},
"image": {
"universe": {},
"type": "wiki-file-name"
},
"map": {
"type": "wiki-file-name"
},
"universe": {
"type": "wiki-page-name"
},
"region": {
"type": "content"
},
"planet": {
"type": "content"
},
"system": {
"type": "content"
},
"galaxy": {
"type": "content"
},
"location": {
"type": "content"
},
"type": {
"type": "string"
},
"affiliation": {
"type": "content"
},
"status": {
"type": "string"
},
"function": {
"type": "string"
},
"features": {
"type": "string"
},
"economy": {
"type": "content"
},
"government": {
"type": "content"
},
"population": {
"type": "number"
},
"founded": {
"type": "content"
},
"founder": {
"type": "content"
},
"notable_residents": {
"type": "content"
},
"notable_events": {
"type": "content"
},
"notable_worlds": {
"type": "content"
},
"inhabitants": {},
"inhabitants": {},
"affiliation": {},
"affiliated_groups": {
"notable_residents": {}
"type": "wiki-page-name"
}
},
"affiliated_group2": {
"type": "wiki-page-name"
},
"affiliated_group3": {
"type": "wiki-page-name"
},
"level": {
"type": "string"
},
"creator": {
"type": "wiki-page-name"
},
"author": {
"type": "wiki-page-name"
},
"source": {
"type": "wiki-page-name"
},
"series": {
"type": "content"
},
"year": {
"type": "number"
},
"imagecaption": {
"type": "line"
},
"mapcaption": {
"type": "line"
}
},
"paramOrder": [
"title",
"image",
"imagecaption",
"map",
"mapcaption",
"universe",
"region",
"planet",
"system",
"galaxy",
"location",
"type",
"affiliation",
"status",
"function",
"features",
"economy",
"government",
"population",
"founder",
"founded",
"notable_residents",
"notable_events",
"notable_worlds",
"inhabitants",
"affiliated_groups",
"affiliated_group2",
"affiliated_group3",
"level",
"creator",
"author",
"source",
"series",
"year"
]
}
}
</templatedata></noinclude>
</templatedata>[[Category:Infobox templates]][[Category:Templates]]</noinclude>