Difference between revisions of "Template:Photo"

From CWCki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<center><div style="width:60%; height:35px; padding-left:5px; padding-right:5px; padding-top:10px; padding-bottom:10px; border:2px solid #003F87; background: #d9e9ff;">
<center><div style="width:60%; height:35px; padding-left:5px; padding-right:5px; padding-top:10px; padding-bottom:10px; border:2px solid #003F87; background: #d9e9ff;">
[[File:Camera.png|right]]''This image is a photo {{#ifeq: {{{1}}}|Chris|of [[Chris]]}}{{#if: {{{1|}}}|{{{1}}}|}}. {{#if: {{{2|}}}|It was sourced from or taken by {{{2}}},|Its source is unknown.}} {{#if: {{{3|}}}| on around {{{3}}}.|}}''
[[File:Camera.png|right]]''This image is a photo {{#ifeq: {{{1}}}|Chris|of [[Chris]]|{{#if: {{{1|}}}|{{{1}}}|}}}}. {{#if: {{{2|}}}|It was sourced from or taken by {{{2}}},|Its source is unknown.}} {{#if: {{{3|}}}| on around {{{3}}}.|}}''
</div></center>
</div></center>
<includeonly>[[Category:Photographs]]{{#ifeq: {{{1}}}|Chris|[[Category:Photographs of Chris]]}}</includeonly>
<includeonly>[[Category:Photographs]]{{#ifeq: {{{1}}}|Chris|[[Category:Photographs of Chris]]}}</includeonly>

Revision as of 17:42, 22 September 2011

Camera.png
This image is a photo . Its source is unknown.

Usage

These usage notes will not be included in articles bearing this template.

This template is used for tagging images classed as photographs. To use this template, simply add the following tag to the "summary" field (note that this template has two parameters to specify the source and data of the photo):

{{photo}}

- Displays:

Camera.png
This image is a photo . Its source is unknown.


{{photo|Chris|a [[troll]]}}

- Displays:

Camera.png
This image is a photo of Chris. It was sourced from or taken by a troll,


{{photo|a [[troll]]|September 22 2011}}

- Displays:

Camera.png
This image is a photo a troll. It was sourced from or taken by September 22, 2011,


Please make sure you include your image in an article and don't just upload screen captures for the sake of it.