Template:Prototype: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(make the lot check case insensitive) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 42: | Line 42: | ||
{{!}} style="padding-top: 14px" {{!}} {{{origin_type}}} | {{!}} style="padding-top: 14px" {{!}} {{{origin_type}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_lot|}}} | {{!}}'''Lot''' {{!}}{{!}} [[Has origin lot::{{{origin_lot}}}]] [[Category:{{{origin_lot}}} lot prototypes]] | {{ #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 76: | 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|}}} | {{!}}'''Article''' {{!}}{{!}} [[{{{news_page}}}]] | {{ #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> | |}[[Has article type::Prototype| ]]{{#default_form:Prototype}}</includeonly> |