Difference between revisions of "Template:Resource"

From Creative Commons
Jump to: navigation, search
Line 46: Line 46:
 
</div>
 
</div>
 
<div style="width: 58%; position: relative;  float: right; text-align:left; padding: 8px;overflow: auto; height: 100%;">
 
<div style="width: 58%; position: relative;  float: right; text-align:left; padding: 8px;overflow: auto; height: 100%;">
<span style="font-size: 1.2em; font-family: Georgia,serif;overflow: visible;">Author(s):</span> <span style="font-size: 1em; font-family: Georgia,serif;overflow: visible;">{{#arraymap:{{{resource author|}}}|,|x|[[Resource author::x| ]] [[:Special:SearchByProperty/Resource author/x|x]]}}</span><br />
+
<span style="font-size: 1.2em; font-family: Georgia,serif;overflow: visible;">Author(s):</span> <span style="font-size: 1em; font-family: Georgia,serif;overflow: visible;">{{#arraymap:{{{resource author|}}}|,|xyz|[[Resource author::xyz| ]] [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property=Resource_author&value={{urlencode: xyz}} xyz]}}</span><br />
 
<div style="position: relative; float: left; background-color: transparent; text-align:left; padding-right: 5px; padding-left: 10px; font-size: 95%; min-width: 90%;overflow: visible;">
 
<div style="position: relative; float: left; background-color: transparent; text-align:left; padding-right: 5px; padding-left: 10px; font-size: 95%; min-width: 90%;overflow: visible;">
[[Property:Affiliation|<span title="These are the organizations affiliated with this resource."><strong>Affiliation</strong></span>]]: {{#arraymap:{{{affiliation|}}}|,|x|[[Affiliation::x| ]] [[:Special:SearchByProperty/Affiliation/x|x]]}}<br />
+
[[Property:Affiliation|<span title="These are the organizations affiliated with this resource."><strong>Affiliation</strong></span>]]: {{#arraymap:{{{affiliation|}}}|,|xyz|[[Affiliation::xyz| ]] [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property=Affiliation&value={{urlencode: xyz}} xyz]}}<br />
 
[[Property:Resource type|<strong>Resource type</strong>]]: {{#arraymap:{{{resource type|}}}|,|x|[[Resource type::x| ]] [[:Special:SearchByProperty/Resource type/x|x]]}}<br />
 
[[Property:Resource type|<strong>Resource type</strong>]]: {{#arraymap:{{{resource type|}}}|,|x|[[Resource type::x| ]] [[:Special:SearchByProperty/Resource type/x|x]]}}<br />
 
[[Property:Publication date|<strong>Publication date</strong>]]: {{#declare:Publication date=date}}{{{date|}}}<br />
 
[[Property:Publication date|<strong>Publication date</strong>]]: {{#declare:Publication date=date}}{{{date|}}}<br />

Revision as of 00:46, 26 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.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}}