Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
Line 48: Line 48:
 
<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|}}}|,|x|[[Resource Feed URL::x]]}}}}</span>{{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]]}}{{#arraymap:{{{Email|}}}|,|x|[[Email::x| ]]}}
 
</div>
 
</div>
<div style="width: auto; position: relative; text-align:left; padding: 7px;padding-left: 30px;overflow: auto; height: 100%;padding-bottom: 10px;">
+
<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|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/{{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|}}}|,|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|}}}|,|x|[[Organization Type::x| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Organization_Type={{urlencode: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">'''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'''</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|}}}|,|x|[[Language code::x| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Language_code={{urlencode: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/{{urlencode: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/{{urlencode: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>
 
</div>
 
</div>

Revision as of 00:39, 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.