Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
Line 26: Line 26:
 
<div style="position: relative; width: 100%;overflow: visible;">
 
<div style="position: relative; width: 100%;overflow: visible;">
 
<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="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(s)'''</div><span class="fielddata">{{#ifeq: {{{License short name|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap: {{{License short name|}}}|,|x|[[License short name::x| ]][http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&License_short_name={{urlencode:x}} x]}}}}{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}<!--[{{{License|}}} x]}}}}{{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}--></span>{{#switch: {{{License short name|}}}
+
<div class="odepolabel">'''License(s)'''</div><span class="fielddata">{{#ifeq: {{{License short name|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap: {{{License short name|}}}|,|xyz|[[License short name::xyz| ]][http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&License_short_name={{urlencode:xyz}} xyz]}}}}{{#arraymap:{{{License provider|}}}|,|xyz|[[License provider::xyz| ]]}}{{#arraymap:{{{License |}}}|,|xyz|[[License::xyz| ]]}}</span>{{#switch: {{{License short name|}}}
 
  | CC BY = [[Image:Cc-by.png|link=]]
 
  | CC BY = [[Image:Cc-by.png|link=]]
 
  | CC BY-ND = [[Image:Cc-by-nd.png|link=]]
 
  | CC BY-ND = [[Image:Cc-by-nd.png|link=]]
Line 44: Line 44:
 
  | various  =
 
  | various  =
 
  |
 
  |
}}<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{#ifeq: {{{Mainurl| }}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}}}</span>
+
}}<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{#ifeq: {{{Mainurl| }}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Mainurl|}}}|,|xyz|[[Mainurl::xyz]]}}}}</span>
<div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=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 URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div><span class="fielddata">{{#ifeq: {{{Resource URL| }}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource URL|}}}|,|xyz|[[Resource URL::xyz]]}}}}</span>
<div class="odepolabel">'''Resource Feed''' [[Image:Information.png|14px|link=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 class="odepolabel">'''Resource Feed''' [[Image:Information.png|14px|link=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|}}}|,|xyz|[[Resource Feed URL::xyz]]}}}}</span>{{#arraymap:{{{Contact|}}}|,|xyz|[[Contact::xyz| ]]}}{{#arraymap:{{{Email|}}}|,|xyz|[[Email::xyz| ]]}}
 
</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 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">{{#ifeq: {{{Affiliation|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/{{urlencode:x}}|x]]}}}}</span>
+
<div class="odepolabel">'''Affiliation'''</div><span class="fielddata">{{#ifeq: {{{Affiliation|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Affiliation|}}}|,|xyz|[[Affiliation::xyz| ]] [[:Special:SearchByProperty/Affiliation/{{urlencode:xyz}}|xyz]]}}}}</span>
<div class="odepolabel">'''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| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Organization_Type={{urlencode:x}} x]}}}}</span>
+
<div class="odepolabel">'''Organization Type'''</div><span class="fielddata">{{#ifeq: {{{Organization Type|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Organization Type|}}}|,|xyz|[[Organization Type::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Organization_Type={{urlencode:xyz}} xyz]}}}}</span>
<div class="odepolabel">'''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">'''Location'''</div><span class="fielddata">{{#ifeq: {{{Location|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Location|}}}|,|xyz|[[Location::xyz| ]] [[:Special:SearchByProperty/Location/xyz|xyz]]}}}}</span>
<div class="odepolabel">'''Language'''</div><span class="fielddata">{{#ifeq: {{{Language code|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Language_code={{urlencode:x}} x]}}}}</span>
+
<div class="odepolabel">'''Language'''</div><span class="fielddata">{{#ifeq: {{{Language code|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Language code|}}}|,|xyz|[[Language code::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Language_code={{urlencode:xyz}} xyz]}}}}</span>
<div class="odepolabel">'''Tags'''</div><span class="fielddata">{{#ifeq: {{{Tag|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/{{urlencode:x}}|x]]}}}}</span>{{#arraymap:{{{Open or Free Statement|}}}|,|x|[[Open or Free Statement::x| ]]}}
+
<div class="odepolabel">'''Tags'''</div><span class="fielddata">{{#ifeq: {{{Tag|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Tag|}}}|,|xyz|[[Tag::xyz| ]] [[:Special:SearchByProperty/Tag/{{urlencode:xyz}}|xyz]]}}}}</span>{{#arraymap:{{{Open or Free Statement|}}}|,|xyz|[[Open or Free Statement::xyz| ]]}}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 01:00, 2 March 2010

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=
|OER Statement=
|License provider=
|License short name=
|License=
}}

Edit the page to see the template text.