Template:Buildings: Difference between revisions

From TogSMP Wiki
Jump to navigation Jump to search
imported>HyperDuckSquared
Created page with "<infobox> <title source="title1"/> <image source="image1"> <caption source="caption1"/> </image> <data source="status"> <label>Status</label> </data> <data..."
 
imported>HyperDuckSquared
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox>
<infobox theme="togsmp">
   <title source="title1"/>
   <title source="building_name"/>
   <image source="image1">
   <data source="image" class="center">
     <caption source="caption1"/>
     <format><div style="text-align:center;">[[Image:{{{image}}}|{{{image_width|250}}}px]]<br/>''{{{image_caption| }}}''</div></format>
   </image>
   </data>
   <data source="status">
   <data source="status">
     <label>Status</label>
     <label>Status</label>
Line 18: Line 18:
   <data source="completion">
   <data source="completion">
     <label>Completion</label>
     <label>Completion</label>
  </data>
  <data source="contractor">
    <label>Contractor</label>
   </data>
   </data>
   <data source="owner">
   <data source="owner">
Line 27: Line 24:
   <group collapse="open">
   <group collapse="open">
     <header>Technical details</header>
     <header>Technical details</header>
     <data source="height_(architectural)">
     <data source="contractor">
      <label>Contractor</label>
    </data>
    <data source="cost">
      <label>Cost</label>
    </data>
    <data source="height_architectural">
       <label>Height (architectural)</label>
       <label>Height (architectural)</label>
     </data>
     </data>
     <data source="height_(tip)">
     <data source="height_tip">
       <label>Height (tip)</label>
       <label>Height (tip)</label>
     </data>
     </data>
Line 41: Line 44:
Example usage:<pre>
Example usage:<pre>
{{Buildings
{{Buildings
|title1=Example
|building_name=Example
|image1=Example
|image=Example
|caption1=Example
|image_caption=Example
|image_width=250
|status=Example
|status=Example
|type=Example
|type=Example
Line 49: Line 53:
|construction_started=Example
|construction_started=Example
|completion=Example
|completion=Example
|owner=Example
|contractor=Example
|contractor=Example
|owner=Example
|cost=<s>K</s> Example
|height_(architectural)=Example
|height_architectural=Example
|height_(tip)=Example
|height_tip=Example
|floor_count=Example
|floor_count=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 16:08, 26 April 2018

<infobox theme="togsmp">

 <title source="building_name"/>
 

<format>

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

</format>

 
 
   <label>Status</label>
 
 
   <label>Type</label>
 
 
   <label>Location</label>
 
 
   <label>Construction Started</label>
 
 
   <label>Completion</label>
 
 
   <label>Owner</label>
 
 <group collapse="open">
   <header>Technical details</header>
   
     <label>Contractor</label>
   
   
     <label>Cost</label>
   
   
     <label>Height (architectural)</label>
   
   
     <label>Height (tip)</label>
   
   
     <label>Floor Count</label>
   
 </group>

</infobox>

Example usage:

{{Buildings
|building_name=Example
|image=Example
|image_caption=Example
|image_width=250
|status=Example
|type=Example
|location=Example
|construction_started=Example
|completion=Example
|owner=Example
|contractor=Example
|cost=<s>K</s> Example
|height_architectural=Example
|height_tip=Example
|floor_count=Example
}}