Template:Organization: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
|Facebook= | |Facebook= | ||
|Twitter= | |Twitter= | ||
|LinkedIn= | |||
|Flickr= | |Flickr= | ||
|YouTube= | |YouTube= | ||
| | |Image= | ||
|Type= | |Type= | ||
|Division= | |Division= | ||
Line 33: | Line 34: | ||
|Child= | |Child= | ||
|Partner= | |Partner= | ||
|Text_Body= | |||
|Article= | |Article= | ||
|Poster= | |Poster= | ||
| | |Posted= | ||
}} | }} | ||
</pre> | </pre> | ||
{{#cargo_declare:_table=Organization|Name=String|Abbreviation=String|Website=URL|Focus= | {{#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|}}}|Flickr={{{Flickr|}}}|YouTube={{{YouTube|}}}| | </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" /> | <templatestyles src="Organization/styles.css" /> | ||
<div class="irlbody irlorg"> | <div class="irlbody irlorg"> | ||
{{#ifeq:{{NAMESPACE}} | Unit | {{IRL header|cat=Organization|toc=no}} }} | __NOTOC__ | ||
<!-- {{#ifeq:{{NAMESPACE}} | Unit | {{IRL header|cat=Organization|toc=no}} }} --> | |||
<div class="irlorgtop"> | <div class="irlorgtop"> | ||
<div class="irlorgname"><h2>{{{Name|}}}{{#if:{{{Abbreviation|}}}| ({{{Abbreviation|}}}) }}</h2></div> | <div class="irlorgname"><h2>{{{Name|}}}{{#if:{{{Abbreviation|}}}| ({{{Abbreviation|}}}) }}</h2></div> | ||
{{#if:{{{ | {{#if:{{{Image|}}}|<div class="irlimageright">[[File:{{{Image|}}}|128px|frameless|right|{{{Name|}}}|link={{{Website|}}}]]</div> }} | ||
{{#if:{{{Description|}}}|<div class="irlorgdesc" | {{#if:{{{Description|}}}|<div class="irlorgdesc">{{{Description|}}}</div> }} | ||
</div> | </div> | ||
<div class="irlorgmiddle"> | <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:{{{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"> | <div class="irlorgorder"> | ||
<h3 class="irlorgtitle">Hierarchy</h3> | <h3 class="irlorgtitle">Hierarchy</h3> | ||
<div class="irlorgtype">{{#arraymap:{{{Type|}}}|;|x| x Organization |\s}}</div> | <div class="irlorgtype">{{#arraymap:{{{Type|}}}|;|x| x Organization |\s}}</div> | ||
{{#if:{{{Division|}}} | <div class="irlorgdivision">{{#arraymap:{{{Division|}}}|;|x|x | {{#if:{{{Division|}}} | <div class="irlorgdivision">{{#arraymap:{{{Division|}}}|;|x|x|;\s }}</div> }} | ||
{{#varexists:divisionall | <div class="irlorgdivision">{{#arraymap:{{#var:divisionall}}|;|x|x|;\s }}</div> }} | |||
</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> }} | {{#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> }} | ||
Line 72: | Line 73: | ||
</div> | </div> | ||
<div class="irlorgsocial"> | <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:{{{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> }} | {{#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> | </div></div> | ||
{{#if:{{{Text_Body|}}}|<div class="irlorgtextbody">{{{Text_Body|}}}</div>}} | |||
</div> | </div> | ||
{{#ifeq: {{NAMESPACE}} | Unit | {{IRL_notice_unit}}{{IRL footer|cat=Organization}} }} | {{#ifeq: {{NAMESPACE}} | Unit | {{IRL_notice_unit}}<!-- {{IRL footer|cat=Organization}} --> }} | ||
</div> | </div> | ||
{{#ifeq:{{NAMESPACE}} | Unit | {{#default_form:Organization}} }} | {{#ifeq:{{NAMESPACE}} | Unit | {{#default_form:Organization}} }} | ||
</includeonly> | </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.