Template:OrganizationInfobox: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<div class="infobox">
{{Infobox
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
| title    = {{{name|{{PAGENAME}}}}}
 
| image    = {{#if:{{{image|}}}|[[File:{{{image|}}}|300px]]}}
{{#if:{{{image|}}}|
| caption = {{{image_desc|}}}
<div class="infobox-image">[[File:{{{image}}}|300px]]
| image2    = {{#if:{{{image2|}}}|[[File:{{{image2|}}}|300px]]}}
{{#if:{{{image_desc|}}}|
| caption2 = {{{image2_desc|}}}
<i>{{{image_desc}}}</i>
|header1 =
| label1 = Type
|  data1 = {{{type|}}}
| label2 = Leader
|  data2 = {{{leader|}}}
| label3 = Alignment
|  data3 = {{{alignment|}}}
| label5 = Headquarters
|  data5 = {{{headquarters|}}}
| label6 = Goals
|  data6 = {{{goals|}}}
| label7 = Scope
|  data7 = {{{scope|}}}
| label8 = Structure
|  data8 = {{{structure|}}}
| label9 = Members
|  data9 = {{{members|}}}
| label10 = Status
|  data10 = {{{status|}}}
}}
}}
</div>}}
{{#if:{{{image2|}}}|
<div class="infobox-image">[[File:{{{image2}}}|300px]]
{{#if:{{{image2_desc|}}}|
<i>{{{image2_desc}}}</i>
}}
</div>}}
<table>
{{#if:{{{type|}}}|<tr>
    <th>Type</th>
    <td>{{{type}}}</td>
</tr>}}
{{#if:{{{leader|}}}|<tr>
    <th>Leader</th>
    <td>{{{leader}}}</td>
</tr>}}
{{#if:{{{alignment|}}}|<tr>
    <th>Alignment</th>
    <td>{{{alignment}}}</td>
</tr>}}
{{#if:{{{headquarters|}}}|<tr>
    <th>Headquarters</th>
    <td>{{{headquarters}}}</td>
</tr>}}
{{#if:{{{goals|}}}|<tr>
    <th>Goals</th>
    <td>{{{goals}}}</td>
</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>

Revision as of 16:44, 28 July 2022