Difference between revisions of "Template:Resource"
Line 12: | Line 12: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | '''[[ | + | '''[[Resources|OER Resources Home]]''' :: '''[http://wiki.creativecommons.org/Special:BrowseData/OER_Resources?_single Browse OER resources]''' :: '''[[Special:AddData/Resource|Add a resource]]''' :: '''[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} <span style="color: #d60000;">Edit this page</span>]''' :: '''[{{fullurl:Special:ExportRDF/{{PAGENAME}}}} <span style="color: #d60000;">RDF</span>]''' |
<hr style="height: 1px; width: 100%; color: #F9F9F9;" /> | <hr style="height: 1px; width: 100%; color: #F9F9F9;" /> | ||
<!--__NOFACTBOX__--> | <!--__NOFACTBOX__--> | ||
Line 20: | Line 20: | ||
<div style="font-size: 1.2em; font-family: Georgia,serif;margin-top: 15px;">Repository Pages</div> | <div style="font-size: 1.2em; font-family: Georgia,serif;margin-top: 15px;">Repository Pages</div> | ||
{{#arraydefine: repos|{{{meta url|}}}}} | {{#arraydefine: repos|{{{meta url|}}}}} | ||
− | {{#ifeq: {{{meta url|}}}||[http:// | + | {{#ifeq: {{{meta url|}}}||[http://wiki.creativecommons.org{{localurl:{{PAGENAME}}|action=formedit}} Add repository]|{{#arraymap:{{{meta url|}}}|,|x|{{#set:Meta Resource URL=x}}}}{{#ifeq: {{{meta url|}}}|||{{#arrayprint:repos| |@@@@|<nowiki/><span style="padding-right:10px">'''[@@@@ {{#expr: {{#arraysearch:repos|@@@@}} + 1}}''']</span>}}}}}} |
<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;"> | ||
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:// | + | <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&Tags={{anchorencode:x}} x]}} |
</div> | </div> | ||
</div> | </div> |
Revision as of 19:04, 25 March 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}}