Difference between revisions of "Template:Organization"
Line 26: | Line 26: | ||
<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">{{#ifeq: {{{License short name|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap: {{{License short name|}}}|,|xyz|[[License short name::xyz| ]][http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&License_short_name={{urlencode:xyz}} xyz]}}}}{{#arraymap:{{{License provider|}}}|,|xyz|[[License provider::xyz| ]]}}{{#arraymap:{{{License |}}}|,|xyz|[[License::xyz| ]]}} | + | <div class="odepolabel">'''License(s)'''</div><span class="fielddata">{{#ifeq: {{{License short name|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap: {{{License short name|}}}|,|xyz|[[License short name::xyz| ]][http://wiki.creativecommons.org/Special:BrowseData/Organization?_single&License_short_name={{urlencode:xyz}} xyz]}}}}{{#arraymap:{{{License provider|}}}|,|xyz|[[License provider::xyz| ]]}}{{#arraymap:{{{License |}}}|,|xyz|[[License::xyz| ]]}} {{#switch: {{{License short name|}}} |
| CC BY = [[Image:Cc-by.png|link=]] | | CC BY = [[Image:Cc-by.png|link=]] | ||
| CC BY-ND = [[Image:Cc-by-nd.png|link=]] | | CC BY-ND = [[Image:Cc-by-nd.png|link=]] | ||
Line 44: | Line 44: | ||
| various = | | various = | ||
| | | | ||
− | }}<div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{#ifeq: {{{Mainurl| }}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Mainurl|}}}|,|xyz|[[Mainurl::xyz]]}}}}</span> | + | }}</span><div class="odepolabel">'''Main URL'''</div><span class="fielddata">{{#ifeq: {{{Mainurl| }}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Mainurl|}}}|,|xyz|[[Mainurl::xyz]]}}}}</span> |
<div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div><span class="fielddata">{{#ifeq: {{{Resource URL| }}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource URL|}}}|,|xyz|[[Resource URL::xyz]]}}}}</span> | <div class="odepolabel">'''Resource URL''' [[Image:Information.png|14px|link=Property:Resource URL]]</div><span class="fielddata">{{#ifeq: {{{Resource URL| }}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource URL|}}}|,|xyz|[[Resource URL::xyz]]}}}}</span> | ||
<div class="odepolabel">'''Resource Feed''' [[Image:Information.png|14px|link=Property:Resource Feed URL]]</div><span class="fielddata">{{#ifeq: {{{Resource Feed URL| }}} ||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource Feed URL|}}}|,|xyz|[[Resource Feed URL::xyz]]}}}}</span>{{#arraymap:{{{Contact|}}}|,|xyz|[[Contact::xyz| ]]}}{{#arraymap:{{{Email|}}}|,|xyz|[[Email::xyz| ]]}} | <div class="odepolabel">'''Resource Feed''' [[Image:Information.png|14px|link=Property:Resource Feed URL]]</div><span class="fielddata">{{#ifeq: {{{Resource Feed URL| }}} ||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add]|{{#arraymap:{{{Resource Feed URL|}}}|,|xyz|[[Resource Feed URL::xyz]]}}}}</span>{{#arraymap:{{{Contact|}}}|,|xyz|[[Contact::xyz| ]]}}{{#arraymap:{{{Email|}}}|,|xyz|[[Email::xyz| ]]}} |
Revision as of 00:39, 3 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.