Template:Creditline/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Hayford Peirce
(→‎Examples: created)
imported>Hayford Peirce
(→‎Examples: is this right?)
 
Line 11: Line 11:
! Code !! Result
! Code !! Result
|-
|-
|<code><nowiki>{{creditline|CC|Photo|John Doe}}</nowiki></code>
|<code><nowiki>{{creditline|CC|Photo|Jerry Bauer}}</nowiki></code>
|{{creditline|CC|Photo|Hayford Peirce}}
|{{creditline|CC|Photo|Hayford Peirce}}

Latest revision as of 22:01, 23 March 2015

This template is for creating credit lines for images on CZ.

Usage

The template takes three optional arguments - {{creditline|licence|imagetype|author}}.

  1. Optional — letters representing the licence, such as CC or GNU. The letter C inserts © and is the default.
  2. Optional — the type of image, such as Photo or Drawing. Default is Image.
  3. Optional — the name of the author, such as John Doe. Leave blank for no name.

Examples

Code Result
{{creditline|CC|Photo|Jerry Bauer}} (CC) Photo: Hayford Peirce