Template:Attribution/doc: Difference between revisions

From FamilySearch Wiki
m (Resolve duplicate arguments in template calls)
(Created page with "{{TemplateBox |1=1 |1d=Username (including "User:") |1def= |1stat=optional |2=2 |2d=Full name |2def= |2stat=optional |3=nolink |3d=Name not linked |3def= |2stat=optional |4=text ...")
(7 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 30: Line 32:
|shorthand=
|shorthand=
|relieson=
|relieson=
}}
}}
 
=== Examples  ===
 
:'''<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>'''
 
::renders as: <br><br>{{Attribution|nolink=Dan Q. Copyrightholder|text=Copyright © June 2006 Dan Q. Copyrightholder.}}

Revision as of 08:56, 1 June 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