NAME
Package WebGUI::Macro::CreativeCommons
DESCRIPTION
Outputs the specified Creative Commons 3.0 license with logo and a link to the license's Common's Deed at http://creativecommons.org. The description of each license is available at http://creativecommons.org/about/licenses/meet-the-licenses.
process ( license, [type], [version], [language_suffix])
process takes the license name in full form - ^CreativeCommons(Attribution Non-commercial No Derivatives); - or abbreviated form - ^CreativeCommons(by-nc-nd); . It will produce a IMG with the license's logo with a link to the license's Common's Deed at http://www.creativecommons.org. Additionally, the user can specify the license version and the language suffix, ie. ^CreativeCommons(by,thin,2.5,en_US);
license
Set the license. Valid licenses are
Attribution Non-commercial No Derivatives
Attribution Non-commercial Share Alike
Attribution Non-commercial
Attribution No Derivatives
Attribution Share Alike
Attribution
or, in the abbreviated form,
by-nc-nd
by-nc-sa
by-nc
by-nd
by-sa
by
type
Set the logo type. Currently available options are 'normal' (88x31 pixels) and 'thin' (80x15 pixels), without the quotes.
version
Set the version for the license. Defaults to 3.0.
language_suffix
Set the language suffix for the license. Defaults to 'en', without the quotes. Examples of valid suffixes are:
af Afrikaans
da Dansk
de Deutsch
en English
en_CA English (CA)
en_GB English (GB)
en_US English (US)
es Castellano
es_AR Castellano (AR)
es_CL Espanol (CL)
es_MX Castellano (MX)
eu Euskara
fi Suomeksi
fr francais
fr_CA francais (CA)
gl Galego
hr hrvatski
hu Magyar
it Italiano
ja Japanese
ko Korean
mk Macedonian
ms Melayu
nl Nederlands
nso Sesotho sa Leboa
pl polski
pt Portugues
pt_PT Portugues (PT)
sv svenska
sl slovenski jezik
zh Chinese
zh_TW Chinese (Taiwan)
zu isiZulu
Note that not all combinations of license versions and language suffixes will be found at http://creativecommons.org/. If you choose to pass a license version and a language suffix to this macro, please verify if you have generated a working link.
Have fun!
Nuba