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")
No edit summary
 
(4 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:{{#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}}}
{{!}}- | }}
{{ #if: {{{origin_board|}}} | {{!}}'''Board''' {{!}}{{!}} [[Has board::{{{origin_board}}}| ]] [[{{{origin_board}}}]]
{{!}}- | }}
{{!}}- | }}
{{ #if: {{{origin_label|}}} | {{!}}'''Label''' {{!}}{{!}} {{{origin_label}}}
{{ #if: {{{origin_label|}}} | {{!}}'''Label''' {{!}}{{!}} {{{origin_label}}}

Latest revision as of 01:53, February 10, 2025