Difference between revisions of "Template:OER Policy"

From Creative Commons
Jump to: navigation, search
(switch that to the {{urlencode:blah}} method)
(urlencode other places, too)
Line 31: Line 31:
 
<span title="The Government or Institution that has proposed or passed the legislation or policy."><strong>Institution</strong></span>: {{#arraymap:{{{OER Policy Institution|}}}|,|x|[[OER Policy Institution::x]]}}<br />
 
<span title="The Government or Institution that has proposed or passed the legislation or policy."><strong>Institution</strong></span>: {{#arraymap:{{{OER Policy Institution|}}}|,|x|[[OER Policy Institution::x]]}}<br />
 
<span title="The license of the policy itself"><strong>Policy license</strong></span>: [[License short name::{{{License short name|}}}]]<br />
 
<span title="The license of the policy itself"><strong>Policy license</strong></span>: [[License short name::{{{License short name|}}}]]<br />
<span title="Searchable keywords that relate to the policy."><strong>Tags</strong>:</span> {{#if: {{{Tag|}}}|{{#arraymap:{{{Tag|}}}|,|$$|{{#set: Tag=$$}} [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3AAsk&q=%5B%5BCategory%3AOER+Policy+Registry%5D%5D%0D%0A%5B%5BTag%3A%3A$$%5D%5D&p=format%3Dol&eq=no $$]}}, '''[{{fullurl:{{PAGENAME}}|action=formedit}} add tags]'''|'''[{{fullurl:{{PAGENAME}}|action=formedit}} Add tag(s)]'''}}<br /></div>
+
<span title="Searchable keywords that relate to the policy."><strong>Tags</strong>:</span> {{#if: {{{Tag|}}}|{{#arraymap:{{{Tag|}}}|,|$$|{{#set: Tag=$$}} [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3AAsk&q=%5B%5BCategory%3AOER+Policy+Registry%5D%5D%0D%0A%5B%5B{{urlencode:Tag}}%3A%3A$$%5D%5D&p=format%3Dol&eq=no $$]}}, '''[{{fullurl:{{PAGENAME}}|action=formedit}} add tags]'''|'''[{{fullurl:{{PAGENAME}}|action=formedit}} Add tag(s)]'''}}<br /></div>
 
<div style="width: 58%; position: relative left; top: 0; text-align:left; padding: 8px;overflow: auto;">
 
<div style="width: 58%; position: relative left; top: 0; text-align:left; padding: 8px;overflow: auto;">
 
<span style="font-size: 1.2em; font-family: Georgia,serif;overflow: visible;" title="Key identifier of the policy or legislation (eg: name, legislative number, etc.)">Policy Title: </span> <span style="font-size: 1em; font-family: Georgia,serif;overflow: visible;">{{{OER Policy Title|}}}</span> - <strong>[{{{OER Policy URL|}}} Go to the policy]</strong><br />
 
<span style="font-size: 1.2em; font-family: Georgia,serif;overflow: visible;" title="Key identifier of the policy or legislation (eg: name, legislative number, etc.)">Policy Title: </span> <span style="font-size: 1em; font-family: Georgia,serif;overflow: visible;">{{{OER Policy Title|}}}</span> - <strong>[{{{OER Policy URL|}}} Go to the policy]</strong><br />

Revision as of 17:59, 10 May 2012

This is the "OER Policy" template. It should be called in the following format:

{{OER Policy
|OER Policy Title=
|OER Policy URL=
|Description=
|Author=
|OER Policy Date=
|OER Policy Status=
|Language code=
|OER Policy Jurisdiction=
|Country=
|OER Policy Institution=
|Tag=
|License short name=
}}

Edit the page to see the template text.