Cambios

Plantilla:BSD/doc

1543 bytes añadidos, 04:42 21 dic 2011
m
switch {{code}}s to <code>s
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

=== Usage ===
This template defaults to the 3-clause version, but may be used for any of the [[w:BSD licenses]], by adding a parameter:
:{{tlx|BSD|4}} — This will show the original [[w:BSD licenses#4-clause|4-clause license]].
:{{tlx|BSD|3}} — This is the same as {{tl|BSD}}, and will show the new [[w:BSD licenses#3-clause|3-clause license]].
:{{tlx|BSD|2}} — This will show the FreeBSD [[w:BSD licenses#2-clause|2-clause license]].
:{{tlx|BSD}}&nbsp;&nbsp;&nbsp;&nbsp; — This will show the same as {{[[Template:BSD|BSD]]|3}}, and will show the new [[w:BSD licenses#3-clause|3-clause license]].

The text of the license may be customized with the <code>year</code>, <code>owner</code> and <code>organization</code> parameters:
:<code><nowiki>{{BSD|4|year=2009|owner=[[User:Jimbo Wales|Jimbo Wales]]|organization=the Wikimedia Foundation}}</nowiki></code> gives:
{{BSD|4|year=2009|owner=[[User:Jimbo Wales|Jimbo Wales]]|organization=the Wikimedia Foundation}}
:<code><nowiki>{{BSD|3|year=2009|owner=[http://en.wikipedia.org/wiki/User:Jimbo_Wales Jimbo Wales]}}</nowiki></code> gives:
{{BSD|3|year=2009|owner=[[User:Jimbo Wales|Jimbo Wales]]}}
:<code><nowiki>{{BSD|2|year=2009}}</nowiki></code> gives:
{{BSD|2|year=2009}}
:<code><nowiki>{{BSD}}</nowiki></code> gives:
{{BSD}}

=== See also ===

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

</includeonly>
Usuario anónimo