Difference between revisions of "Template:Organization"

From Creative Commons
Jump to: navigation, search
(De-SMW in progress.)
(De-SMW.)
Line 25: Line 25:
 
<div style="position: relative; width: 100%;overflow: visible;">
 
<div style="position: relative; width: 100%;overflow: visible;">
 
<div style="width: auto; max-width:50%;position: relative; float: left; padding: 10px; padding-top: 5px; margin-top: 0px;border-right: 1px solid #E0E0E0;background:#f6f6f6;border-top: 1px solid #E0E0E0; overflow: hidden;padding-bottom:25px;">
 
<div style="width: auto; max-width:50%;position: relative; float: left; padding: 10px; padding-top: 5px; margin-top: 0px;border-right: 1px solid #E0E0E0;background:#f6f6f6;border-top: 1px solid #E0E0E0; overflow: hidden;padding-bottom:25px;">
 +
<div class="odepolabel">'''License(s)'''</div><span class="fielddata"><span class="fielddata">{{{License short name|{{{License |}}}}}}<br />{{{License provider|}}}</span>
 
<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{{Mainurl| }}}</span>
 
<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{{Mainurl| }}}</span>
 
<div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div>
 
<div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div>
Line 34: Line 35:
  
 
<div style="width: auto; position: relative; text-align:left;padding-left: 30px;overflow: auto; height: 100%;padding-bottom: 10px; padding-top:0px;">
 
<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://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Affiliation|}}}|,|xyz|[[Affiliation::xyz| ]] [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property=Affiliation&value={{urlencode:xyz}} xyz]}}}}</span>
+
<div class="odepolabel">'''Affiliation'''</div><span class="fielddata"> {{{Affiliation|}}}</span>
<div class="odepolabel">'''Organization Type'''</div><span class="fielddata">{{#ifeq: {{{Organization Type|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Organization Type|}}}|,|xyz|[[Organization Type::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Organization_Type={{urlencode:xyz}} xyz]}}}}</span>
+
<div class="odepolabel">'''Organization Type'''</div><span class="fielddata">:{{{Organization Type|}}}</span>
<div class="odepolabel">'''Location'''</div><span class="fielddata">{{#ifeq: {{{Location|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Location|}}}|,|xyz|[[Location::xyz| ]] [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property=Location&value={{urlencode:xyz}} xyz]}}}}</span>
+
<div class="odepolabel">'''Location'''</div><span class="fielddata">{{{Location|}}}</span>
<div class="odepolabel">'''Language'''</div><span class="fielddata">{{#ifeq: {{{Language code|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Language code|}}}|,|xyz|[[Language code::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&Language_code={{urlencode:xyz}} xyz]}}}}</span>
+
<div class="odepolabel">'''Language'''</div><span class="fielddata">{{{Language code|}}}}</span>
<div class="odepolabel">'''Tags'''</div><span class="fielddata">{{#ifeq: {{{Tag|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap: {{{Tag|}}}|,|xyz|[[Tag::xyz| ]] [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property=Tag&value={{urlencode: xyz}} xyz]}}}}</span>{{{Open or Free Statement|}}}|,|xyz|[[Open or Free Statement::xyz| ]]}}
+
<div class="odepolabel">'''Tags'''</div><span class="fielddata" {{{Tag|}}}</span>
 +
{{{Open or Free Statement|}}}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 23:23, 25 June 2015

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=
|License provider=
|License short name=
|License=
}}

Edit the page to see the template text.