Template:Prototype: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
(prevent duplicate "lot" from showing in lot category name if the lot name already contains the word "lot")
(make the lot check case insensitive)
 
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:{{#regex: {{{origin_lot}}} | /(.*) lot$/ | $1}} 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}}}

Latest revision as of 16:24, March 2, 2024