Template:Prototype: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(make the lot check case insensitive) |
||
(2 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 78: | Line 78: | ||
{{ #if: {{{news_page|}}} | {{!}} style="padding-top: 14px" {{!}}'''Article''' | {{ #if: {{{news_page|}}} | {{!}} style="padding-top: 14px" {{!}}'''Article''' | ||
{{!}} style="padding-top: 14px" {{!}} [[{{{news_page}}}|{{#replace:{{#regex: {{{news_page}}} | /News\/(.*?)/ | $1}}|_|<nowiki/> <nowiki/>}} ]] | {{!}} style="padding-top: 14px" {{!}} [[{{{news_page}}}|{{#replace:{{#regex: {{{news_page}}} | /News\/(.*?)/ | $1}}|_|<nowiki/> <nowiki/>}} ]] | ||
{{!}}- | [[Is community release::true| | {{!}}- | [[Is community release::true| ]] }} | ||
|} | |} | ||
|}[[Has article type::Prototype| ]]{{#default_form:Prototype}}</includeonly> | |}[[Has article type::Prototype| ]]{{#default_form:Prototype}}</includeonly> |