Template:Prototype: Difference between revisions
Jump to navigation
Jump to search
(Support multiple dumpers for a prototype) |
(make the lot check case insensitive) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 20: | Line 20: | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{status|}}} | {{!}}'''Dump status''' {{!}}{{!}} [[Has status::{{{status}}}]] | {{ #if: {{{status|}}} | {{!}}'''Dump status''' {{!}}{{!}} [[Has status::{{{status}}}]] | ||
{{!}}- | }} | |||
{{ #if: {{{datstatus|}}} | {{!}}'''Dat status''' {{!}}{{!}} [[Has status::{{{datstatus}}}]] | |||
{{!}}- | }} | {{!}}- | }} | ||
{{#arraydefine: dumped_bys | {{#arraydefine: dumped_bys | ||
Line 33: | Line 35: | ||
{{ #if: {{{releasedby|}}} | {{!}}'''Released by''' {{!}}{{!}} {{#arrayprint:released_bys|, |@@@@|[[Was released by::@@@@| ]]{{Autolink user|@@@@}}|}} | {{ #if: {{{releasedby|}}} | {{!}}'''Released by''' {{!}}{{!}} {{#arrayprint:released_bys|, |@@@@|[[Was released by::@@@@| ]]{{Autolink user|@@@@}}|}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{filedumpdate|}}} | {{!}}'''File dump date''' {{!}}{{!}} [[Has file dump date::{{{filedumpdate}}}]] | |||
{{!}}- | }} | |||
{{ #if: {{{filereleasedate|}}} | {{!}}'''File release date''' {{!}}{{!}} [[Has file release date::{{{filereleasedate}}}]] {{ #if: {{{builddate|}}} | | [[Has sort date::{{{filereleasedate}}}| ]] }} | {{ #if: {{{filereleasedate|}}} | {{!}}'''File release date''' {{!}}{{!}} [[Has file release date::{{{filereleasedate}}}]] {{ #if: {{{builddate|}}} | | [[Has sort date::{{{filereleasedate}}}| ]] }} | ||
{{!}}- | {{ #if: {{{builddate|}}} | | [[Has sort date::1970| ]] }} }} | {{!}}- | {{ #if: {{{builddate|}}} | | [[Has sort date::1970| ]] }} }} | ||
Line 38: | Line 42: | ||
{{!}} style="padding-top: 14px" {{!}} {{{origin_type}}} | {{!}} style="padding-top: 14px" {{!}} {{{origin_type}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_lot|}}} | {{!}}'''Lot''' {{!}}{{!}} [[Has origin lot::{{{origin_lot}}}]] | {{ #if: {{{origin_lot|}}} | {{!}}'''Lot''' {{!}}{{!}} [[Has origin lot::{{{origin_lot}}}]] [[Category:{{#regex: {{{origin_lot}}} | /(.*) lot$/i | $1}} lot prototypes]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_eproms|}}} | {{!}}'''EPROMs''' {{!}}{{!}} {{{origin_eproms}}} | {{ #if: {{{origin_eproms|}}} | {{!}}'''EPROMs''' {{!}}{{!}} {{{origin_eproms}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
Line 72: | Line 76: | ||
{{ #switch: {{{unreleased|}}} | yes | Yes = {{!}}'''Release date''' {{!}}{{!}} Unreleased [[Category:Unreleased game prototypes]] [[Is unreleased::true| ]] | {{ #switch: {{{unreleased|}}} | yes | Yes = {{!}}'''Release date''' {{!}}{{!}} Unreleased [[Category:Unreleased game prototypes]] [[Is unreleased::true| ]] | ||
{{!}}- | [[Is unreleased::false| ]] }} | {{!}}- | [[Is unreleased::false| ]] }} | ||
{{ #if: {{{news_page|}}} | {{!}} style="padding-top: 14px" {{!}}'''Article''' | |||
{{!}} style="padding-top: 14px" {{!}} [[{{{news_page}}}|{{#replace:{{#regex: {{{news_page}}} | /News\/(.*?)/ | $1}}|_|<nowiki/> <nowiki/>}} ]] | |||
{{!}}- | [[Is community release::true| ]] }} | |||
|} | |} | ||
|}{{#default_form:Prototype}}</includeonly> | |}[[Has article type::Prototype| ]]{{#default_form:Prototype}}</includeonly> |