Template:ProtoPix: Difference between revisions

From Protoball
Jump to navigation Jump to search
(Template:Proto Pic links fixup)
(Template:Proto Pic title diff from PAGENAME)
Line 22: Line 22:
</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"
|- {{#ifeq: {{#replace:{{PAGENAME}}|Proto Pic:|}}|{{{Title|}}}||class=hidden}}
! Title
| {{{Title|}}} (page to be moved)
|-
! Source Image
! Source Image
| [[Image:{{{Source Image|}}}|left|thumb]]
| [[Image:{{{Source Image|}}}|left|thumb]]

Revision as of 08:19, 27 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.