Difference between revisions of "Template:Prototype"

From Hidden Palace
Jump to navigation Jump to search
(Allow custom sorting of protos without build dates)
(Support multiple dumpers for a prototype)
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
{{!}}- | }}
 
{{!}}- | }}
 
{{ #if: {{{builddate|}}} | {{!}}'''Build date''' {{!}}{{!}} [[Has build date::{{{builddate}}}]] [[Has sort date::{{{builddate}}}| ]]  
 
{{ #if: {{{builddate|}}} | {{!}}'''Build date''' {{!}}{{!}} [[Has build date::{{{builddate}}}]] [[Has sort date::{{{builddate}}}| ]]  
{{!}}- | {{ #if: {{{filereleasedate|}}} | |  [[Has sort date::1970| ]] }} }} }}
+
{{!}}- | {{ #if: {{{filereleasedate|}}} | |  [[Has sort date::1970| ]] }} }}
 
{{ #if: {{{buildname|}}} | {{!}}'''Build name''' {{!}}{{!}} [[Has build name::{{{buildname}}}]]
 
{{ #if: {{{buildname|}}} | {{!}}'''Build name''' {{!}}{{!}} [[Has build name::{{{buildname}}}]]
 
{{!}}- | }}
 
{{!}}- | }}
 
{{ #if: {{{status|}}} | {{!}}'''Dump status''' {{!}}{{!}} [[Has status::{{{status}}}]]
 
{{ #if: {{{status|}}} | {{!}}'''Dump status''' {{!}}{{!}} [[Has status::{{{status}}}]]
 
{{!}}- | }}
 
{{!}}- | }}
{{ #if: {{{dumper|}}} | {{!}}'''Dumped by''' {{!}}{{!}} {{Autolink user|{{{dumper}}} }} [[Was dumped by::{{{dumper}}}| ]]
+
{{#arraydefine: dumped_bys
 +
| {{{dumper|}}}
 +
| , | sort=asc, unique
 +
}}
 +
{{ #if: {{{dumper|}}} | {{!}}'''Dumped by''' {{!}}{{!}} {{#arrayprint:dumped_bys|, |@@@@|[[Was dumped by::@@@@| ]]{{Autolink user|@@@@}}|}}
 
{{!}}- | }}
 
{{!}}- | }}
 
{{#arraydefine: released_bys
 
{{#arraydefine: released_bys

Latest revision as of 23:17, June 30, 2021