Template:ProtoPix: Difference between revisions

From Protoball
Jump to navigation Jump to search
(Template Newspaper Photo -> Proto Pic)
(Template:Proto Pic changes)
Line 5: Line 5:
{{Proto Pic
{{Proto Pic
|Title=
|Title=
|Newspaper=
|Source Image=
|Pic Category=
|Descriptors=
|Date=
|Date=
|Type of Date=Day, Month, Year, Circa, Decade
|Type of Date=Day, Month, Year, Circa, Decade
|Page Number=
|Published Date=
|Descriptors=
|Type of Published Date=Day, Month, Year, Circa, Decade
|Source Image=
|Source=
|Photo Year=
|Location=
|Coordinates=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#default_form:Proto Pic}}{{Proto Pics Box}}{{#set:Title={{{Title|}}}}}{{#set:Photo Year={{#time:Y|{{{Date|}}}}}}}{{#set:Source Image={{{Source Image|}}}}}
</noinclude><includeonly>{{#default_form:Proto Pic}}{{Proto Pics Box}}{{#set:Title={{{Title|}}}}}{{#set:Source Image={{{Source Image|}}}}}{{#set:Coordinates={{{Coordinates|}}}}}
{| class="stats"
{| class="stats"
! Newspaper
! Source Image
| [[Newspaper::{{{Newspaper|}}}]]
| [[Image:{{{Source Image|}}}|left|thumb]]
|-
|-
! Date {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}}
! Category
| {{Typed Date|{{{Date|}}}|{{{Type of Date|}}}}}
| {{#arraymap:{{{Pic Category|}}}|,|x|[[Pic Category::x]]}}
|- {{#if: {{{Page Number|}}}||class=hidden}}
! Page Number
| [[Page Number::{{{Page Number|}}}]]
|- {{#if: {{{Descriptors|}}}||class=hidden}}
|- {{#if: {{{Descriptors|}}}||class=hidden}}
! Descriptors
! Descriptors
| {{#arraymap:{{{Descriptors|}}}|,|x|[[Descriptors::{{ucfirst:x}}]]}}
| {{#arraymap:{{{Descriptors|}}}|,|x|[[Descriptors::{{ucfirst:x}}]]}}
|- {{#if: {{{Source Image|}}} || class=hidden }}
|-
! Source Image
! Date {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}}
| [[Image:{{{Source Image|}}}|left|thumb]]
| {{Typed Date|{{{Date|}}}|{{{Type of Date|}}}}}
|-
! Published Date {{#set:Published Date={{{Published Date|}}}|Type of Published Date={{{Type of Published Date|}}}}}
| {{Typed Date|{{{Published Date|}}}|{{{Type of Published Date|}}}}}
|-
! Location
| [[Location::{{{Location|}}}]]
|-
! Source
| [[Source::{{{Source|}}}]]
|}
|}
[[Category:Proto Pics]]
[[Category:Proto Pics]]
</includeonly>
</includeonly>

Revision as of 17:12, 13 December 2020

This is the "Proto Pic" template. It should be called in the following format:

{{Proto Pic
|Title=
|Source Image=
|Pic Category=
|Descriptors=
|Date=
|Type of Date=Day, Month, Year, Circa, Decade
|Published Date=
|Type of Published Date=Day, Month, Year, Circa, Decade
|Source=
|Location=
|Coordinates=
}}

Edit the page to see the template text.