Template:Settlements: Difference between revisions

From TogSMP Wiki
Jump to navigation Jump to search
imported>HyperDuckSquared
No edit summary
imported>HyperDuckSquared
No edit summary
Line 13: Line 13:
     <label>Vice Mayor</label>
     <label>Vice Mayor</label>
   </data>
   </data>
  <group collapse="open">
    <header>Areas</header>
    <data source="areas1">
      <label>{{{area_name1}}}</label>
    </data>
    <data source="areas2">
      <label>{{{area_name2}}}</label>
    </data>
    <data source="areas3">
      <label>{{{area_name3}}}</label>
    </data>
  </group>
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage: Change the values in square brackets as required.<pre>
Example usage:<pre>
{{Cities
{{Cities
|settlement_name=[Metropolis of Langenthal]
|settlement_name=Example
|settlement_status=[Capital City]
|settlement_status=Example
|image=[MLangenthalCityHallPlaza.png]
|image=Example
|image_caption=[Capital City of Ihazon]
|image_caption=Example
|mayor=[Togfan]
|image_width=300
|vice_mayor=[John Who]
|mayor=Example
|vice_mayor=Example
|area_name1=Example
|areas1=Example
|area_name2=Example
|areas2=Example
|area_name3=Example
|areas3=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 13:23, 25 April 2018

<infobox>

 <title source="settlement_name"/>
 

<format>

{{{settlement_status}}}

</format>

 
 

<format>

[[Image:{{{image}}}|300px]]

</format>

 
 
   <label>Mayor</label>
 
 
   <label>Vice Mayor</label>
 
 <group collapse="open">
   <header>Areas</header>
   
     <label>{{{area_name1}}}</label>
   
   
     <label>{{{area_name2}}}</label>
   
   
     <label>{{{area_name3}}}</label>
   
 </group>

</infobox>

Example usage:

{{Cities
|settlement_name=Example
|settlement_status=Example
|image=Example
|image_caption=Example
|image_width=300
|mayor=Example
|vice_mayor=Example
|area_name1=Example
|areas1=Example
|area_name2=Example
|areas2=Example
|area_name3=Example
|areas3=Example
}}