Template:ProtoPix: Difference between revisions

From Protoball
Jump to navigation Jump to search
m (Dave moved page Template:Proto Pic to Template:ProtoPix)
(Template Proto Pic => ProtoPix)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Proto Pic" template.
This is the "ProtoPix" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Proto Pic
{{ProtoPix
|Title=
|Title=
|Source Image=
|Source Image=
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:ProtoPix}}{{ProtoPix 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}}
|- {{#ifeq: {{#replace:{{PAGENAME}}|ProtoPix:|}}|{{{Title|}}}|class=hidden}}
! Title
! Title
| {{{Title|}}} (page to be moved)
| {{{Title|}}} (page to be moved)
Line 47: Line 47:
| [[Pic Location::{{{Pic Location|}}}]]
| [[Pic Location::{{{Pic Location|}}}]]
|}
|}
[[Category:Proto Pics]]
[[Category:ProtoPix]]
</includeonly>
</includeonly>

Revision as of 16:07, 26 January 2021

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

{{ProtoPix
|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.