Template:Organization: Difference between revisions
From Indian River Lagoon Project
en>Admin No edit summary |
mNo edit summary |
||
(114 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the "Organization" template. | |||
It should be invoked using the [[Form:Organization|Organization form]]. | |||
<pre> | |||
{{Organization | |||
|Name= | |||
|Abbreviation= | |||
|Website= | |||
|Focus= | |||
|Region= | |||
|Founded= | |||
|Statement= | |||
|Description= | |||
|Street= | |||
|City= | |||
|State= | |||
|Country= | |||
|Zip= | |||
|County= | |||
|Email= | |||
|Phone= | |||
|ShowMap= | |||
|Coordinates= | |||
|Facebook= | |||
|Twitter= | |||
|LinkedIn= | |||
|Flickr= | |||
|YouTube= | |||
|Image= | |||
|Type= | |||
|Division= | |||
|Parent= | |||
|Child= | |||
|Partner= | |||
|Text_Body= | |||
|Article= | |||
|Poster= | |||
|Posted= | |||
}} | |||
</pre> | |||
{{#cargo_declare:_table=Organization|Name=String|Abbreviation=String|Website=URL|Focus=String|Region=String|Founded=Year|Statement=String|Description=Wikitext|Street=String|City=String|State=String|Country=String|Zip=Integer|County=String|Email=Email|Phone=String|ShowMap=Boolean|Coordinates=Coordinates|Facebook=URL|Twitter=URL|LinkedIn=URL|Flickr=URL|YouTube=URL|Image=File|Type=String|Division=List (;) of String|Parent=String|Child=List (;) of String|Partner=List (;) of String|Text_Body=Wikitext|Article=Page|Poster=String|Posted=String}} | |||
</noinclude><includeonly>{{#vardefine:division|{{{Academia Division|}}}{{{Business Division|}}}{{{NonProfit Division|}}}{{{Private Division|}}}{{{Research Institute Division|}}}{{{Government Division|}}}{{{New Division|}}} }}{{#vardefine:division2|{{{US Division2|}}}{{{FL Division2|}}}{{{County Division2|}}}{{{City Division2|}}} }}{{#vardefine:division3|{{{US Executive|}}}{{{US Legislative|}}}{{{US Judicial|}}}{{{FL Executive|}}}{{{FL Legislative|}}}{{{FL Judicial|}}}{{{County Division3|}}}{{{City Division3|}}} }}{{#vardefine:division4|{{{US Division4|}}}{{{FL Division4|}}}{{{County Division4|}}}{{{City Division4|}}} }}{{#vardefine:division5|{{{US Division5|}}}{{{FL Division5|}}}{{{County Division5|}}}{{{City Division5|}}} }}{{#vardefine:division6|{{{US Division6|}}}{{{FL Division6|}}}{{{County Division6|}}}{{{City Division6|}}} }}{{#vardefine:divisionall| {{#var:division}}; {{#varexists:division2 | {{#var:division2}}; }} {{#varexists:division3 | {{#var:division3}}; }} {{#varexists:division4 | {{#var:division4}}; }} {{#varexists:division5 | {{#var:division5}}; }} {{#varexists:division6 | {{#var:division6}} }} }}{{#cargo_store:_table=Organization|Name={{{Name|}}}|Abbreviation={{{Abbreviation|}}}|Website={{{Website|}}}|Focus={{{Focus|}}}|Region={{{Region|}}}|Founded={{{Founded|}}}|Statement={{{Statement|}}}|Description={{{Description|}}}|Street={{{Street|}}}|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}|Zip={{{Zip|}}}|County={{{County|}}}|Email={{{Email|}}}|Phone={{{Phone|}}}|ShowMap={{{ShowMap|}}}|Coordinates={{{Coordinates|}}}|Facebook={{{Facebook|}}}|Twitter={{{Twitter|}}}|LinkedIn={{{LinkedIn|}}}|Flickr={{{Flickr|}}}|YouTube={{{YouTube|}}}|Image={{{Image|}}}|Type={{{Type|}}}|Division={{#var:division}}|Parent={{{Parent|}}}|Child={{{Child|}}}|Partner={{{Partner|}}}|Text_Body={{{Text_Body|}}}|Article={{{Article|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }} | |||
<templatestyles src="Organization/styles.css" /> | |||
<div class="irlbody irlorg"> | |||
__NOTOC__ | |||
<!-- {{#ifeq:{{NAMESPACE}} | Unit | {{IRL header|cat=Organization|toc=no}} }} --> | |||
<div class="irlorgtop"> | |||
<div class="irlorgname"><h2>{{{Name|}}}{{#if:{{{Abbreviation|}}}| ({{{Abbreviation|}}}) }}</h2></div> | |||
{{#if:{{{Image|}}}|<div class="irlimageright">[[File:{{{Image|}}}|128px|frameless|right|{{{Name|}}}|link={{{Website|}}}]]</div> }} | |||
{{#if:{{{Description|}}}|<div class="irlorgdesc">{{{Description|}}}</div> }} | |||
</div> | |||
<div class="irlorgmiddle"> | |||
{{#if:{{{Statement|}}}|<div class="irlorgstatement"><p>{{{Statement|}}}</p></div> }}{{#if:{{{Focus|}}}|<div class="irlorgfocus">Focus: {{#arraymap:{{{Focus|}}}|;|x|x| }}</div> }}{{#if:{{{Region|}}}|<div class="irlorgregion">Region: {{#arraymap:{{{Region|}}}|;|x|x }}</div> }}{{#if:{{{Founded|}}}|<div class="irlorgfounded">Founded: {{{Founded|}}}</div> }} {{#if:{{{Article|}}}|<div class="irlorgarticle">See Also: [[{{{Article|}}}|{{{Article|}}}]]</div> }} | |||
<div class="irlorgorder"> | |||
<h3 class="irlorgtitle">Hierarchy</h3> | |||
<div class="irlorgtype">{{#arraymap:{{{Type|}}}|;|x| x Organization |\s}}</div> | |||
{{#if:{{{Division|}}} | <div class="irlorgdivision">{{#arraymap:{{{Division|}}}|;|x|x|;\s }}</div> }} | |||
{{#varexists:divisionall | <div class="irlorgdivision">{{#arraymap:{{#var:divisionall}}|;|x|x|;\s }}</div> }} | |||
</div> | |||
{{#if:{{{Parent|}}}{{{Child|}}}{{{Partner|}}}|<div class="irlorgaffiliate"><h3>Affiliations</h3>{{#if:{{{Parent|}}}|<p class="irlorgparent">'''Parent Organizations:''' {{#arraymap:{{{Parent|}}}|;|x|x|;\s}}</p> }}{{#if:{{{Child|}}}|<p class="irlorgchild">'''Subsidiaries:''' {{#arraymap:{{{Child|}}}|;|x|x|;\s}}</p> }}{{#if:{{{Partner|}}}|<p class="irlorgpartner">'''Partners:''' {{#arraymap:{{{Partner|}}}|;|x|x|;\s}}</p> }}</div> }} | |||
</div> | |||
<div class="irlorgcontact"> | |||
<h3>Contact</h3> | |||
{{#if:{{{ShowMap|}}}| {{#if:{{{Coordinates|}}}| <div class="irlorgmap">{{#cargo_display_map:point= {{{Coordinates|}}}|service=googlemaps|width=400px|height=310px|zoom=14 }}</div> }} }} | |||
<div class="irlorgname">{{{Name|}}}</div> | |||
{{#if:{{{Street|}}}|<div class="irlorgadd">{{{Street|}}}</div> }} | |||
{{#if:{{{City|}}}{{{State|}}}|<div class="irlorgadd">{{{City|}}}, {{{State|}}} {{{Zip|}}}</div> }}{{#if:{{{County|}}}|<div class="irlorgadd"><span class="irlorgcounty">County: {{{County|}}}</span></div> }}{{#ifeq:{{{Country|}}}|United States| |<div class="irlorgadd"><span class="irlorgcountry">Country: {{{Country|}}}</span></div> }} | |||
{{#if:{{{Phone|}}}|<div class="irlorgadd"><span class="irlorgphone">Phone:</span> {{{Phone|}}}</div> }} | |||
{{#if:{{{Email|}}}|<div class="irlorgadd"><span class="irlorgemail">Email:</span> {{{Email|}}}</div> }} | |||
{{#if:{{{Website|}}}|<div class="irlorgadd"><span class="irlorgwebsite">Website: {{{Website|}}}</span> | |||
</div> }} | |||
</div> | |||
<div class="irlorgsocial"> | |||
{{#if:{{{Facebook|}}}|<span class="irlorgicon">[[File:Icon-facebook.png|32px|Facebook|link={{{Facebook|}}}]]</span> }} {{#if:{{{Twitter|}}}|<span class="irlorgicon">[[File:Icon-twitter.png|32px|Twitter|link={{{Twitter|}}}]]</span> }} {{#if:{{{LinkedIn|}}}|<span class="irlorgicon">[[File:Icon-linkedin.png|32px|LinkedIn|link={{{LinkedIn|}}}]]</span> }} {{#if:{{{Flickr|}}}|<span class="irlorgicon">[[File:Icon-flickr.png|32px|Flickr|link={{{Flickr|}}}]]</span> }} {{#if:{{{YouTube|}}}|<span class="irlorgicon">[[File:Icon-youtube.png|32px|You_Tube|link={{{YouTube|}}}]]</span> }} | |||
</div></div> | |||
{{#if:{{{Text_Body|}}}|<div class="irlorgtextbody">{{{Text_Body|}}}</div>}} | |||
</div> | |||
{{#ifeq: {{NAMESPACE}} | Unit | {{IRL_notice_unit}}<!-- {{IRL footer|cat=Organization}} --> }} | |||
</div> | |||
{{#ifeq:{{NAMESPACE}} | Unit | {{#default_form:Organization}} }} | |||
</includeonly> |
Latest revision as of 13:31, December 14, 2020
This is the "Organization" template.
It should be invoked using the Organization form.
{{Organization |Name= |Abbreviation= |Website= |Focus= |Region= |Founded= |Statement= |Description= |Street= |City= |State= |Country= |Zip= |County= |Email= |Phone= |ShowMap= |Coordinates= |Facebook= |Twitter= |LinkedIn= |Flickr= |YouTube= |Image= |Type= |Division= |Parent= |Child= |Partner= |Text_Body= |Article= |Poster= |Posted= }}
This template defines the table "Organization". View table.