Template:Lock model

From Lockwiki
(Difference between revisions)
Jump to: navigation, search
(Added "Other names" option for foreign/etc purposes)
 
(68 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="align:right;">
 
  
{| style="border: 1px solid #aaaaaa; background:#f9f9f9; padding:10px;"
+
{| class="infobox" style="width:23em; font-size:0.9em; line-height:1.4em; text-align:left;"
|+ style="text-align:center; font-size:1.4em; line-height:1.3em; background:#b0c4de;" | '''{{{name}}}'''
+
 
|-
 
|-
| '''Name''' || {{{name}}}
+
| colspan="2" style="text-align:center; font-size:1.4em; line-height:1.3em; background:#b0c4de;" | '''{{{name}}}'''
 
|-
 
|-
| '''Model''' || {{{model|n/a}}}
+
{{#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>}}
 
|-
 
|-
| '''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}}}
+
|+
+
! colspan="2" style="text-align:center; line-height:1.5em; background:#b0c4de;" | '''Related Locks'''
+
|-
+
| style="text-align:center;" | {{{related|n/a}}}
+
|}
+
 
+
</div>
+
</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: {{{model|}}}|
{{Lock_model
+
{{!}} '''Model''' {{!}}{{!}} {{{model}}}
| name          = Abloy Classic
+
{{!}}-
| maker          = [[Abloy]]
+
| lock_type      = Varied
+
| lock_design    = [[Disc_detainer|Disc-detainer]]
+
 
}}
 
}}
 +
{{#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'''
 +
{{!}}-
  
<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