• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Design patterns

  • Template
  • Talk
  • Language
  • Watch
  • Edit
(Redirected from Template:Design Patterns patterns)
  • v
  • t
  • e
Software design patterns
Gang of Four
patterns
Creational
  • Abstract factory
  • Builder
  • Factory method
  • Prototype
  • Singleton
Structural
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy
Behavioral
  • Chain of responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template method
  • Visitor
Concurrency
patterns
  • Active object
  • Balking
  • Binding properties
  • Double-checked locking
  • Event-based asynchronous
  • Guarded suspension
  • Join
  • Lock
  • Monitor
  • Proactor
  • Reactor
  • Read–write lock
  • Scheduler
  • Scheduled-task pattern
  • Semaphore
  • Thread pool
  • Thread-local storage
Architectural
patterns
  • Front controller
  • Interceptor
  • MVC
    • MVP
    • MVVM
  • ADR
  • ECS
  • n-tier
  • Specification
  • Publish–subscribe
  • Naked objects
  • Service locator
  • Active record
  • Identity map
  • Data access object
  • Data transfer object
  • Inversion of control
  • Model 2
  • Broker
Other
patterns
  • Blackboard
  • Business delegate
  • Composite entity
  • Dependency injection
  • Guard clause
  • Intercepting filter
  • Lazy loading
  • Mock object
  • Null object
  • Object pool
  • Servant
  • Twin
  • Type tunnel
  • Method chaining
  • Delegation
Books
  • Design Patterns
  • Enterprise Integration Patterns
People
  • Christopher Alexander
  • Erich Gamma
  • Ralph Johnson
  • John Vlissides
  • Grady Booch
  • Kent Beck
  • Ward Cunningham
  • Martin Fowler
  • Robert Martin
  • Jim Coplien
  • Douglas Schmidt
  • Linda Rising
Communities
  • The Hillside Group
  • Portland Pattern Repository
See also
  • Anti-pattern
  • Architectural pattern
Template documentation[view] [edit] [history] [purge]
This template does not display in the mobile view of Wikipedia; it is desktop only. See Template:Navbox visibility for a brief explanation.

This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{Design patterns}} below the standard article appendices.

Initial visibility

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{Design patterns|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Design patterns|state=expanded}} will show the template expanded, i.e. fully visible.

Templates using the classes class=navbox ({{navbox}}) or class=nomobile ({{sidebar}}) are not displayed in article space on the mobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included in articles because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watch phab:T124168 for further discussion.

TemplateData

A navigational box that can be placed at the bottom of articles.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Statestate

The initial visibility of the navbox

Suggested values
collapsed expanded autocollapse
Stringsuggested

Template transclusions

Transclusion maintenance
Check completeness of transclusions
The above documentation is transcluded from Template:Navbox documentation. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Design_patterns&oldid=1290837710"
Last edited on 17 May 2025, at 11:45

Languages

    • العربية
    • Български
    • Català
    • Deutsch
    • فارسی
    • Français
    • 한국어
    • Հայերեն
    • Italiano
    • 日本語
    • Norsk bokmål
    • Polski
    • Русский
    • Svenska
    • தமிழ்
    • Türkçe
    • Українська
    • Tiếng Việt
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 17 May 2025, at 11:45 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop