Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
m (Formatting.)
 
(77 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 23: Line 22:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<!--__NOFACTBOX__-->
 
<!--__NOFACTBOX__-->
<div style="height:auto;display:table;width: 100%;clear:both;overflow:visible;position:relative;">
+
{{ODEPO_toolbar}}
<div style="float:left; display:inline-block;">'''[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} <span style="color: #d60000;">Edit this page</span>]'''</div>
 
<div style="float:left; display:inline-block;">'''[{{fullurl:Special:ExportRDF/{{PAGENAME}}}} <span style="color: #d60000;">Export to RDF</span>]'''</div>
 
<div style="float:right; display:inline-block;">'''[[ODEPO | ODEPO Home]]'''</div>
 
<div style="float:right; display:inline-block;">'''[http://wiki.creativecommons.org/Special:BrowseData/Organization?_single Browse ODEPO]'''</div>
 
<div style="float:right; display:inline-block;">'''[[ODEPO FAQ]]'''</div>
 
</div>
 
 
<div style="position: relative; width: 100%;overflow: visible;">
 
<div style="position: relative; width: 100%;overflow: visible;">
<div style="width: auto; position: relative; float: left; padding-right: 30px; margin: 5px; padding-top: 0px; margin-top: 0px;border-right: 1px solid #E0E0E0;">
+
<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 class="odepolabel">'''License [[Property:License short name|?]]'''</div><span class="fielddata">{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}{{#ifeq: {{{License short name|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{License short name|}}}|,|x|[[License short name::x| ]] [{{{License|}}} x]}}}}{{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}</span>
+
<div class="odepolabel">'''License(s)'''</div><span class="fielddata"><span class="fielddata">{{{License short name|{{{License |}}}}}}<br />{{{License provider|}}}</span>
{{#switch: {{{License short name|}}}
+
<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{{Mainurl| }}}</span>
| CC BY = [[Image:Cc-by.png|link=]]
+
<div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div>
| CC BY-ND = [[Image:Cc-by-nd.png|link=]]
+
<span class="fielddata">{{{Resource URL|Unspecified}}}</span>
| CC BY-NC-ND = [[Image:Cc-by-nc-nd.png|link=]]
+
<div class="odepolabel">'''Resource Feed''' [[Image:Information.png|14px|link=Property:Resource Feed URL]]</div>
| CC BY-NC = [[Image:Cc-by-nc.png|link=]]
+
<span class="fielddata">{{{Resource Feed URL|Unspecified}}}</span>
| CC BY-NC-SA = [[Image:Cc-by-nc-sa.png|link=]]
+
{{{Contact|}}}
| CC BY-SA  = [[Image:Cc-by-sa.png|link=]]
+
{{{Email|}}}
| PD =
 
| GNU GPL =
 
| GNU Lesser GPL =
 
| GNU Affero GPL =
 
| GNU FDL =
 
| Creative Archive =
 
| Open Publication License =
 
| custom =
 
| copyright =
 
| various  =
 
|}}
 
<div class="odepolabel">'''Main URL [[Property:Mainurl|?]]'''</div><span class="fielddata">{{#ifeq: {{{Mainurl| }}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}}}</span>
 
<div class="odepolabel">'''Resource URL [[Property:Resource URL|?]]'''</div><span class="fielddata">{{#ifeq: {{{Resource URL| }}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource URL|}}}|,|x|[[Resource URL::x]]}}}}</span>
 
<div class="odepolabel">'''Resource Feed [[Property:Resource Feed URL|?]]'''</div><span class="fielddata">{{#ifeq: {{{Resource Feed URL| }}} ||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource Feed URL|}}}|,|x|[[Resource Feed URL::x]]}}}}</span>
 
{{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]]}}
 
{{#arraymap:{{{Email|}}}|,|x|[[Email::x| ]]}}
 
</div>
 
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 20px;overflow: auto; height: 100%;">
 
<div class="odepolabel">'''Affiliation [[Property:Affiliation|?]]'''</div><span class="fielddata">{{#ifeq: {{{Affiliation|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]] }}}}</span>
 
<div class="odepolabel">'''Organization Type [[Property:Organization Type|?]]'''</div><span class="fielddata">{{#ifeq: {{{Organization Type|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x| ]] [[:Special:SearchByProperty/Organization Type/x|x]]}}}}</span>
 
<div class="odepolabel">'''Location [[Property:Location|?]]'''</div><span class="fielddata">{{#ifeq: {{{Location|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Location|}}}|,|x|[[Location::x| ]] [[:Special:SearchByProperty/Location/x|x]]}}}}</span>
 
<div class="odepolabel">'''Language [[Property:Language code|?]]'''</div><span class="fielddata">{{#ifeq: {{{Language code|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}}}</span>
 
<div class="odepolabel">'''Tags [[Property:Tag|?]]'''</div><span class="fielddata">{{#ifeq: {{{Tag|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/x|x]]}}}}</span>
 
{{#arraymap:{{{Open or Free Statement|}}}|,|x|[[Open or Free Statement::x| ]]}}
 
 
</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>
 
[[Category:Organization| ]]
 
{{#ifeq: {{{Location}}}|||{{#set:Coordinates = {{#geocode:{{{Location}}}}}}}}}
 
{{#arraydefine:OrgType|{{{Organization Type|}}}}}
 
{{#set:Organization Type count={{#arraysize:OrgType}}}}
 
 
</div>
 
</div>
 +
<div style="width:0px;height:0px;overflow:hidden;padding-bottom: 10px;"><br />
 +
[[Category:Organization]]
 +
</div><br />
 
</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.