Template:Prototype: Difference between revisions
Jump to navigation
Jump to search
m (Fix property visibility) |
(make the lot check case insensitive) |
||
(49 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px" | <includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px" | ||
| style="text-align: center;" | | | style="text-align: center;" | {{#if: {{{noscreen|}}} | | {{imageexists | ||
{{#if: {{{noscreen|}}} | | {{imageexists | | file = {{#if: {{{titlescreen|}}} | {{{titlescreen}}} | {{PAGENAME}}-title.png }} | ||
| file | |||
| maxwidth = 320 | | maxwidth = 320 | ||
| caption= Title Screen | | caption= Title Screen | ||
| missingcat | | property= Has title screenshot | ||
| missingcat = Missing title screenshots }}}} | |||
|-class="infobox-title" | |-class="infobox-title" | ||
! {{ # | ! {{#replace:{{PAGENAME}}|!|!}} | ||
|- | |- | ||
|style="padding: 10px; line-height: 1.5em;" | | |style="padding: 10px; line-height: 1.5em;" | | ||
{| | {| | ||
{{ #if: {{{date|}}} | {{!}}'''Date''' {{!}}{{!}} {{{date}}} | {{ #if: {{{date|}}} | {{!}}'''Date''' {{!}}{{!}} {{{date}}} | ||
Line 17: | Line 15: | ||
{{ #if: {{{version|}}} | {{!}}'''Version''' {{!}}{{!}} {{{version}}} | {{ #if: {{{version|}}} | {{!}}'''Version''' {{!}}{{!}} {{{version}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{builddate|}}} | {{!}}'''Build date''' {{!}}{{!}} [[Has build date::{{{builddate}}}]] | {{ #if: {{{builddate|}}} | {{!}}'''Build date''' {{!}}{{!}} [[Has build date::{{{builddate}}}]] [[Has sort date::{{{builddate}}}| ]] | ||
{{!}}- | }} | {{!}}- | {{ #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''' {{!}}{{!}} [[Was dumped by::{{{ | {{ #if: {{{datstatus|}}} | {{!}}'''Dat status''' {{!}}{{!}} [[Has status::{{{datstatus}}}]] | ||
{{!}}- | }} | |||
{{#arraydefine: dumped_bys | |||
| {{{dumper|}}} | |||
| , | sort=asc, unique | |||
}} | |||
{{ #if: {{{dumper|}}} | {{!}}'''Dumped by''' {{!}}{{!}} {{#arrayprint:dumped_bys|, |@@@@|[[Was dumped by::@@@@| ]]{{Autolink user|@@@@}}|}} | |||
{{!}}- | }} | |||
{{#arraydefine: released_bys | |||
| {{{releasedby|}}} | |||
| , | sort=asc, unique | |||
}} | |||
{{ #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: {{{builddate|}}} | | [[Has sort date::1970| ]] }} }} | |||
{{ #if: {{{origin_type|}}} | {{!}} style="padding-top: 14px" {{!}}'''Origin''' | {{ #if: {{{origin_type|}}} | {{!}} style="padding-top: 14px" {{!}}'''Origin''' | ||
{{!}} style="padding-top: 14px" {{!}} {{{origin_type}}} | {{!}} style="padding-top: 14px" {{!}} {{{origin_type}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_lot|}}} | {{!}}'''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}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_label|}}} | {{!}}'''Label''' {{!}}{{!}} {{{origin_label}}} | {{ #if: {{{origin_label|}}} | {{!}}'''Label''' {{!}}{{!}} {{{origin_label}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_labels|}}} | {{!}}'''Labels''' {{!}}{{!}} {{{origin_labels}}} | {{ #if: {{{origin_labels|}}} | {{!}}'''Labels''' {{!}}{{!}} [[Has origin labels::{{{origin_labels}}}]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_file|}}} | {{!}}'''File''' {{!}}{{!}} <small>{{{origin_file}}}</small> | {{ #if: {{{origin_file|}}} | {{!}}'''File''' {{!}}{{!}} <small>{{{origin_file}}}</small> | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_files|}}} | {{!}}'''Files''' {{!}}{{!}} <small>{{{origin_files}}}</small> | {{ #if: {{{origin_files|}}} | {{!}}'''Files''' {{!}}{{!}} <small>{{{origin_files}}}</small> }} [[Has origin files::{{{origin_files}}}|]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_dumpmethod|}}} | {{!}}'''Dump method''' {{!}}{{!}} {{{origin_dumpmethod}}} | {{ #if: {{{origin_dumpmethod|}}} | {{!}}'''Dump method''' {{!}}{{!}} {{{origin_dumpmethod}}} | ||
Line 45: | Line 59: | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{game|}}} | {{!}} style="padding-top: 14px" {{!}}'''Game''' | {{ #if: {{{game|}}} | {{!}} style="padding-top: 14px" {{!}}'''Game''' | ||
{{!}} style="padding-top: 14px" {{!}} [[ | {{!}} style="padding-top: 14px" {{!}} [[Has game::{{{game}}}]] [[Category:{{{game}}} prototypes]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{name|}}} | {{!}} style="padding-top: 14px" {{!}}'''Name''' | {{ #if: {{{name|}}} | {{!}} style="padding-top: 14px" {{!}}'''Name''' | ||
Line 56: | Line 70: | ||
{{ #if: {{{final_builddate|}}} | {{!}}'''Final build''' {{!}}{{!}} [[Has final build date::{{{final_builddate}}}]] | {{ #if: {{{final_builddate|}}} | {{!}}'''Final build''' {{!}}{{!}} [[Has final build date::{{{final_builddate}}}]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{release_date|}}} | {{!}}'''Release date''' {{!}}{{!}} {{{release_date}}} | {{ #if: {{{release_date|}}} | {{!}}'''Release date''' {{!}}{{!}} [[Has final release date::{{{release_date}}}]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{unreleased|}}} | {{!}}'''Release date''' {{!}}{{!}} Unreleased [[Category:Unreleased game prototypes]] [[Is unreleased::true| ]] | {{ #if: {{{sortnumber|}}} | [[Has sort number::{{{sortnumber}}}| ]] | [[Has sort number::999999| ]] }} | ||
{{ #if: {{{builtafter|}}} | [[Has built after::{{{builtafter}}}| ]] | {{ #if: {{{builddate|}}} | [[Has built after::{{{builddate}}}| ]] | {{ #if: {{{filereleasedate|}}} | [[Has built after::{{{filereleasedate}}}| ]] | [[Has built after::1970| ]] }} }} }} | |||
{{ #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| ]] }} | |||
|} | |} | ||
|} | |}[[Has article type::Prototype| ]]{{#default_form:Prototype}}</includeonly> | ||
</ | |||