Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
Line 36: Line 36:
 
{{#ifeq: {{{License provider|}}}||Add|{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}}}<br />
 
{{#ifeq: {{{License provider|}}}||Add|{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}}}<br />
 
{{#ifeq: {{{License short name|}}}||Add lsn|{{#arraymap:{{{License short name|}}}|,|x|[[License short name::x| ]] [[:Special:SearchByProperty/License short name/x|x]]}}}}<br />
 
{{#ifeq: {{{License short name|}}}||Add lsn|{{#arraymap:{{{License short name|}}}|,|x|[[License short name::x| ]] [[:Special:SearchByProperty/License short name/x|x]]}}}}<br />
{{#ifeq: {{{License| }}} |http://|| ([{{{License| }}} <span>URL</span>])}}{{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}}}
+
{{#ifeq: {{{License|}}} |http://|| ([{{{License| }}} <span>URL</span>]) {{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}}}
 
{{#switch: {{{License short name|}}}
 
{{#switch: {{{License short name|}}}
 
  | CC BY = [[Image:Cc-by.png|link=]]
 
  | CC BY = [[Image:Cc-by.png|link=]]
Line 54: Line 54:
 
  | copyright =
 
  | copyright =
 
  | various  =
 
  | various  =
  |
+
  |}}
}}
 
 
<div class="odepolabel">'''Affiliation [[Property:Affiliation|?]]'''</div>
 
<div class="odepolabel">'''Affiliation [[Property:Affiliation|?]]'''</div>
{{#ifeq: {{{Affiliation|}}}||add|{{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]] }}}}<br />
+
{{#ifeq: {{{Affiliation|}}}||add|{{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]] }}}}
 
<div class="odepolabel">'''Organization Type [[Property:Organization Type|?]]'''</div>
 
<div class="odepolabel">'''Organization Type [[Property:Organization Type|?]]'''</div>
{{#ifeq: {{{Organization Type|}}}||add|{{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x| ]] [[:Special:SearchByProperty/Organization Type/x|x]]}}}}<br />
+
{{#ifeq: {{{Organization Type|}}}||add|{{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x| ]] [[:Special:SearchByProperty/Organization Type/x|x]]}}}}
 
<div class="odepolabel">''' Location [[Property:Location|?]]</div>
 
<div class="odepolabel">''' Location [[Property:Location|?]]</div>
{{#ifeq: {{{Location|}}}||add|{{#arraymap:{{{Location|}}}|,|x|[[Location::x| ]] [[:Special:SearchByProperty/Location/x|x]]}}}}<br />
+
{{#ifeq: {{{Location|}}}||add|{{#arraymap:{{{Location|}}}|,|x|[[Location::x| ]] [[:Special:SearchByProperty/Location/x|x]]}}}}
 
<div class="odepolabel">'''Language [[Property:Language code|?]]</div>
 
<div class="odepolabel">'''Language [[Property:Language code|?]]</div>
{{#ifeq: {{{Language code|}}}||add|{{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}}}<br />
+
{{#ifeq: {{{Language code|}}}||add|{{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}}}
 
<div class="odepolabel">'''Contact Person [[Property:Contact|?]]'''</div>
 
<div class="odepolabel">'''Contact Person [[Property:Contact|?]]'''</div>
{{#ifeq: {{{Contact|}}}||add|{{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]] [[:Special:SearchByProperty/Contact/x|x]]}}}}<br />
+
{{#ifeq: {{{Contact|}}}||add|{{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]] [[:Special:SearchByProperty/Contact/x|x]]}}}}
 
<div class="odepolabel">'''Email [[Property:Email|?]]'''</div>
 
<div class="odepolabel">'''Email [[Property:Email|?]]'''</div>
{{#ifeq: {{{Email|}}}||add|{{#arraymap:{{{Email|}}}|,|x|[[Email::x]]}}}}<br />
+
{{#ifeq: {{{Email|}}}||add|{{#arraymap:{{{Email|}}}|,|x|[[Email::x]]}}}}
 
<div class="odepolabel">'''Tags [[Property:Tag|?]]'''</div>
 
<div class="odepolabel">'''Tags [[Property:Tag|?]]'''</div>
{{#ifeq: {{{Tag|}}}||add|{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/x|x]]}}}}<br />
+
{{#ifeq: {{{Tag|}}}||add|{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/x|x]]}}}}
 
{{#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 19:53, 1 March 2010

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

{{Organization
|Affiliation=
|Location=T
|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.