Difference between revisions of "Template:Organisation"

Template page
m
(Updating template to the current standard. Cleaning up the category tags. Building an example for future users.)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
|-
    {{!}}-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
    {{!}} 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|}}}|
{{#if: {{{founded|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Founded
{{!}} class="ibleft" {{!}} Founded
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{founded}}} }}
{{{founded}}} }}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
{{!}} class="ibleft" {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{affiliation}}} }}
{{{affiliation}}} }}
|-
|-
{{#if: {{{headquarters|}}}|
{{#if: {{{headquarters|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Headquarters
{{!}} class="ibleft" {{!}} Headquarters
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{headquarters}}} }}
{{{headquarters}}} }}
|-
|-
{{#if: {{{primary mission|}}}|
{{#if: {{{primary mission|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Primary Mission
{{!}} class="ibleft" {{!}} Primary Mission
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{primary mission}}} }}
{{{primary mission}}} }}
|-
|-
{{#if: {{{location|}}}|
{{#if: {{{location|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Location
{{!}} class="ibleft" {{!}} Location
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{location}}} }}
{{{location}}} }}
|-
|-
{{#if: {{{leadership|}}}|
{{#if: {{{leadership|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Leadership
{{!}} class="ibleft" {{!}} Leadership
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{leadership}}}}}
{{{leadership}}}}}
|-
|-
{{#if: {{{motto|}}}|
{{#if: {{{motto|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Motto
{{!}} class="ibleft" {{!}} Motto
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{motto}}} }}
{{{motto}}} }}
|-
|-
{{#if: {{{flagship|}}}|
{{#if: {{{flagship|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Flagship
{{!}} class="ibleft" {{!}} Flagship
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{flagship}}} }}
{{{flagship}}} }}
|-
|-
{{#if: {{{status|}}}|
{{#if: {{{status|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Status
{{!}} class="ibleft" {{!}} Status
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{status}}} }}
{{{status}}} }}
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|-  
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Organisation]]
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Organisation]]
|}</div>
|}</div>
[[Category:Organisation]]
<includeonly>
<noinclude>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Organisation]]{{DEFAULTSORT:{{{name}}}}}
<br clear=all>
}}
</includeonly><noinclude>
==Organisation==
<pre>
<pre>
{{Organisation
{{Organisation
|name=
| name =  
|image=
| image =  
|founded=
| founded =  
|affiliation=
| affiliation =  
|headquarters=
| headquarters = Where is the organisation headquartered
|primary mission=
| primary mission =  
|location=
| location = What is the area of operations for the organisation
|leadership=
| leadership =  
|flagship=
| flagship =  
|motto=
| motto =  
|status=
| status =  
}}</pre>
}}</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]
==Example==
{{Organisation
| name = Totally Legitimate Salvage Operators
| image =
| founded = 2399
| affiliation = [[Starfleet]] (loosely)
| headquarters = [[SS Vondem Rose]]
| primary mission = *Starfleet salvage operators
*Colonial development
*Discreet cargo operations
*Property liberation and acquistion
| location = *Archanis Sector
*Romulan border territories
| leadership =
*CEO - Sidda Sadovu
*CFO - Na'roq
| flagship = [[SS Vondem Rose]]
| motto = "I'd like to speak to my lawyer."
| status = Active
| templatemode = nocats
}}
The following code generates the infobox to the right.
<pre>
{{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
| flagship = [[SS Vondem Rose]]
| motto = "I'd like to speak to my lawyer."
| status = Active
}}
</pre>
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Revision as of 07:13, 16 July 2022

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 = 
| flagship = 
| motto = 
| status = 
}}

Example

Totally Legitimate Salvage Operators
Founded

2399

Affiliation

Starfleet (loosely)

Headquarters

SS Vondem Rose

Primary Mission
  • Starfleet salvage operators
  • Colonial development
  • Discreet cargo operations
  • Property liberation and acquistion
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

Template:Organisation


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
| flagship = [[SS Vondem Rose]]
| motto = "I'd like to speak to my lawyer."
| status = Active
}}