GaryJJSpate (talk | contribs) m GaryJJSpate moved page Template:OrganisationInfobox to Template:InfoboxOrganisation without leaving a redirect |
GaryJJSpate (talk | contribs) Removed redirect to Template:InfoboxOrganisation Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
# | <includeonly><div class="vault-infobox"><div class="vault-infobox-header" style="background:#355834;">{{{name}}}</div>{{#if:{{{image|}}}|<div class="vault-infobox-image">[[File:{{{image}}}|280px]]{{#if:{{{image_caption|}}}|<div class="vault-infobox-caption">{{{image_caption}}}</div>}}</div>}}{{#if:{{{type|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">TYPE</span><span class="vault-infobox-v">{{{type}}}</span></div>}}{{#if:{{{founded|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">FOUNDED</span><span class="vault-infobox-v">{{{founded}}}</span></div>}}{{#if:{{{founders|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">FOUNDERS</span><span class="vault-infobox-v">{{{founders}}}</span></div>}}{{#if:{{{location|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">LOCATION</span><span class="vault-infobox-v">{{{location}}}</span></div>}}{{#if:{{{known_for|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">KNOWN FOR</span><span class="vault-infobox-v">{{{known_for}}}</span></div>}}{{#if:{{{status|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STATUS</span><span class="vault-infobox-v vault-infobox-status">{{{status}}}</span></div>}}</div></includeonly><noinclude> | ||
== Template:InfoboxOrganisation == | |||
Renders the right-hand infobox card on a page about an organisation, company, research group, society, production house or investigative organisation. | |||
Formerly named '''Template:OrganisationInfobox''' — that name now redirects here. Please use <code>{{tl|InfoboxOrganisation}}</code> going forward. | |||
Uses the same <code>vault-infobox</code> styling as {{tl|InfoboxCase}} and other Vault infobox templates. | |||
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals. | |||
'''Important formatting notes:''' | |||
* Every row must stay entirely on a single line within its <code>{{#if:}}</code> block — never split a <code><div></code>/<code><span></code> row across multiple lines, or MediaWiki's parser will auto-wrap it in a stray <code><p></code> tag and break the two-column grid layout. | |||
* There must also be '''no newlines between rows''' — every <code>{{#if:}}</code> block must run directly into the next with no line break at all. If an optional field like <code>location</code> is left blank, its block evaluates to nothing, but a newline sitting on either side of that blank output still reads as a blank line to MediaWiki and renders as an empty paragraph — visible dead space wherever a field is omitted. Keeping the whole infobox body as one unbroken line guarantees a skipped field leaves nothing behind. | |||
* If editing this template, keep it as one continuous line to avoid reintroducing either issue. | |||
'''Usage:''' | |||
<pre> | |||
{{InfoboxOrganisation | |||
|name=Princeton Engineering Anomalies Research | |||
|image=PEAR Laboratory.jpg | |||
|image_caption=Princeton Engineering Anomalies Research | |||
|type=University research laboratory | |||
|founded=1979 | |||
|founders=Robert G. Jahn | |||
|location=Princeton University, New Jersey, USA | |||
|known_for=Research into mind–matter interaction and random event generators | |||
|status=Closed (2007) | |||
}} | |||
</pre> | |||
Place this at the very top of the page, before the article text. | |||
=== Parameters === | |||
* '''name''' — required | |||
* '''image''' — optional. Filename of an uploaded image (without <code>File:</code>) | |||
* '''image_caption''' — optional. Caption shown below the image | |||
* '''type''' — recommended | |||
* '''founded''' — recommended. Year or full date | |||
* '''founders''' — recommended | |||
* '''location''' — optional. Headquarters, institution or base location | |||
* '''known_for''' — recommended | |||
* '''status''' — recommended. e.g. Active, Defunct, Dissolved, Closed | |||
[[Category:Infoboxes]] | |||
</noinclude> | |||
Latest revision as of 23:36, 3 August 2026
Template:InfoboxOrganisation
Renders the right-hand infobox card on a page about an organisation, company, research group, society, production house or investigative organisation.
Formerly named Template:OrganisationInfobox — that name now redirects here. Please use going forward.
Uses the same {{InfoboxOrganisation}}vault-infobox styling as {{InfoboxCase}} and other Vault infobox templates.
Note: requires the ParserFunctions extension for the conditionals.
Important formatting notes:
- Every row must stay entirely on a single line within its
block — never split a<div>/<span>row across multiple lines, or MediaWiki's parser will auto-wrap it in a stray<p>tag and break the two-column grid layout. - There must also be no newlines between rows — every
block must run directly into the next with no line break at all. If an optional field likelocationis left blank, its block evaluates to nothing, but a newline sitting on either side of that blank output still reads as a blank line to MediaWiki and renders as an empty paragraph — visible dead space wherever a field is omitted. Keeping the whole infobox body as one unbroken line guarantees a skipped field leaves nothing behind. - If editing this template, keep it as one continuous line to avoid reintroducing either issue.
Usage:
{{InfoboxOrganisation
|name=Princeton Engineering Anomalies Research
|image=PEAR Laboratory.jpg
|image_caption=Princeton Engineering Anomalies Research
|type=University research laboratory
|founded=1979
|founders=Robert G. Jahn
|location=Princeton University, New Jersey, USA
|known_for=Research into mind–matter interaction and random event generators
|status=Closed (2007)
}}
Place this at the very top of the page, before the article text.
Parameters
- name — required
- image — optional. Filename of an uploaded image (without
File:) - image_caption — optional. Caption shown below the image
- type — recommended
- founded — recommended. Year or full date
- founders — recommended
- location — optional. Headquarters, institution or base location
- known_for — recommended
- status — recommended. e.g. Active, Defunct, Dissolved, Closed
