Template:Prototype: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(prevent duplicate "lot" from showing in lot category name if the lot name already contains the word "lot") |
||
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$/ | $1}} lot prototypes]] | ||
{{!}}- | }} | {{!}}- | }} | ||
{{ #if: {{{origin_eproms|}}} | {{!}}'''EPROMs''' {{!}}{{!}} {{{origin_eproms}}} | {{ #if: {{{origin_eproms|}}} | {{!}}'''EPROMs''' {{!}}{{!}} {{{origin_eproms}}} |