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; position: relative; float: left; padding: 10px; padding-top: 5px; margin-top: 0px;border-right: 1px solid #E0E0E0;background:#f6f6f6;">
 
<div style="width: auto; position: relative; float: left; padding: 10px; padding-top: 5px; margin-top: 0px;border-right: 1px solid #E0E0E0;background:#f6f6f6;">
<div class="odepolabel">'''License''' [[Image:Information.png|14px|link=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'''</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>
 
{{#switch: {{{License short name|}}}
 
{{#switch: {{{License short name|}}}
 
  | CC BY = [[Image:Cc-by.png|link=]]
 
  | CC BY = [[Image:Cc-by.png|link=]]
Line 45: Line 45:
 
  | various  =
 
  | various  =
 
  |}}
 
  |}}
<div class="odepolabel">'''Main URL''' [[Image:Information.png|14px|link=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">'''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">'''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'''</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''' [[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>
 
<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:{{{Contact|}}}|,|x|[[Contact::x| ]]}}
Line 52: Line 52:
 
</div>
 
</div>
 
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 30px;overflow: auto; height: 100%;">
 
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 30px;overflow: auto; height: 100%;">
<div class="odepolabel">'''Affiliation''' [[Image:Information.png|14px|link=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">'''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''' [[Image:Information.png|14px|link=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">'''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''' [[Image:Information.png|14px|link=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">'''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''' [[Image:Information.png|14px|link=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">'''Language'''</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''' [[Image:Information.png|14px|link=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>
+
<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/x|x]]}}}}</span>
 
{{#arraymap:{{{Open or Free Statement|}}}|,|x|[[Open or Free Statement::x| ]]}}
 
{{#arraymap:{{{Open or Free Statement|}}}|,|x|[[Open or Free Statement::x| ]]}}
 
</div>
 
</div>

Revision as of 21:34, 1 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.