Template:Organisation: Difference between revisions
Template page
More actions
mNo edit summary |
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"> | ||
{| | {| class="ibtable" align="right" cellpadding="3" cellspacing="0" | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} colspan="2" | {{!}} 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|}}}| | {{#if: {{{founded|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Founded | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{founded}}} }} | {{{founded}}} }} | ||
|- | |- | ||
{{#if: {{{affiliation|}}}| | {{#if: {{{affiliation|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Affiliation | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{affiliation}}} }} | {{{affiliation}}} }} | ||
|- | |- | ||
{{#if: {{{headquarters|}}}| | {{#if: {{{headquarters|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Headquarters | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{headquarters}}} }} | {{{headquarters}}} }} | ||
|- | |- | ||
{{#if: {{{primary mission|}}}| | {{#if: {{{primary mission|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Primary Mission | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{primary mission}}} }} | {{{primary mission}}} }} | ||
|- | |- | ||
{{#if: {{{location|}}}| | {{#if: {{{location|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Location | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{location}}} }} | {{{location}}} }} | ||
|- | |- | ||
{{#if: {{{leadership|}}}| | {{#if: {{{leadership|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Leadership | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{leadership}}}}} | {{{leadership}}}}} | ||
|- | |- | ||
{{#if: {{{motto|}}}| | {{#if: {{{motto|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Motto | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{motto}}} }} | {{{motto}}} }} | ||
|- | |- | ||
{{#if: {{{flagship|}}}| | {{#if: {{{flagship|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Flagship | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{flagship}}} }} | {{{flagship}}} }} | ||
|- | |- | ||
{{#if: {{{status|}}}| | {{#if: {{{status|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Status | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{status}}} }} | {{{status}}} }} | ||
|- class=" | |- | ||
| 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}}}}} | ||
}} | |||
</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 | ==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
| {{{name}}} | |
| Template:Organisation |
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 | |
| Primary Mission |
|
| Location |
|
| Leadership |
|
| Motto |
"I'd like to speak to my lawyer." |
| Flagship | |
| 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
}}