Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
Line 28: Line 28:
 
<div  style="font-family: Georgia,serif;margin-top: 5px;margin-bottom: 5px;" title="What is a Resource url?">'''Resource URL [[Property:Resource URL|?]]'''</div>{{#ifeq: {{{Resource URL|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add resource]|{{#arraymap:{{{Resource URL|}}}|,|x|[[Resource URL::x]]}}}}<br />
 
<div  style="font-family: Georgia,serif;margin-top: 5px;margin-bottom: 5px;" title="What is a Resource url?">'''Resource URL [[Property:Resource URL|?]]'''</div>{{#ifeq: {{{Resource URL|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add resource]|{{#arraymap:{{{Resource URL|}}}|,|x|[[Resource URL::x]]}}}}<br />
 
<div style="font-family: Georgia,serif;margin-top: 5px;margin-bottom: 5px;" title="What is a Resource Feed URL?">'''Resource Feed [[Property:Resource Feed URL|?]]'''</div>{{#ifeq: {{{Resource Feed URL| }}} ||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add feed]|{{#arraymap:{{{Resource Feed URL|}}}|,|x|[[Resource Feed URL::x]]}}}}<br />
 
<div style="font-family: Georgia,serif;margin-top: 5px;margin-bottom: 5px;" title="What is a Resource Feed URL?">'''Resource Feed [[Property:Resource Feed URL|?]]'''</div>{{#ifeq: {{{Resource Feed URL| }}} ||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add feed]|{{#arraymap:{{{Resource Feed URL|}}}|,|x|[[Resource Feed URL::x]]}}}}<br />
<div style="font-family: Georgia,serif;margin-top: 5px;margin-bottom: 5px;">'''License [[Property:License short name|?]]'''</div>
+
 
<div style="position: relative;">
+
</div>
{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}
+
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 20px;overflow: auto; height: 100%;">
 +
<table>
 +
<tr>
 +
<td style="">'''License [[Property:License short name|?]]'''</td>
 +
<td>{{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}
 
{{#arraymap:{{{License short name|}}}|,|x|[[License short name::x| ]] [[:Special:SearchByProperty/License short name/x|x]]}}{{#ifeq: {{{License| }}} |http://|| ([{{{License| }}} <span>URL</span>])}}{{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}
 
{{#arraymap:{{{License short name|}}}|,|x|[[License short name::x| ]] [[:Special:SearchByProperty/License short name/x|x]]}}{{#ifeq: {{{License| }}} |http://|| ([{{{License| }}} <span>URL</span>])}}{{#arraymap:{{{License |}}}|,|x|[[License::x| ]]}}
 
{{#switch: {{{License short name|}}}
 
{{#switch: {{{License short name|}}}
Line 50: Line 54:
 
  | various  =
 
  | various  =
 
  |
 
  |
}}
+
}}</td>
</div>
 
</div>
 
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 20px;overflow: auto; height: 100%;">
 
<table>
 
 
<tr>
 
<tr>
 
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Affiliation|<span title="These are the organizations affiliated with this site."><strong>Affiliation</strong></span>]]:</td>
 
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Affiliation|<span title="These are the organizations affiliated with this site."><strong>Affiliation</strong></span>]]:</td>

Revision as of 19:08, 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.