Template:Attribution/doc: Difference between revisions

From FamilySearch Wiki
m (Resolve duplicate arguments in template calls)
(Dan ; June)
(3 intermediate revisions by one other user not shown)
Line 11: Line 11:
|3d=Name not linked
|3d=Name not linked
|3def=
|3def=
|2stat=optional
|4=text
|4=text
|4d=Custom attribution text
|4d=Custom attribution text
Line 21: Line 22:
|usergroup=all
|usergroup=all
|placement=license
|placement=license
|usage-notes=
|type=license tag
|type=license tag
|example=
|example=
Line 32: Line 34:
}}  
}}  


=== Examples ===
=== Example ===
 
:'''<nowiki>{{Attribution|nolink=[http://en.wikipedia.org/wiki/User:Bedford C. Bedford Crenshaw]}}</nowiki>'''
 
::renders as: <br><br>{{Attribution|nolink=[http://en.wikipedia.org/wiki/User:Bedford C. Bedford Crenshaw]}}
 
'''Note:''' As shown above, a set of square brackets around a URL will create a link '''''even''''' in the so called nolink parmeter. This is useful for ''FamilySearch Wiik'' users that have problems with User names from Wikimedia Commons in the first parameter. A more normal use of the parameters in this template is demonstraed below.<br> <br>


:'''<nowiki>{{Attribution|nolink=Dan Q. Copyrightholder|text=Copyright © June 2006 Dan Q. Copyrightholder.}}</nowiki>'''
:'''<nowiki>{{Attribution|nolink=Dan Q. Copyrightholder|text=Copyright © June 2006 Dan Q. Copyrightholder.}}</nowiki>'''


::renders as: <br><br>{{Attribution|nolink=Dan Q. Copyrightholder|text=Copyright © June 2006 Dan Q. Copyrightholder.}}
::renders as: <br><br>{{Attribution|nolink=Dan Q. Copyrightholder|text=Copyright © June 2006 Dan Q. Copyrightholder.}}

Revision as of 15:39, 23 November 2012

This license template is for media files which only require attribution.

The template automatically sets the following categories: Category:Attribution

Usage

{{Attribution|1=|2=|nolink=|text=}}

Parameters

Parameter name Description Default value required or optional?

parameter #1 (1) Username (including "User:") empty optional
parameter #2 (2) Full name empty optional
nolink Name not linked empty optional
text Custom attribution text empty optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement: In the "permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licence" section

Example

{{Attribution|nolink=Dan Q. Copyrightholder|text=Copyright © June 2006 Dan Q. Copyrightholder.}}
renders as:

© The copyright holder of this file, Dan Q. Copyrightholder, allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.
Attribution: Copyright © June 2006 Dan Q. Copyrightholder.