Template:ProtoPix: Difference between revisions

From Protoball
Jump to navigation Jump to search
(Template:Proto Pic decade fixup)
(Template:Proto Pic: set Pic Year fixup)
Line 20: Line 20:
</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:Source Image={{{Source Image|}}}}}{{#set:Coordinates={{{Coordinates|}}}}}{{#set:Pic Decade={{#sub:{{#time:Y|{{{Date|}}}}}|0|3}}0s}}{{#set:Pic Year={{#time:Y|{{{Date|}}}}}
</noinclude><includeonly>{{#default_form:Proto Pic}}{{Proto Pics Box}}{{#set:Title={{{Title|}}}}}{{#set:Source Image={{{Source Image|}}}}}{{#set:Coordinates={{{Coordinates|}}}}}{{#set:Pic Decade={{#sub:{{#time:Y|{{{Date|}}}}}|0|3}}0s}}{{#set:Pic Year={{#time:Y|{{{Date|}}}}}}}
{| class="stats"
{| class="stats"
! Source Image
! Source Image

Revision as of 12:45, 26 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=
|Pic Location=
|Coordinates=
|Pic Decade=
|Pic Year=
}}

Edit the page to see the template text.