Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
m (Formatting.)
 
(154 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
|Organization Type=
 
|Organization Type=
 
|Open or Free Statement=
 
|Open or Free Statement=
|OER Statement=
 
 
|License provider=
 
|License provider=
 
|License short name=
 
|License short name=
Line 22: Line 21:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<div style="width: 100%;  color: #F9F9F9; padding:5px;" />'''[[ODEPO | ODEPO Home]]''' :: '''[http://wiki.creativecommons.org/Special:BrowseData/Organization?_single Browse ODEPO]'''  ::  '''[[ODEPO_FAQ | FAQ]]''' :: '''[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} <span style="color: #d60000;">Edit this page</span>]''' :: '''[{{fullurl:Special:ExportRDF/{{PAGENAME}}}} <span style="color: #d60000;">Export to RDF</span>]'''
 
</div>
 
 
<!--__NOFACTBOX__-->
 
<!--__NOFACTBOX__-->
<div style="position: relative; width: 100%; padding-bottom: 20px; overflow: auto;">
+
{{ODEPO_toolbar}}
<div style="width: 45%; position: relative; float: left; text-align:center; padding: 5px; margin: 5px; background-color: #F9F9F9;">
+
<div style="position: relative; width: 100%;overflow: visible;">
<div style="font-size: 110%; font-size: 1.5em; font-family: Georgia,serif;margin-top: 5px; width: 100%;" title="This is the mainspace url.">[[Property:Mainurl|Main URL]]</div>{{#ifeq: {{{Mainurl|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add resource]|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}}}
+
<div style="width: auto; max-width:50%;position: relative; float: left; padding: 10px; padding-top: 5px; margin-top: 0px;border-right: 1px solid #E0E0E0;background:#f6f6f6;border-top: 1px solid #E0E0E0; overflow: hidden;padding-bottom:25px;">
<div style="font-size: 110%; font-size: 1.5em; font-family: Georgia,serif;margin-top: 5px;" title="What is a Resource url?">[[Property:Resource URL|Resource URL]]</div>{{#ifeq: {{{Resource URL|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add resource]|{{#arraymap:{{{Resource URL|}}}|,|x|[[Resource URL::x]]}}}}<br />
+
<div class="odepolabel">'''License(s)'''</div><span class="fielddata"><span class="fielddata">{{{License short name|{{{License |}}}}}}<br />{{{License provider|}}}</span>
<div style="font-size: 110%; font-size: 1.5em; font-family: Georgia,serif;margin-top: 5px;" title="What is a Resource Feed URL?">[[Property:Resource Feed URL|Resource Feed]]</div>{{#ifeq: {{{Resource Feed URL| }}} ||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add feed] ([[Property:Resource_Feed_URL|?]])|{{#arraymap:{{{Resource Feed URL|}}}|,|x|[[Resource Feed URL::x]]}}}}<br />
+
<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{{Mainurl| }}}</span>
<div style="font-size: 110%; font-size: 1.5em; font-family: Georgia,serif;margin-top: 5px;">License</div>
+
<div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div>
<div style="position: relative;">
+
<span class="fielddata">{{{Resource URL|Unspecified}}}</span>
{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}
+
<div class="odepolabel">'''Resource Feed''' [[Image:Information.png|14px|link=Property:Resource Feed URL]]</div>
{{#arraymap:{{{License short name|}}}|,|x|[[License short name::x| ]] [[:Special:SearchByProperty/License short name/x|x]]}}{{#ifeq: {{{License| }}} |http://|| ([{{{License| }}} <span>URL</span>])}}{{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}
+
<span class="fielddata">{{{Resource Feed URL|Unspecified}}}</span>
{{#switch: {{{License short name|}}}
+
{{{Contact|}}}
| CC BY = [[Image:Cc-by.png|link=]]
+
{{{Email|}}}
| CC BY-ND = [[Image:Cc-by-nd.png|link=]]
 
| CC BY-NC-ND = [[Image:Cc-by-nc-nd.png|link=]]
 
| CC BY-NC = [[Image:Cc-by-nc.png|link=]]
 
| CC BY-NC-SA = [[Image:Cc-by-nc-sa.png|link=]]
 
| CC BY-SA  = [[Image:Cc-by-sa.png|link=]]
 
| PD = no image
 
| GNU GPL = no image
 
| GNU Lesser GPL = no image
 
| GNU Affero GPL = no image
 
| GNU FDL = no image
 
| Creative Archive = no image
 
| Open Publication License = no image
 
| custom = no image
 
| copyright = no image
 
| various  = no image
 
|
 
}}
 
 
</div>
 
</div>
 +
 +
<div style="width: auto; position: relative; text-align:left;padding-left: 30px;overflow: auto; height: 100%;padding-bottom: 10px; padding-top:0px;">
 +
<div class="odepolabel">'''Affiliation'''</div><span class="fielddata"> {{{Affiliation|Unspecified}}}</span>
 +
<div class="odepolabel">'''Organization Type'''</div><span class="fielddata">{{{Organization Type|Unspecified}}}</span>
 +
<div class="odepolabel">'''Location'''</div><span class="fielddata">{{{Location|Unspecified}}}</span>
 +
<div class="odepolabel">'''Language'''</div><span class="fielddata">{{{Language code|Unspecified}}}</span>
 +
<div class="odepolabel">'''Tags'''</div><span class="fielddata">{{{Tag|None}}}</span>
 +
<div class="odepolabel">'''Open or Free Statement'''</div><span class="fielddata">{{{Open or Free Statement|Unspecified}}}</span>
 
</div>
 
</div>
<div style="width: 48%; position: relative;  float: right; text-align:left; padding: 8px;overflow: auto; height: 100%;">
 
<span style="font-size: 1.5em; font-family: Georgia,serif;overflow: visible;">Information</span>
 
<div style="position: relative; float: left; background-color: transparent; text-align:left; padding-right: 5px; padding-left: 10px; font-size: 95%; min-width: 90%;overflow: visible;">
 
[[Property:Affiliation|<span title="These are the organizations affiliated with this site."><strong>Affiliation</strong></span>]]: {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]] }}<br />
 
[[Property:Organization Type|<span title="What is an organization type?"><strong>Organization type</strong></span>]]: {{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x| ]] [[:Special:SearchByProperty/Organization Type/x|x]]}}<br />
 
[[Property:Location|<span title="The location is ordered: City, State, Country."><strong>Location</strong></span>]]: {{#arraymap:{{{Location|}}}|,|x|[[Location::x| ]] [[:Special:SearchByProperty/Location/x|x]]}}<br />
 
[[Property:Language code|<span title="Language code"><strong>Language</strong></span>]]: {{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}<br />
 
[[Property:Contact|<span title="Main contact person(s) for this project/organization."><strong>Contact</strong></span>]]: {{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]] [[:Special:SearchByProperty/Contact/x|x]]}}<br />
 
[[Property:Email|<span title="Email(s) of main contact person(s)."><strong>Email</strong></span>]]:{{#arraymap:{{{Email|}}}|,|x|[[Email::x]]}}<br />
 
{{#arraymap:{{{Open or Free Statement|}}}|,|x|[[Open or Free Statement::x| ]]}}
 
 
</div>
 
</div>
<span style="font-size: 1.5em; font-family: Georgia,serif;">[[Property:Tag|<span title="What are these tags referring to?">Tags</span>]]:</span>{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/x|x]]}}
+
<div style="width:0px;height:0px;overflow:hidden;padding-bottom: 10px;"><br />
</div>
 
</div>
 
<div>
 
 
[[Category:Organization]]
 
[[Category:Organization]]
{{#ifeq: {{{Location}}}|||{{#set:Coordinates = {{#geocode:{{{Location}}}}}}}}}
+
</div><br />
{{#arraydefine:OrgType|{{{Organization Type|}}}}}
 
{{#set:Organization Type count={{#arraysize:OrgType}}}}
 
</div>
 
 
</includeonly>
 
</includeonly>

Latest revision as of 23:27, 25 June 2015

This is the 'Organization' template. It should be called in the following format:

{{Organization
|Affiliation=
|Location=
|Language code=
|Contact=
|Email=
|Mainurl=
|Resource URL=
|Resource Feed URL=
|Tag=
|Organization Type=
|Open or Free Statement=
|License provider=
|License short name=
|License=
}}

Edit the page to see the template text.