Template:OrganizationInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<infobox>
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
  <title source="name">
 
    <default>{{PAGENAME}}</default>
{{#if:{{{image|}}}|
  </title>
<div class="infobox-image">[[File:{{{image}}}|300px]]
  <image source="image">
{{#if:{{{image_desc|}}}|
    <caption source="image_desc" />
<i>{{{image_desc}}}</i>
  </image>
}}
  <data source="type">
</div>}}
     <label>Type</label>
{{#if:{{{image2|}}}|
  </data>
<div class="infobox-image">[[File:{{{image2}}}|300px]]
  <data source="leader">
{{#if:{{{image2_desc|}}}|
     <label>Leader</label>
<i>{{{image2_desc}}}</i>
  </data>
}}
<!--
</div>}}
  <data source="alignment">
<table>
     <label>Alignment</label>
{{#if:{{{type|}}}|<tr>
  </data>-->
     <th>Type</th>
  <data source="headquarters">
    <td>{{{type}}}</td>
     <label>Headquarters</label>
</tr>}}
  </data>
 
  <data source="capital">
{{#if:{{{leader|}}}|<tr>
     <label>Capital</label>
     <th>Leader</th>
  </data>
    <td>{{{leader}}}</td>
  <data source="goals">
</tr>}}
     <label>Goals</label>
 
  </data>
{{#if:{{{alignment|}}}|<tr>
  <data source="scope">
     <th>Alignment</th>
     <label>Scope</label>
    <td>{{{alignment}}}</td>
  </data>
</tr>}}
  <data source="structure">
 
     <label>Structure</label>
{{#if:{{{headquarters|}}}|<tr>
  </data>
     <th>Headquarters</th>
  <data source="members">
    <td>{{{headquarters}}}</td>
     <label>Members</label>
</tr>}}
  </data>
 
  <data source="status">
{{#if:{{{goals|}}}|<tr>
     <label>Status</label>
     <th>Goals</th>
  </data>
    <td>{{{goals}}}</td>
</infobox>
</tr>}}
 
{{#if:{{{languages|}}}|<tr>
     <th>Languages</th>
    <td>{{{languages}}}</td>
</tr>}}
 
{{#if:{{{scope|}}}|<tr>
     <th>Scope</th>
    <td>{{{scope}}}</td>
</tr>}}
 
{{#if:{{{structure|}}}|<tr>
     <th>Structure</th>
    <td>{{{structure}}}</td>
</tr>}}
 
{{#if:{{{members|}}}|<tr>
     <th>Members</th>
    <td>{{{members}}}</td>
</tr>}}
 
{{#if:{{{status|}}}|<tr>
     <th>Status</th>
    <td>{{{status}}}</td>
</tr>}}
 
</table>
</div>

Latest revision as of 01:28, 9 May 2024