Template:CityInfobox: Difference between revisions
Appearance
Content deleted Content added
New template |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<infobox theme="portInfobox"> |
<infobox theme="portInfobox"> |
||
<title |
<title source="title"> |
||
<default>{{PAGENAME}}</default> |
|||
</title> |
|||
<image source="image"><default>{{#switch: {{{allegiance}}} |
<image source="image"><default>{{#switch: {{{allegiance}}} |
||
| Alliance = Elite Dangerous Human City Concept Art.png |
| Alliance = Elite Dangerous Human City Concept Art.png |
||
| Line 14: | Line 16: | ||
<data source="landmass"><label>Landmass</label></data> |
<data source="landmass"><label>Landmass</label></data> |
||
<data source="allegiance"><label>Allegiance</label><format>{{#switch: {{{allegiance}}} |
<data source="allegiance"><label>Allegiance</label><format>{{#switch: {{{allegiance}}} |
||
| Alliance = [[File:Alliance vector.svg|27px|link=]] [[Alliance]] |
| Alliance = [[File:Alliance vector.svg|27px|link=]] [[Alliance]] [[Category:Alliance]] |
||
| Empire = [[File:Empire vector.svg|27px|link=]] [[Empire]] |
| Empire = [[File:Empire vector.svg|27px|link=]] [[Empire]] [[Category:Empire]] |
||
| Federation = [[File:Federation vector.svg|27px|link=]] [[Federation]] |
| Federation = [[File:Federation vector.svg|27px|link=]] [[Federation]] [[Category:Federation]] |
||
| Independent = [[File:Independent icon small.png|27px|link=]] [[Independent]] |
| Independent = [[File:Independent icon small.png|27px|link=]] [[Independent]] |
||
| Pilots Federation = [[File:Pilots Federation allegiance icon.png|27px|link=]] [[Pilots Federation]] |
| Pilots Federation = [[File:Pilots Federation allegiance icon.png|27px|link=]] [[Pilots Federation]] [[Category:Pilots Federation]] |
||
| #default = [[{{{allegiance}}}]] |
| #default = [[{{{allegiance}}}]] |
||
}}</format></data> |
}}</format></data> |
||
<data source="founded"><label>Founded</label></data> |
<data source="founded"><label>Founded</label></data> |
||
<data source="structures"><label>Notable |
<data source="structures"><label>Notable<br/>structures</label></data> |
||
</group> |
</group> |
||
</infobox><includeonly>{{#if: {{NAMESPACE}} |
</infobox><includeonly>{{#if: {{NAMESPACE}} |
||
| Line 29: | Line 31: | ||
Example usage:<pre> |
Example usage:<pre> |
||
{{CityInfobox |
{{CityInfobox |
||
|title = |
|||
|image = |
|image = |
||
|system = |
|system = |
||
Latest revision as of 05:52, 31 January 2022
Example usage:
{{CityInfobox
|title =
|image =
|system =
|body =
|landmass =
|allegiance =
|founded =
|structures =
}}