Difference between revisions of "Template:Organisation"

Template page
(Updating template to the current standard. Cleaning up the category tags. Building an example for future users.)
m (Bringing up to scratch)
 
Line 1: Line 1:
<div class="infobox">
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
|-
{{#if: {{{founded|}}}|
{{!}} class="ibleft" {{!}} Founded
{{!}} class="ibright" {{!}}
{{{founded}}} }}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}
{{{affiliation}}} }}
|-
{{#if: {{{headquarters|}}}|
{{!}} class="ibleft" {{!}} Headquarters
{{!}} class="ibright" {{!}}
{{{headquarters}}} }}
|-
{{#if: {{{primary mission|}}}|
{{!}} class="ibleft" {{!}} Primary Mission
{{!}} class="ibright" {{!}}
{{{primary mission}}} }}
|-
{{#if: {{{location|}}}|
{{!}} class="ibleft" {{!}} Location
{{!}} class="ibright" {{!}}
{{{location}}} }}
|-
{{#if: {{{leadership|}}}|
{{!}} class="ibleft" {{!}} Leadership
{{!}} class="ibright" {{!}}
{{{leadership}}}}}
|-
{{#if: {{{motto|}}}|
{{!}} class="ibleft" {{!}} Motto
{{!}} class="ibright" {{!}}
{{{motto}}} }}
|-
{{#if: {{{flagship|}}}|
{{!}} class="ibleft" {{!}} Flagship
{{!}} class="ibright" {{!}}
{{{flagship}}} }}
|-
{{#if: {{{status|}}}|
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibright" {{!}}
{{{status}}} }}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Organisation]]
|}</div>
<includeonly>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Organisation]]{{DEFAULTSORT:{{{name}}}}}
<infobox theme="bravo">
<title source="name">
    <default>{{pagename}}</default><format>{{{name|}}}</format>
</title>
<image source="image"/>
<data source="founded"><label>Founded</label><format>{{{founded}}}</format></data>
<data source="affiliation"><label>Affiliation(s)</label><format>{{{affiliation}}}</format></data>
<data source="headquarters"><label>Headquarters</label><format>{{{headquarters}}}</format></data>
<data source="primary mission"><label>Primary Mission</label><format>{{{primary mission}}}</format></data>
<data source="location"><label>Location</label><format>{{{location}}}</format></data>
<data source="leadership"><label>Leadership</label><format>{{{leadership}}}</format></data>
<data source="motto"><label>Motto</label><format>{{{motto}}}</format></data>
<data source="flagship"><label>Flagship</label><format>{{{flagship}}}</format></data>
<data source="status"><label>Status</label><format>{{{status}}}</format></data>
<header name="footer">[[Template:Organisation]]</header>
</infobox>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Organisation]]
}}
}}
</includeonly><noinclude>
</includeonly>
<noinclude>
==Organisation==
==Organisation==
<pre>
<pre>
Line 70: Line 31:
| location = What is the area of operations for the organisation
| location = What is the area of operations for the organisation
| leadership =  
| leadership =  
| motto =
| flagship =  
| flagship =  
| motto =
| status =  
| status =  
}}</pre>
}}</pre>
Line 90: Line 51:
*CEO - Sidda Sadovu
*CEO - Sidda Sadovu
*CFO - Na'roq
*CFO - Na'roq
| motto = "I'd like to speak to my lawyer."
| flagship = [[SS Vondem Rose]]
| flagship = [[SS Vondem Rose]]
| motto = "I'd like to speak to my lawyer."
| status = Active
| status = Active
| templatemode = nocats
| templatemode = nocats
Line 109: Line 70:
*CEO - Sidda Sadovu
*CEO - Sidda Sadovu
*CFO - Na'roq
*CFO - Na'roq
| motto = "I'd like to speak to my lawyer."
| flagship = [[SS Vondem Rose]]
| flagship = [[SS Vondem Rose]]
| motto = "I'd like to speak to my lawyer."
| status = Active
| status = Active
}}
}}

Latest revision as of 02:08, 18 August 2024


Organisation

{{Organisation
| name = 
| image = 
| founded = 
| affiliation = 
| headquarters = Where is the organisation headquartered
| primary mission = 
| location = What is the area of operations for the organisation
| leadership = 
| motto = 
| flagship = 
| status = 
}}

Example


The following code generates the infobox to the right.

{{Organisation
| name = Totally Legitimate Salvage Operators
| image = 
| founded = 2399
| affiliation = [[Starfleet]] (loosely)
| headquarters = [[SS Vondem Rose]]
| primary mission = Starfleet salvage operators
| location = *Archanis Sector
*Romulan border territories
| leadership = 
*CEO - Sidda Sadovu
*CFO - Na'roq
| motto = "I'd like to speak to my lawyer."
| flagship = [[SS Vondem Rose]]
| status = Active
}}