Template:ProtoPix: Difference between revisions
Jump to navigation
Jump to search
(Photo Year) |
(ProtoPix template: add description field) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the " | This is the "ProtoPix" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{ | {{ProtoPix | ||
|Title= | |Title= | ||
| | |Source Image= | ||
|Pic Category= | |||
|Description= | |||
|Descriptors= | |||
|Date= | |Date= | ||
|Type of Date=Day, Month, Year, Circa, Decade | |Type of Date=Day, Month, Year, Circa, Decade | ||
| | |Published Date= | ||
| | |Type of Published Date=Day, Month, Year, Circa, Decade | ||
|Source | |Source= | ||
| | |Pic Location= | ||
|Coordinates= | |||
|Pic Decade= | |||
|Pic Year= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{#default_form: | </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}}|ProtoPix:|}}|{{{Title|}}}|class=hidden}} | ||
| [[ | ! Title | ||
| {{{Title|}}} (page to be moved) | |||
|- | |||
! Source Image | |||
| [[Image:{{{Source Image|}}}|left|thumb]] | |||
|- | |||
! Category | |||
| <span class="hidden">{{#arraymap:{{{Pic Category|}}}|,|x|[[Pic Category::x]]}}</span>{{#arraymap:{{{Pic Category|}}}|,|~|[[ProtoPix:~|~]]}} | |||
|- {{#if: {{{Description|}}}||class=hidden}} | |||
! Description | |||
| {{{Description|}}} | |||
|- {{#if: {{{Descriptors|}}}||class=hidden}} | |||
! Descriptors | |||
| <span class="hidden">{{#arraymap:{{{Descriptors|}}}|,|x|[[Descriptors::{{ucfirst:x}}]]}}</span>{{#arraymap:{{{Descriptors|}}}|,|~|[[ProtoPix:~|~]]}} | |||
|- | |- | ||
! Date {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}} | ! Date {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}} | ||
| {{Typed Date|{{{Date|}}}|{{{Type of Date|}}}}} | | {{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|}}}}} | |||
| | |- | ||
! Source | |||
| {{ | | [[Source::{{{Source|}}}]] | ||
|- | |- | ||
! | ! Location | ||
| [[ | | [[Pic Location::{{{Pic Location|}}}]] | ||
|} | |} | ||
[[Category: | [[Category:ProtoPix]] | ||
</includeonly> | </includeonly> |
Latest revision as of 08:29, 15 June 2023
This is the "ProtoPix" template. It should be called in the following format:
{{ProtoPix |Title= |Source Image= |Pic Category= |Description= |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.