Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
Line 25: Line 25:
 
<div style="position: relative; width: 100%;overflow: auto;">
 
<div style="position: relative; width: 100%;overflow: auto;">
 
<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; position: relative; float: left; padding-right: 30px; margin: 5px; padding-top: 0px; margin-top: 0px;border-right: 1px solid #E0E0E0;">
<div class="odepolabel">'''License [[Property:License short name|?]]'''</div><span class="fielddata">{{#ifeq: {{{License provider|}}}||'''[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]'''|{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}}}</span><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| ]] [[:Special:SearchByProperty/License short name/x|x]]}}}}</span><span class="fielddata">{{#ifeq: {{{License|}}} |http://|| ([{{{License| }}} <span>URL</span>]) {{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}}}</span>
+
<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]}}}}</span>
 +
 
 +
<span class="fielddata">{{#ifeq: {{{License|}}} |http://|| ([{{{License| }}} <span>URL</span>]) {{#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=]]

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