Difference between revisions of "Template:GPL notice"

From VideoLAN Wiki
Jump to navigation Jump to search
(New feature: calling template as {{GPL notice|nocat=yes}} suppresses add to Category:GNU GPL Licensed pages. Useful for other templates that use this template)
Line 1: Line 1:
 
Permission is granted to copy, distribute and/or modify this document under the terms of the [https://www.gnu.org/copyleft/gpl.html GNU General Public License] as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
Permission is granted to copy, distribute and/or modify this document under the terms of the [https://www.gnu.org/copyleft/gpl.html GNU General Public License] as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
  
<includeonly>{{#if:{{{nocat|}}}| |[[Category:GNU GPL Licensed pages]]}}</includeonly>
+
<includeonly>{{#if:{{{nocat|}}}| |[[Category:GNU GPL Licensed pages]]}}</includeonly><noinclude>
 +
 
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 03:58, 10 February 2019

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.