Difference between revisions of "Template:Photo"

From CWCki
Jump to navigation Jump to search
m
(Undo revision 148897 by Joe (talk))
 
(8 intermediate revisions by 2 users not shown)
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|&#32;of [[Chris]]|{{#if: {{{1|}}}|{{{1}}}|}}}}, taken {{#ifeq: {{{3}}}|unknown|&#32;at an unknown time|{{#if: {{{3|}}}|&#32;on or around {{{3}}}|at an unknown time}}}}.''
 
{{#if: {{{2|}}}|''It was sourced from or taken by {{{2}}}''|''The source is unknown''}}.
 
</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>
Line 13: Line 16:
- Displays:{{Photo|Chris|a [[Trolls|troll]]}}
- Displays:{{Photo|Chris|a [[Trolls|troll]]}}


<center>'''<nowiki>{{</nowiki>photo<nowiki>|a [[troll]]|September 22 2011}}</nowiki>''' </center>
<center>'''<nowiki>{{</nowiki>photo<nowiki>|Chris|a [[troll]]|September 22 2011}}</nowiki>''' </center>


- Displays:{{Photo|a [[Trolls|troll]]|September 22, 2011}}
- Displays:{{Photo|Chris|a [[Trolls|troll]]|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.  
Please make sure you include your image in an article and don't just upload screen captures for the sake of it.  
}}
}}
[[Category:Image tags|{{PAGENAME}}]]</noinclude>
[[Category:Image tags|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:09, 28 September 2011

Camera.png
This image is a photo, taken at an unknown time.

The 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, taken at an unknown time.

The source is unknown.


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

- Displays:

Camera.png
This image is a photo of Chris, taken at an unknown time.

It was sourced from or taken by a troll.


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

- Displays:

Camera.png
This image is a photo of Chris, taken on or around September 22, 2011.

It was sourced from or taken by a troll.


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