Template:Information: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
m (Enhance permissions parameter)
m (Enhance permissions parameter)
Line 11: Line 11:
! style="background:#ccf; text-align:right; padding-right:0.4em;" | Permission
! style="background:#ccf; text-align:right; padding-right:0.4em;" | Permission
| {{#if: {{{permission|}}} | {{#switch: {{{permission}}}
| {{#if: {{{permission|}}} | {{#switch: {{{permission}}}
  | by-sa
   | BY-SA = [https://creativecommons.org/licenses/by-sa/4.0/ CC BY-SA 4.0]
   | BY-SA = [https://creativecommons.org/licenses/by-sa/4.0/ CC BY-SA 4.0]
  | by-sa-3
   | BY-SA-3 = [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]
   | BY-SA-3 = [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]
  | by-nc
  | BY-NC = [https://creativecommons.org/licenses/by-nc/4.0/ CC BY-NC]
  | by-nc-sa
  | BY-NC-SA = [https://creativecommons.org/licenses/by-nc-sa/4.0/ CC BY-NC-SA]
  | by-nd
  | BY-ND = [https://creativecommons.org/licenses/by-nd/4.0/ CC BY-ND]
  | by-nc-nd
  | BY-NC-ND = [https://creativecommons.org/licenses/by-nc-nd/4.0/ CC BY-NC-ND]
  | pd
   | PD = {{wp|Public domain}}
   | PD = {{wp|Public domain}}
  | gnu
   | GNU = [http://www.gnu.org/copyleft/gpl.html GNU General Public License]
   | GNU = [http://www.gnu.org/copyleft/gpl.html GNU General Public License]
   | #default = {{{permission}}}
   | #default = {{{permission}}}

Revision as of 02:45, 30 October 2024

Description
Source
Author
Permission CC BY-SA 4.0
Additional information

Template:Information is a template for displaying source and licensing information for a file. To use it, place the following code on the page:

{{Information
| description =
| source      =
| author      =
| permission  =
| additional  =
}}

Note: The permission parameter defaults to CC BY-SA 4.0 but may be changed.