Template:Lock model

From Lockwiki
(Difference between revisions)
Jump to: navigation, search
(Added "Other names" option for foreign/etc purposes)
 
(62 intermediate revisions by one user not shown)
Line 5: Line 5:
 
| colspan="2" style="text-align:center; font-size:1.4em; line-height:1.3em; background:#b0c4de;" | '''{{{name}}}'''
 
| colspan="2" style="text-align:center; font-size:1.4em; line-height:1.3em; background:#b0c4de;" | '''{{{name}}}'''
 
|-
 
|-
| '''Name''' || {{{name}}}
+
{{#if:{{{Img|}}}|
 +
{{!}} colspan="2" style="text-align:center;" {{!}}
 +
[[{{{Img}}}|{{#if:{{{Img_size|}}}|{{{Img_size}}}px|240px}}|{{{Img_capt|}}}]]<br /><div><small>{{{Img_capt|}}}</small></div>}}
 
|-
 
|-
| '''Model''' || {{{model|n/a}}}
+
! '''Name'''
 +
| {{{name|n/a}}}
 
|-
 
|-
| '''Manufacturer''' || {{{maker}}}
+
{{#if: {{{alt_name|}}}|
|-
+
{{!}} '''Other names''' {{!}}{{!}} {{{alt_name}}}
| '''[[Lock#Lock_Types|Lock Type]]''' || {{{lock_type|n/a}}}
+
{{!}}-
|-
+
}}
| '''[[Lock#Lock_Designs|Lock Design]]''' || {{{lock_design|n/a}}}
+
{{#if: {{{model|}}}|
|-
+
{{!}} '''Model''' {{!}}{{!}} {{{model}}}
| '''Year(s) Produced''' || {{{years_produced|n/a}}}
+
{{!}}-
|-
+
| colspan="2" style="text-align:center; line-height:1.5em; background:#b0c4de;" | '''Related Locks'''
+
|-
+
| colspan="2" style="text-align:center;" | {{{related|n/a}}}
+
|}
+
 
+
</includeonly>
+
 
+
<noinclude>
+
=Template:Lock_model=
+
 
+
This template is used for pages on specific lock models.
+
 
+
== Usage ==
+
 
+
{{Lock_model
+
| name          = Master Lock
+
| maker          = [[Master_Lock|Master Lock]]
+
| lock_type      = [[Padlock]]
+
| lock_design    = [[Pin_tumbler|Pin-tumbler]]
+
| years_produced = 1920-Current
+
 
}}
 
}}
 +
{{#if: {{{maker|}}}|
 +
{{!}} '''Manufacturer''' {{!}}{{!}} {{{maker}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{lock_type|}}}|
 +
{{!}} '''[[Lock#Lock_Types{{!}}Lock Type]]''' {{!}}{{!}} {{{lock_type}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{lock_design|}}}|
 +
{{!}} '''[[Lock#Lock_Designs{{!}}Lock Design]]''' {{!}}{{!}} {{{lock_design}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{years_produced|}}}|
 +
{{!}} '''Year(s) Produced''' {{!}}{{!}} {{{years_produced}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{ratings|}}} |
 +
! '''[[Security Rating{{!}}Security Rating(s)]]'''
 +
{{!}} {{{ratings}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{patent|}}} |
 +
! '''Patent'''
 +
{{!}} {{{patent}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{spec_on|}}}|
 +
{{!}} colspan="2" style="text-align:center; line-height:1.5em; background:#b0c4de;" {{!}} '''Specifications'''
 +
{{!}}-
  
{{Lock_model
+
{{#if: {{{spec_comp|}}}|
| name          = Abloy Classic
+
! '''# of Components'''
| maker          = [[Abloy]]
+
{{!}} {{{spec_comp}}}
| lock_type      = Varied
+
{{!}}-
| lock_design    = [[Disc_detainer|Disc-detainer]]
+
 
}}
 
}}
 
+
{{#if: {{{spec_comptype|}}}|
<pre>{{Lock_model
+
! '''Component Type'''
| name          = Master Lock
+
{{!}} {{{spec_comptype}}}
| maker          = [[Master_Lock|Master Lock]]
+
{{!}}-
| lock_type      = [[Padlock]]
+
}}
| lock_design    = [[Pin_tumbler|Pin-tumbler]]
+
{{#if: {{{spec_manip|}}}|
| years_produced = 1920-Current
+
! '''Anti-manipulation'''
}}</pre>
+
{{!}} {{{spec_manip}}}
 
+
{{!}}-
</noinclude>
+
}}
 +
{{#if: {{{spec_forced|}}}|
 +
! '''Anti-forced Entry'''
 +
{{!}} {{{spec_forced}}}
 +
{{!}}-
 +
}}
 +
}}
 +
{{#if: {{{related|}}} |
 +
{{!}} colspan="2" style="text-align:center; line-height:1.5em; background:#b0c4de;" {{!}} '''Related Locks'''
 +
{{!}}-
 +
{{!}} colspan="2" style="text-align:center;" {{!}} {{{related|n/a}}}}}
 +
|}
 +
</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 09:43, 28 August 2009

[edit] [purge] Template-info.svg Template documentation

[edit] Template:Lock model

This template is used for pages on specific lock models.

[edit] Usage

Master Lock
Name Master Lock
Model No. 1
Manufacturer Master Lock
Lock Type Padlock
Lock Design Pin-tumbler
Year(s) Produced 1920-Current
Specifications
# of Components 4
Component Type Pin-tumblers



Abloy Classic
Name Abloy Classic
Manufacturer Abloy
Lock Type Varied
Lock Design Disc-detainer


{{Lock_model
| name           = Master Lock
| maker          = [[Master_Lock|Master Lock]]
| lock_type      = [[Padlock]]
| lock_design    = [[Pin_tumbler|Pin-tumbler]]
| years_produced = 1920-Current
}}
Personal tools