Template:Location/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
{{Location/doc | {{Location/doc | ||
| | | title=Example | ||
| image1=Example | | image1=Example | ||
| affiliation=Example | | affiliation=Example | ||
Line 32: | Line 30: | ||
</pre> | </pre> | ||
<templatedata> | <templatedata> | ||
{"params":{" | {"params":{"title":{"suggested":true},"image1":{"suggested":true},"affiliation":{"suggested":true},"species":{"suggested":true},"languages":{"suggested":true},"capital":{"suggested":true},"sector":{"suggested":true},"name":{"suggested":true},"star":{"suggested":true},"moons":{"suggested":true},"trade_routes":{"suggested":true}},"sets":[],"maps":{}} | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Line 42: | Line 40: | ||
{{Location | {{Location | ||
| title = | | title = | ||
| | | image1 = [e.g. "Example.jpg"] | ||
| affiliation = | | affiliation = | ||
| species = | | species = | ||
Line 58: | Line 55: | ||
== Sample output == | == Sample output == | ||
{{Location | {{Location | ||
| title = | | title = Coruscant | ||
| | | image1 = [[File:Coruscant.png]] | ||
| affiliation = Empire | |||
| affiliation = | | species = Human | ||
| species = | | languages = Basic | ||
| languages = | | sector = Corusca | ||
| sector = | | name = Coruscant System | ||
| name = | | star = Coruscant Prime | ||
| star = | | moons = 4 | ||
| moons = | |||
| trade routes = | | trade routes = | ||
| capital = | | capital = Galactic City | ||
}}<pre> | }}<pre> | ||
{{Location | {{Location | ||
| title = Coruscant | | title = Coruscant | ||
| | | image1 = [[File:Coruscant.png]] | ||
| affiliation = Empire | |||
| affiliation = | | species = Human | ||
| species = | | languages = Basic | ||
| languages = | | sector = Corusca | ||
| sector = | | name = Coruscant System | ||
| name = | | star = Coruscant Prime | ||
| star = | | moons = 4 | ||
| moons = | |||
| trade routes = | | trade routes = | ||
| capital = | | capital = Galactic City | ||
}} | }} | ||
</pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | </pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 04:19, 30 August 2022
Example usage:
{{Location/doc | title=Example | image1=Example | affiliation=Example | species=Example | languages=Example | capital=Example | sector=Example | name=Example | star=Example | moons=Example | trade_routes=Example }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description | Unknown | suggested |
image1 | image1 | no description | Unknown | suggested |
affiliation | affiliation | no description | Unknown | suggested |
species | species | no description | Unknown | suggested |
languages | languages | no description | Unknown | suggested |
capital | capital | no description | Unknown | suggested |
sector | sector | no description | Unknown | suggested |
name | name | no description | Unknown | suggested |
star | star | no description | Unknown | suggested |
moons | moons | no description | Unknown | suggested |
trade_routes | trade_routes | no description | Unknown | suggested |
Description
To use this template, add the Template:T template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Location | title = | image1 = [e.g. "Example.jpg"] | affiliation = | species = | languages = | sector = | name = | star = | moons = | trade routes = | capital = }}
Sample output
{{Location | title = Coruscant | image1 = [[File:Coruscant.png]] | affiliation = Empire | species = Human | languages = Basic | sector = Corusca | name = Coruscant System | star = Coruscant Prime | moons = 4 | trade routes = | capital = Galactic City }}