Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
Line 26: Line 26:
 
<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 style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;" title="This is the mainspace url.">'''Main URL [[Property:Mainurl|?]]'''</div>{{#ifeq: {{{Mainurl|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add resource]|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}}}
 
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;" title="This is the mainspace url.">'''Main URL [[Property:Mainurl|?]]'''</div>{{#ifeq: {{{Mainurl|}}}||[http://opened.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add resource]|{{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}}}
<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>
 
</div>
 
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 20px;overflow: auto; height: 100%;">
 
<div style="width: auto; position: relative; text-align:left; padding: 8px;padding-top:0px;padding-left: 20px;overflow: auto; height: 100%;">
<table style="padding:0px;margin:0px;">
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''License [[Property:License short name|?]]'''</div>
<tr>
+
{#arraymap:{{{License provider|}}}|,|x|[[License provider::x| ]]}}
<td style="text-align: right;font-family: Georgia,serif;">'''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 53: Line 51:
 
  | various  =
 
  | various  =
 
  |
 
  |
}}</td>
+
}}
<tr>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''Affiliation [[Property:Affiliation|?]]'''</div>
<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>
+
{{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]] }}
<td>{{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]] }}</td>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''Organization Type [[Property:Organization Type|?]]'''</div>
</tr>
+
{{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x| ]] [[:Special:SearchByProperty/Organization Type/x|x]]}}
<tr>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">''' Location [[Property:Location|?]]</div>
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Organization Type|<span title="What is an organization type?"><strong>Type</strong></span>]]:</td>
+
{{#arraymap:{{{Location|}}}|,|x|[[Location::x| ]] [[:Special:SearchByProperty/Location/x|x]]}}
<td>{{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x| ]] [[:Special:SearchByProperty/Organization Type/x|x]]}}</td>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''Language [[Property:Language code|?]]</div>
</tr>
+
{{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}
<tr>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''Contact Person [[Property:Contact|?]]'''</div>
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Location|<span title="The location is ordered: City, State, Country."><strong>Location</strong></span>]]: </td>
+
{{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]] [[:Special:SearchByProperty/Contact/x|x]]}}
<td>{{#arraymap:{{{Location|}}}|,|x|[[Location::x| ]] [[:Special:SearchByProperty/Location/x|x]]}}</td>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''Email [[Property:Email|?]]'''</div>
</tr>
+
{{#arraymap:{{{Email|}}}|,|x|[[Email::x]]}}
<tr>
+
<div style="font-family: Georgia,serif; width: 100%;margin-bottom: 5px;">'''Tags [[Property:Tag|?]]'''</div>
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Language code|<span title="Language code"><strong>Language</strong></span>]]: </td>
+
{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/x|x]]}}
<td>{{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}</td>
 
</tr>
 
<tr>
 
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Contact|<span title="Main contact person(s) for this project/organization."><strong>Contact</strong></span>]]:</td>
 
<td>{{#arraymap:{{{Contact|}}}|,|x|[[Contact::x| ]] [[:Special:SearchByProperty/Contact/x|x]]}}</td>
 
</tr>
 
<tr>
 
<td style="text-align: right;font-family: Georgia,serif;">[[Property:Email|<span title="Email(s) of main contact person(s)."><strong>Email</strong></span>]]:</td>
 
<td>{{#arraymap:{{{Email|}}}|,|x|[[Email::x]]}}</td>
 
</tr>
 
<tr>
 
<td style="text-align: right;font-family: Georgia,serif;">'''[[Property:Tag|<span title="What are these tags referring to?">Tags</span>]]:'''</td>
 
<td>{{#arraymap:{{{Tag|}}}|,|x|[[Tag::x| ]] [[:Special:SearchByProperty/Tag/x|x]]}}</td>
 
</tr>
 
</table>
 
 
{{#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:28, 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.