Difference between revisions of "Template:Resource"

From Creative Commons
Jump to: navigation, search
Line 23: Line 23:
 
<div style="font-size: 1.3em; font-family: Georgia,serif;margin-top: 5px;">License</div>
 
<div style="font-size: 1.3em; font-family: Georgia,serif;margin-top: 5px;">License</div>
 
<div style="position: relative;">
 
<div style="position: relative;">
{{#arraymap:{{{resource license|}}}|,|xyz|[[License short name::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/License_short_name?_single&License_short_name={{anchorencode:xyz}} xyz]}}
+
{{#arraymap:{{{resource license|}}}|,|xyz|[[License short name::xyz| ]] [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special:SearchByProperty&property=License_short_name&value={{anchorencode:xyz}} xyz]}}
 
{{#switch: {{{resource license|}}}
 
{{#switch: {{{resource license|}}}
 
  | CC BY = [[Image:Cc-by.png|link=]]
 
  | CC BY = [[Image:Cc-by.png|link=]]

Revision as of 17:35, 5 April 2010


OER Resources Home :: Browse OER resources  :: Add a resource  :: Edit this page  :: RDF


[ Go to resource]
{{#declare:OER Resource URL=resource url}}
Repository Pages

{{#arraydefine: repos|}} {{#ifeq: ||Add repository|{{#arraymap:|,|x|{{#set:Meta Resource URL=x}}}}{{#ifeq: |||{{#arrayprint:repos| |@@@@|[@@@@ {{#expr: {{#arraysearch:repos|@@@@}} + 1}}]}}}}}}

License

{{#arraymap:|,|xyz| xyz}} {{#switch:

| CC BY = Cc-by.png
| CC BY-ND = Cc-by-nd.png
| CC BY-NC-ND = Cc-by-nc-nd.png
| CC BY-NC = Cc-by-nc.png
| CC BY-NC-SA = Cc-by-nc-sa.png
| CC BY-SA  = Cc-by-sa.png
| PD = no image
| GNU GPL = no image
| GNU Lesser GPL = no image
| GNU Affero GPL = no image
| GNU FDL = no image
| Creative Archive = no image
| Open Publication License = no image
| custom = no image
| copyright = no image
| various  = no image
|

}}

Author(s): {{#arraymap:|,|xyz| xyz}}

Affiliation: {{#arraymap:|,|xyz| xyz}}
Resource type: {{#arraymap:|,|x| x}}
Publication date: {{#declare:Publication date=date}}
Language: {{#arraymap:|,|x| x}}

Tags:{{#arraymap:|,|xyz| xyz}}