Difference between revisions of "Template:Organisation"

Template page
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0;
<infobox theme="bravo">
{{#if: {{{image|}}}|
<title source="name">
{{!}} 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}}} }}
    <default>{{pagename}}</default><format>{{{name|}}}</format>
|-
</title>
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
<image source="image"/>
|-
<data source="founded"><label>Founded</label><format>{{{founded}}}</format></data>
{{#if: {{{founded|}}}|
<data source="affiliation"><label>Affiliation(s)</label><format>{{{affiliation}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Founded
<data source="headquarters"><label>Headquarters</label><format>{{{headquarters}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="primary mission"><label>Primary Mission</label><format>{{{primary mission}}}</format></data>
{{{founded}}} }}
<data source="location"><label>Location</label><format>{{{location}}}</format></data>
|-
<data source="leadership"><label>Leadership</label><format>{{{leadership}}}</format></data>
{{#if: {{{affiliation|}}}|
<data source="motto"><label>Motto</label><format>{{{motto}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
<data source="flagship"><label>Flagship</label><format>{{{flagship}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="status"><label>Status</label><format>{{{status}}}</format></data>
{{{affiliation}}} }}
<header name="footer">[[Template:Organisation]]</header>
|-
</infobox>
{{#if: {{{headquarters|}}}|
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Organisation]]}}
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Headquarters
</includeonly>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<noinclude>
{{{headquarters}}} }}
==Organisation==
|-
{{#if: {{{primary mission|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Primary Mission
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{primary mission}}} }}
|-
{{#if: {{{location|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Location
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{location}}} }}
|-
{{#if: {{{leadership|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Leadership
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{leadership}}}}}
|-
{{#if: {{{motto|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Motto
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{motto}}} }}
|-
{{#if: {{{flagship|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Flagship
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{flagship}}} }}
|-
{{#if: {{{status|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Status
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{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]]
|}</div>
<includeonly>[[Category:Organisation]][[Category:{{{leadership}}}]]
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly><noinclude>
<br clear=all>
<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=
| motto =  
|motto=
| flagship =  
|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
| motto = "I'd like to speak to my lawyer."
| flagship = [[SS Vondem Rose]]
| 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
| motto = "I'd like to speak to my lawyer."
| flagship = [[SS Vondem Rose]]
| status = Active
}}
</pre>
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Latest revision as of 02:43, 15 November 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
}}