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
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="font-size:0.8em; color:rgb(125, 125, 125);">
<includeonly><span style="font-size:0.8em; color:rgb(125, 125, 125);">{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
|C|A=&copy;
|C|A=&copy;
|{{#if:{{{1|}}}|({{{1}}})|&copy;}}
|{{#if:{{{1|}}}
}}
|{{#if:{{{3|}}}
{{{2|Image}}}
  |({{{1}}})
{{#if:{{{3|}}}|:&nbsp;{{{3}}} }}
  |{{{1}}}
</span></includeonly><noinclude>{{TlDoc}}[[Category:Credit lines]]</noinclude>
  }}
|&copy;
}}
}}&nbsp;{{#if:{{{3|}}}|{{ucfirst:{{{2|Image}}}}}:&nbsp;{{{3}}}|{{ucfirst:{{{2|Image}}}}} }}</span></includeonly><noinclude>{{TlDoc}}[[Category:Credit lines]]</noinclude>

Latest revision as of 02:23, 6 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