Template:Org: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (created template)
 
m (fix error in doc)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
{{Infobox Wiki
|-
|image={{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image size|210px}}}]]}}|image text={{{image text|}}}|header color=#CCC000|header text color=white|name={{{name|{{PAGENAME}}}}}}}
|colspan=2 style="text-align:center;" | {{{image}}}
{{Infobox row|type=subheader|color=#ccc999|Organization Data}}
|-
{{Infobox row|title=Affiliation|{{{affiliation|<noinclude>{{{affiliation}}}</noinclude>}}}}}
!colspan=2 bgcolor="#CCC000" style="color:#fff; font-size:larger;" |{{{name}}}
{{Infobox row|title=Purpose(s)|{{{purpose|<noinclude>{{{purpose}}}</noinclude>}}}}}
|-
{{Infobox row|title=Field|{{{field|<noinclude>{{{field}}}</noinclude>}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#ccc999;" | Organization Data
{{Infobox row|title=Location|{{{location|<noinclude>{{{location}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Headquarters|{{{headquarters|<noinclude>{{{headquarters}}}</noinclude>}}}}}
| Affiliation
{{Infobox row|title=Parent Organization|{{{parent|<noinclude>{{{parent}}}</noinclude>}}}}}
| {{{affiliation}}}
{{Infobox row|title=Subsidiaries|{{{subsidiaries|<noinclude>{{{subsidiaries}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Members|{{{members|<noinclude>{{{members}}}</noinclude>}}}}}
| No. of Members
{{Infobox row|title={{{personnel title 1|Personnel<noinclude> 1</noinclude>}}}|{{{personnel 1|<noinclude>{{{personnel 1}}}</noinclude>}}}}}
| {{{members}}}
{{Infobox row|title={{{personnel title 2|Personnel<noinclude> 2</noinclude>}}}|{{{personnel 2|<noinclude>{{{personnel 2}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title={{{personnel title 3|Personnel<noinclude> 3</noinclude>}}}|{{{personnel 3|<noinclude>{{{personnel 3}}}</noinclude>}}}}}
| Leadership Style
{{Infobox row|type=subheader|color=#ccc999|Leadership}}
| {{{type}}}
{{Infobox row|title=Leadership Style|{{{type|<noinclude>{{{type}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Main Organ|{{{main organ|<noinclude>{{{main organ}}}</noinclude>}}}}}
| Leader(s)
{{Infobox row|title=Owner|{{{owner|<noinclude>{{{owner}}}</noinclude>}}}}}
| {{{leader}}}
{{Infobox row|title=Leader|{{{leader|<noinclude>{{{leader}}}</noinclude>}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title={{{leader title 1|Leader<noinclude> 1</noinclude>}}}|{{{leader 1|<noinclude>{{{leader 1}}}</noinclude>}}}}}
| Established
{{Infobox row|title={{{leader title 2|Leader<noinclude> 2</noinclude>}}}|{{{leader 2|<noinclude>{{{leader 2}}}</noinclude>}}}}}
| {{{est}}}
{{Infobox row|title={{{leader title 3|Leader<noinclude> 3</noinclude>}}}|{{{leader 3|<noinclude>{{{leader 3}}}</noinclude>}}}}}
|- style="vertical-align:top;"
{{Infobox row|type=subheader|color=#ccc999|History}}
| Purpose(s)
{{Infobox row|title=Established|{{{est|<noinclude>{{{est}}}</noinclude>}}}}}
| {{{purpose}}}
{{Infobox row|title=Established by|{{{est by|<noinclude>{{{est by}}}</noinclude>}}}}}
{{Infobox row|title=Established at|{{{est at|<noinclude>{{{est at}}}</noinclude>}}}}}
{{Infobox row|title=Founder(s)|{{{founder|<noinclude>{{{founder}}}</noinclude>}}}}}
{{Infobox row|title=Predecessor|{{{predecessor|<noinclude>{{{predecessor}}}</noinclude>}}}}}
{{Infobox row|title=Dissolved|{{{dissolved|<noinclude>{{{dissolved}}}</noinclude>}}}}}
{{Infobox row|title=Dissolved by|{{{dissolved by|<noinclude>{{{dissolved by}}}</noinclude>}}}}}
{{Infobox row|title=Successor|{{{successor|<noinclude>{{{successor}}}</noinclude>}}}}}
|}
|}
<noinclude>
<noinclude>
Line 32: Line 38:
|name=
|name=
|image=
|image=
|image size=
|image text=
|affiliation=
|affiliation=
|purpose=
|field=
|location=
|headquarters=
|parent=
|subsidiaries=
|members=
|members=
|personnel title 1=
|personnel 1=
|personnel title 2=
|personnel 2=
|personnel title 3=
|personnel 3=
|type=
|type=
|main organ=
|owner=
|leader=
|leader=
|leader title 1=
|leader 1=
|leader title 2=
|leader 2=
|leader title 3=
|leader 3=
|est=
|est=
|purpose=
|est by=
|est at=
|founder=
|predecessor=
|dissolved=
|dissolved by=
|successor=
}}</nowiki></pre>
}}</nowiki></pre>


[[Category:Infobox templates|{{PAGENAME}}]]
{{Navbox|TITLE=Template Data|
</noinclude>
<templatedata>
{
"params": {
"image": {
"label": "Image",
"description": "Adds image to the top of the infobox",
"type": "wiki-file-name"
},
"image size": {
"label": "Image size",
"description": "Size of the top image",
"type": "line",
"default": "210px"
},
"image text": {
"label": "Image text",
"description": "A short description of the top image in smaller font",
"type": "content"
},
"name": {
"label": "Name",
"description": "Name of the organization",
"type": "line",
"suggested": true
},
"affiliation": {
"label": "Affiliation",
"description": "Relation to factions or other organizations",
"type": "content"
},
"members": {
"label": "Members",
"description": "Number of members in the organization",
"type": "content"
},
"type": {
"label": "Leadership Type",
"description": "How the organization is governed",
"type": "content"
},
"leader": {
"label": "Leader(s)",
"description": "Who lead the organization",
"type": "content"
},
"est": {
"label": "Established",
"description": "Date or year of establishment",
"type": "content"
},
"purpose": {
"label": "Purpose(s)",
"description": "What the organization works for",
"type": "content"
}
},
"description": "Infobox for organizations",
"format": "block"
}
</templatedata>}}
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:14, 28 May 2024

Org
Organization Data
Affiliation {{{affiliation}}}
Purpose(s) {{{purpose}}}
Field {{{field}}}
Location {{{location}}}
Headquarters {{{headquarters}}}
Parent Organization {{{parent}}}
Subsidiaries {{{subsidiaries}}}
Members {{{members}}}
Personnel 1 {{{personnel 1}}}
Personnel 2 {{{personnel 2}}}
Personnel 3 {{{personnel 3}}}
Leadership
Leadership Style {{{type}}}
Main Organ {{{main organ}}}
Owner {{{owner}}}
Leader {{{leader}}}
Leader 1 {{{leader 1}}}
Leader 2 {{{leader 2}}}
Leader 3 {{{leader 3}}}
History
Established {{{est}}}
Established by {{{est by}}}
Established at {{{est at}}}
Founder(s) {{{founder}}}
Predecessor {{{predecessor}}}
Dissolved {{{dissolved}}}
Dissolved by {{{dissolved by}}}
Successor {{{successor}}}

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{org
|name=
|image=
|image size=
|image text=
|affiliation=
|purpose=
|field=
|location=
|headquarters=
|parent=
|subsidiaries=
|members=
|personnel title 1=
|personnel 1=
|personnel title 2=
|personnel 2=
|personnel title 3=
|personnel 3=
|type=
|main organ=
|owner=
|leader=
|leader title 1=
|leader 1=
|leader title 2=
|leader 2=
|leader title 3=
|leader 3=
|est=
|est by=
|est at=
|founder=
|predecessor=
|dissolved=
|dissolved by=
|successor=
}}
Template Data

Infobox for organizations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Adds image to the top of the infobox

Fileoptional
Image sizeimage size

Size of the top image

Default
210px
Lineoptional
Image textimage text

A short description of the top image in smaller font

Contentoptional
Namename

Name of the organization

Linesuggested
Affiliationaffiliation

Relation to factions or other organizations

Contentoptional
Membersmembers

Number of members in the organization

Contentoptional
Leadership Typetype

How the organization is governed

Contentoptional
Leader(s)leader

Who lead the organization

Contentoptional
Establishedest

Date or year of establishment

Contentoptional
Purpose(s)purpose

What the organization works for

Contentoptional