Difference between revisions of "Template:BSD"

From blackwiki
Jump to navigation Jump to search
imported>NicoScribe
(Undid revision 882609486 by 103.211.29.17 (talk) ?)
Line 3: Line 3:
 
| image      = [[File:BSD wordmark.svg]]
 
| image      = [[File:BSD wordmark.svg]]
 
| imageright =  
 
| imageright =  
| text      = '''BSD License'''<bd />
+
| text      = '''BSD License'''<br />
  
Copyright © {{#if: {{{year|}}} |{{{year}}},}} {{{owner|belongs to the uploader}}}<bd />
+
Copyright © {{#if: {{{year|}}} |{{{year}}},}} {{{owner|belongs to the uploader}}}<br />
All rights reserved.<bd />
+
All rights reserved.<br />
  
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:<bd />
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:<br />
  
 
#Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 
#Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Revision as of 18:47, 10 February 2019

Template documentation[view] [edit] [history] [purge]

Usage

This template defaults to the 3-clause version, but may be used for any of the BSD licenses, by adding a parameter:

{{BSD|4}} — This will show the original 4-clause license.
{{BSD|3}} — This is the same as {{BSD}}, and will show the new 3-clause license.
{{BSD|2}} — This will show the FreeBSD 2-clause license.
{{BSD}}     — This will show the same as {{BSD|3}}, and will show the new 3-clause license.

The text of the license may be customized with the year, owner and organization parameters:

{{BSD|4|year=2009|owner=[[User:Jimbo Wales|Jimbo Wales]]|organization=the Wikimedia Foundation}} gives:
{{BSD|3|year=2009|owner=[https://en.wikipedia.org/wiki/User:Jimbo_Wales Jimbo Wales]}} gives:
{{BSD|2|year=2009}} gives:
{{BSD}} gives:

See also