Difference between revisions of "Template:Resource"
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: | + | {{#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-ND = | CC BY-NC-ND = | CC BY-NC = | CC BY-NC-SA = | CC BY-SA = | 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}}