Template:Lock model

From Lockwiki
(Difference between revisions)
Jump to: navigation, search
(Added "Other names" option for foreign/etc purposes)
 
(58 intermediate revisions by one user not shown)
Line 3: Line 3:
 
{| class="infobox" style="width:23em; font-size:0.9em; line-height:1.4em; text-align:left;"
 
{| class="infobox" style="width:23em; font-size:0.9em; line-height:1.4em; text-align:left;"
 
|-
 
|-
{{#if: {{{model|}}}|
+
| 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}}} {{{model}}}''' | '''{{{name}}}'''
+
}}
+
 
|-
 
|-
| colspan="2" | {{#if: {{{img|}}} | {{{img}}} | }}
+
{{#if:{{{Img|}}}|
{{#if: {{{model|}}} | {{!}}-
+
{{!}} colspan="2" style="text-align:center;" {{!}}
{{!}} '''Name''' {{!}}{{!}} {{{name}}} {{{model}}}
+
[[{{{Img}}}|{{#if:{{{Img_size|}}}|{{{Img_size}}}px|240px}}|{{{Img_capt|}}}]]<br /><div><small>{{{Img_capt|}}}</small></div>}}
| {{!}}-
+
{{!}} '''Name''' {{!}}{{!}} {{{name}}}
+
{{!}}-
+
{{!}} '''Model''' {{!}}{{!}} {{{model|n/a}}}}}
+
 
|-
 
|-
| '''Manufacturer''' || {{{maker}}}
+
! '''Name'''
 +
| {{{name|n/a}}}
 
|-
 
|-
| '''[[Lock#Lock_Types|Lock Type]]''' || {{{lock_type|n/a}}}
+
{{#if: {{{alt_name|}}}|
|-
+
{{!}} '''Other names''' {{!}}{{!}} {{{alt_name}}}
| '''[[Lock#Lock_Designs|Lock Design]]''' || {{{lock_design|n/a}}}
+
|-
+
| '''Year(s) Produced''' || {{{years_produced|n/a}}}
+
{{#if: {{{ratings|}}} | {{!}}-
+
{{!}} '''[[Security Rating{{!}}Security Rating(s)]]''' {{!}}{{!}} {{{ratings}}}}
+
| }}
+
 
+
{{#if: {{{specs_off|}}} | | {{!}}-
+
{{!}} colspan="2" style="text-align:center; line-height:1.5em; background:#b0c4de;" {{!}} '''Specifications'''
+
 
{{!}}-
 
{{!}}-
{{!}} '''# of Components''' {{!}}{{!}} {{{spec_comp|n/a}}}
+
}}
 +
{{#if: {{{model|}}}|
 +
{{!}} '''Model''' {{!}}{{!}} {{{model}}}
 
{{!}}-
 
{{!}}-
{{!}} '''Component Type''' {{!}}{{!}} {{{spec_comptype|n/a}}}
+
}}
 +
{{#if: {{{maker|}}}|
 +
{{!}} '''Manufacturer''' {{!}}{{!}} {{{maker}}}
 
{{!}}-
 
{{!}}-
{{!}} '''Anti-manipulation''' {{!}}{{!}} {{{spec_manip|n/a}}}
+
}}
 +
{{#if: {{{lock_type|}}}|
 +
{{!}} '''[[Lock#Lock_Types{{!}}Lock Type]]''' {{!}}{{!}} {{{lock_type}}}
 
{{!}}-
 
{{!}}-
{{!}} '''Anti-forced Entry''' {{!}}{{!}} {{{spec_forced|n/a}}}
 
 
}}
 
}}
 
+
{{#if: {{{lock_design|}}}|
{{#if: {{{related|}}} | {{!}}-
+
{{!}} '''[[Lock#Lock_Designs{{!}}Lock Design]]''' {{!}}{{!}} {{{lock_design}}}
{{!}} 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: {{{years_produced|}}}|
{{Lock_model
+
{{!}} '''Year(s) Produced''' {{!}}{{!}} {{{years_produced}}}
| name          = Abloy Classic
+
{{!}}-
| maker          = [[Abloy]]
+
| lock_type      = Varied
+
| lock_design    = [[Disc_detainer|Disc-detainer]]
+
 
}}
 
}}
 +
{{#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'''
 +
{{!}}-
  
<pre>{{Lock_model
+
{{#if: {{{spec_comp|}}}|
| name          = Master Lock
+
! '''# of Components'''
| maker          = [[Master_Lock|Master Lock]]
+
{{!}} {{{spec_comp}}}
| lock_type      = [[Padlock]]
+
{{!}}-
| lock_design    = [[Pin_tumbler|Pin-tumbler]]
+
}}
| years_produced = 1920-Current
+
{{#if: {{{spec_comptype|}}}|
}}</pre>
+
! '''Component Type'''
 
+
{{!}} {{{spec_comptype}}}
</noinclude>
+
{{!}}-
 +
}}
 +
{{#if: {{{spec_manip|}}}|
 +
! '''Anti-manipulation'''
 +
{{!}} {{{spec_manip}}}
 +
{{!}}-
 +
}}
 +
{{#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