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|}}}|,|x|[[License short name::x| ]] [[:Special:SearchByProperty/License_short_name/x|x]]}}
+
{{#arraymap:{{{resource license|}}}|,|xyz|[[License short name::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/License_short_name?_single&License_short_name={{anchorencode:xyz}} xyz]}}
 
{{#switch: {{{resource license|}}}
 
{{#switch: {{{resource license|}}}
 
  | CC BY = [[Image:Cc-by.png|link=]]
 
  | CC BY = [[Image:Cc-by.png|link=]]
Line 53: Line 53:
 
[[Property:Language code|<span title="Language code"><strong>Language</strong></span>]]: {{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}<br />
 
[[Property:Language code|<span title="Language code"><strong>Language</strong></span>]]: {{#arraymap:{{{Language code|}}}|,|x|[[Language code::x| ]] [[:Special:SearchByProperty/Language code/x|x]]}}<br />
 
</div>
 
</div>
<span style="font-size: 1.2em; font-family: Georgia,serif;">Tags:</span>{{#arraymap:{{{tags|}}}|,|x|[[Tag::x| ]] [http://wiki.creativecommons.org/Special:BrowseData/OER_Resources?_single&Tag={{anchorencode:x}} x]}}
+
<span style="font-size: 1.2em; font-family: Georgia,serif;">Tags:</span>{{#arraymap:{{{tags|}}}|,|xyz|[[Tag::xyz| ]] [http://wiki.creativecommons.org/Special:BrowseData/OER_Resources?_single&Tag={{anchorencode:xyz}} xyz]}}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 17:33, 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}}