Template:Infobox law firm/doc

From Pantonian Republic Wiki
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{logo}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
Headquarters{{{headquarters}}}
No. of offices{{{num_offices}}}
Offices{{{offices}}}
No. of attorneys{{{num_attorneys}}}
No. of employees{{{num_employees}}}
Major practice areas{{{practice_areas}}}
Key people{{{key_people}}}
Revenue{{{revenue}}}
Profit per equity partner{{{profit_per_equity_partner}}}
Date founded{{{date_founded}}}
Founder{{{founder}}}
Company type{{{company_type}}}
Traded as{{{traded_as}}}
Dissolved{{{dissolved}}}
Website{{{website}}}

This template creates an infobox with the general information relevant to a law firm. It is roughly based on Template:Infobox company but with law firm-related fields added (e.g., Number of Attorneys) and non-relevant fields eliminated (e.g., Products). The infobox is not designed to contain all the information about a law firm, just the quick facts people usually want to look up.

Simply copy the following code and paste it at the top of the law firm entry, then fill in the blanks. The firm_name, num_offices, num_attorneys, and date_founded fields are obligatory. Other entries left blank will be excluded from the displayed infobox. To change the label from "Attorneys" to "Lawyers", use |num_lawyers= instead of |num_attorneys=.

{{Infobox law firm
| name                      =
| logo                      =
| image_size                =
| alt                       =
| headquarters              = <!-- city or, e.g., "Decentralized" -->
| num_offices               =
| offices                   = <!-- Specify the firm's offices -->
| num_attorneys             = <!-- or | num_lawyers = -->
| num_employees             = <!-- Total employees, including attorneys and staff -->
| practice_areas            = <!-- MAJOR practice areas only; if they do all areas, then use "General practice" -->
| key_people                = <!-- chairmen and CEOs, not every famous lawyer in the firm -->
| revenue                   = <!-- amount (year) -->
| profit_per_equity_partner = <!-- amount (year) -->
| date_founded              = <!-- use {{start date|YYYY|MM|DD}} -->
| founder                   =
| company_type              = <!-- e.g., [[Limited liability partnership]] or [[Professional corporation]] -->
| traded_as                 = <!-- e.g., {{LSE|DWF}} -->
| dissolved                 = <!-- use {{end date|YYYY|MM|DD}} and reason the company dissolved, e.g., merger or bankruptcy -->
| website                   = <!-- {{URL|example.com}} -->
}}

Example

Sample Law Firm LLP
Sample Law Firm logo
HeadquartersPretoria, South Africa
No. of offices7
OfficesHong Kong, London, New York, Paris, Pretoria, Singapore, Sydney
No. of attorneys250+
No. of employees550+
Major practice areasGeneral practice, especially admiralty law
Key people
  • Billy Bob Partner (Chairman)
  • Missy Smith (CEO)
RevenueIncrease $1.7 billion (1997)
Profit per equity partner$1.2 million (1997)
Date foundedSeptember 20, 1997 (1997-09-20)
Company typeLimited liability partnership
Traded asNYSEEXAMPLE
DissolvedSeptember 21, 1997 (1997-09-21) (merger with Other Law Firm LLC)
Websiteexample.com

Suppose we fill in the blanks like this:

{{Infobox law firm
| name                        = Sample Law Firm LLP
| logo                        = Tux.svg
| image_size                  = 100px
| alt                         = Sample Law Firm logo
| headquarters                = [[Pretoria]], South Africa
| num_offices                 = 7
| offices                     = Hong Kong, London, New York, Paris, Pretoria, Singapore, Sydney
| num_attorneys               = 250+
| num_employees               = 550+
| practice_areas              = General practice, especially [[admiralty law]]
| key_people                  = {{Unbulleted list|Billy Bob Partner (Chairman)|Missy Smith (CEO)}}
| revenue                     = {{increase}} $1.7 billion (1997)
| profit_per_equity_partner   = $1.2 million (1997)
| date_founded                = {{start date|1997|09|20}}
| founder                     =
| company_type                = [[Limited liability partnership]]
| traded_as                   = {{NYSE|EXAMPLE}}
| homepage                    = {{URL|example.com}}
| dissolved                   = {{end date|1997|09|21}} (merger with Other Law Firm LLC)
}}

The infobox will display like this on the right. Notice the founder field is not displayed because we left it blank.

Microformat

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Infobox law firm

<templatedata> { "description": "Creates an infobox for law firms", "params": { "name": { "aliases": [ "firm_name" ], "label": "name", "description": "overrides the name at the top of the infobox", "type": "string" }, "logo": { "aliases": [ "firm_logo" ], "label": "logo", "description": "filename of logo – e.g., Example.png", "type": "string" }, "image_size": { "aliases": [ "imagesize" ], "label": "image_size", "description": "size in pixels, e.g., 100px" }, "alt": { "label": "alt", "description": "hidden caption for accessibility per WP:ALT" }, "headquarters": { "label": "headquarters", "description": "where the law firm's HQ is based", "type": "string" }, "num_offices": { "label": "num_offices", "description": "number of offices", "type": "string" }, "offices": { "label": "offices", "description": "offices", "type": "string" }, "num_attorneys": { "aliases": [ "num_lawyers" ], "label": "num_attorneys", "description": "how many attorneys/lawyers are employed", "type": "string" }, "num_employees": { "label": "num_employees", "description": "total number of employees", "type": "string" }, "practice_areas": { "label": "practice_areas", "description": "MAJOR practice areas only; if they do all areas, then enter 'General practice'", "type": "string" }, "key_people": { "label": "key_people", "description": "chairmen and CEOs, not every famous lawyer in the firm", "type": "string" }, "revenue": { "label": "revenue", "description": "revenue (year)", "type": "string" }, "profit_per_equity_partner": { "label": "profit_per_equity_partner", "description": "revenue (year)", "type": "string" }, "date_founded": { "label": "date_founded", "description": "foundation date", "type": "string" }, "founder": { "label": "founder", "description": "name of founder, with wikilink", "type": "string" }, "company_type": { "label": "company_type ", "description": "e.g., Limited liability partnership", "type": "string" }, "traded_as": { "label": "traded_as", "description": "if applicable, stock symbol of a publicly-traded law firm", "type": "string" }, "dissolved": { "label": "dissolved", "description": "year dissolved", "type": "string" }, "website": { "aliases": [ "homepage" ], "label": "website", "description": "e.g., example.com", "type": "string" } }, "paramOrder": [ "name", "logo", "image_size", "alt", "headquarters", "num_offices", "offices", "num_attorneys", "num_employees", "practice_areas", "key_people", "revenue", "profit_per_equity_partner", "date_founded", "founder", "company_type", "traded_as", "dissolved", "website" ] } </templatedata>

See also