Template:Creditline: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
mNo edit summary
imported>Caesar Schinas
mNo edit summary
Line 2: Line 2:
{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
|C|A=©
|C|A=©
|{{#if:{{{1|}}}|({{{1}}})|©}}
|{{#if:{{{1|}}}
}}
|{{#if:{{{3|}}}
{{#if:{{{3|}}}|{{{2|Image}}}: {{{3}}}|{{{2|Image}}} }}
  |({{{1}}})
  |{{{1}}}
  }}
|©
}}
}} {{#if:{{{3|}}}|{{{2|Image}}}: {{{3}}}|{{{2|Image}}} }}
</span></includeonly><noinclude>{{TlDoc}}[[Category:Credit lines]]</noinclude>
</span></includeonly><noinclude>{{TlDoc}}[[Category:Credit lines]]</noinclude>

Revision as of 05:03, 5 June 2009

This documentation is transcluded from Template:Creditline/doc (edit | history)

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