# Capitalization

Source: https://watership.ca/style-guide/capitalization/

Which words get a capital letter, in headings, interface text, names, and acronyms.

A capital letter carries information. It says this is a name, this starts a sentence, this is an acronym. Software writing spends capitals on making a feature sound official or a heading sound important, and the information gets lost. When everything is capitalized, the reader can no longer tell a product from a feature or a label from a description.

The stock choice is sentence case nearly everywhere, with a capital only where it means something. Both source guides made the same choice, and interface text is where it matters most: “Create new project” reads as an instruction, and “Create New Project” reads as the name of something that doesn’t exist. Colons are in Punctuation.

## Sentence case

Sentence case capitalizes the first word and any word that would be capitalized in the middle of a sentence: a proper noun, an acronym, a product name. Everything else is lowercase. It applies to headings, page titles, list items, and every string in the interface.

## Names

Words that name a category stay lowercase: “the internet,” “the web,” “email,” “the cloud,” “open source.” Names of languages, operating systems, and third-party products keep the capitals their owners give them, and the terminology list records each one so nobody has to remember. That list, with the company’s acronyms, is the name list the mechanical checks in this section read. Spelling out an abbreviation at first use is `abbr-spell-out-first-use` in Abbreviations, notes, and tables.

### Sentence case in headings

Rule `cap-sentence-case-headings`: avoid, mechanical. Address: https://watership.ca/style-guide/capitalization/#cap-sentence-case-headings

**Use sentence case for headings and page titles.** Capitalize the first word and proper nouns only. This applies to every heading level and to the title of any page in the product or the documentation. The check compares every capitalized word after the first against the company’s name list and flags any that isn’t on it.

- Instead of: Managing Your Team Members
- Write: Managing your team members

### Sentence case in interface text

Rule `cap-sentence-case-interface`: avoid, mechanical. Address: https://watership.ca/style-guide/capitalization/#cap-sentence-case-interface

**Use sentence case in interface text.** Buttons, labels, menu items, tabs, tooltips, list items, and dialog titles capitalize the first word only, plus any proper noun. The check is the same as for headings: a capital after the first word must be on the company’s name list.

- Instead of: **Create New Project**
- Write: **Create new project**

### Exact product names

Rule `cap-product-names-exact`: never, mechanical. Address: https://watership.ca/style-guide/capitalization/#cap-product-names-exact

**Match a product or company name exactly.** Write “Acme Cloud” as the terminology list gives it, in every position, including the start of a sentence and a heading. A name with the wrong capitals is a wrong name.

- Instead of: Open ACME cloud and select a project.
- Write: Open Acme Cloud and select a project.

### Titles as published

Rule `cap-titles-as-published`: avoid, judgment. Address: https://watership.ca/style-guide/capitalization/#cap-titles-as-published

**Reproduce a title as it’s published when you name it.** A book, a report, or an outside page keeps its own capitals, which usually means title case. A page in your own product or documentation keeps its own too, which under this guide means sentence case. Don’t retitle either to fit the sentence around it. The same holds in a reference list: each entry keeps its source’s own capitals, so the list needs no title style of its own. In the example, the title carries the link, as Links and cross-references requires, and the link markup sits in a code span so you can see where the link starts and ends.

- Instead of: See the managing your team members page for the steps.
- Write: See `[Managing your team members](https://example.com/team)` for the steps.

### Lowercase generic features

Rule `cap-generic-features`: avoid, judgment. Address: https://watership.ca/style-guide/capitalization/#cap-generic-features

**Don’t capitalize a feature you describe generically.** “The export feature,” “the dashboard,” “dark mode,” and “two-factor authentication” are descriptions and stay lowercase. Capitalize a feature only when the company names it as a product and the terminology list carries the name.

- Instead of: Turn on Dark Mode from the Settings Page.
- Write: Turn on dark mode from the **Settings** page.

### Acronyms in capitals

Rule `cap-acronyms-all-caps`: avoid, mechanical. Address: https://watership.ca/style-guide/capitalization/#cap-acronyms-all-caps

**Write acronyms in capitals.** API, URL, HTML, SDK, CSV, PDF. Pluralize with a lowercase “s” and no apostrophe: APIs, URLs. Product names that are also acronyms follow the product name rule instead, and periods inside an abbreviation are `abbr-no-periods` in Abbreviations, notes, and tables.

- Instead of: The Api returns a list of url’s.
- Write: The API returns a list of URLs.

### Lowercase job titles

Rule `cap-job-titles-lowercase`: avoid, judgment. Address: https://watership.ca/style-guide/capitalization/#cap-job-titles-lowercase

**Lowercase job titles and team names.** “Your account manager,” “the support team,” and “the chief technology officer” stay lowercase. Capitalize a title only when it stands directly before a person’s name as part of the name.

- Instead of: Contact your Account Manager or the Support Team.
- Write: Contact your account manager or the support team.

### No capitals for emphasis

Rule `cap-no-caps-for-emphasis`: avoid, mechanical. Address: https://watership.ca/style-guide/capitalization/#cap-no-caps-for-emphasis

**Don’t set a word in capitals for emphasis.** This includes headings, labels, and warnings (“WARNING,” “NEW,” “FREE”). A screen reader might read the word as an acronym. Write it in sentence case.

- Instead of: WARNING: This will delete ALL your data.
- Write: Warning: This deletes all your data.

## Title case

Sentence case is the stock. Title case appears only where a name or a published title needs it, and when it does, it follows one definition.

### Title case where a name needs it

Rule `cap-title-case`: avoid, mechanical. Address: https://watership.ca/style-guide/capitalization/#cap-title-case

**Where title case is needed, capitalize the first and last words and every other word except articles, coordinating conjunctions, “to,” “as,” and prepositions of four letters or fewer.** It applies to the formal name of a law, an agreement, an event, or a program, and to a published title whose source sets it only in capitals, as on a cover or a banner; check the title page or the catalog record first, which usually gives its real capitals, and otherwise follow `cap-titles-as-published`. The lowercase words are “a,” “an,” and “the”; “and,” “but,” “for,” “nor,” “or,” “so,” and “yet”; “to” and “as”; and prepositions such as “at,” “by,” “from,” “in,” “into,” “of,” “off,” “on,” “onto,” “over,” “up,” and “with.” Every verb, pronoun, and subordinating conjunction takes a capital, however short (“Is,” “It,” “If”), and so does a preposition that belongs to a verb (“Set Up,” “Sign In”). In a hyphenated compound, capitalize each part unless it is one of the lowercase words (“Year-End Report,” “Up-to-Date Records”).

*Drafted, awaiting review.*

- Instead of: ANNUAL REPORT ON THE STATE OF OUR NETWORK
- Write: Annual Report on the State of Our Network
- Instead of: How To Set up A Shared Drive For Your Team
- Write: How to Set Up a Shared Drive for Your Team

## Defined terms and other names

Names of people, organizations, and places settles the capitals of the other named things a document mentions: days, months, holidays, seasons, and historical periods; regions and compass directions; full and second references to organizations and government bodies; laws, bylaws, and treaties; academic subjects, courses, and degrees; and words formed from proper nouns, such as “french fries” and “roman numerals.” The principle is this section’s: a capital marks a name, and a word that describes stays lowercase. One case belongs here, because it is about a document rather than a name.

### Defined terms in legal documents

Rule `cap-defined-terms`: avoid, judgment. Address: https://watership.ca/style-guide/capitalization/#cap-defined-terms

**Capitalize a generic word only where a contract or other legal document defines it as a term, and only inside that document.** A contract that says “Northwind Traders (the Company)” makes “the Company” a defined term, and the capital tells the reader the word means exactly what the definition says. Outside that document, in a help page, an email, or a summary of the contract, the word is a description again and goes back to lowercase, as Names of people, organizations, and places sets for every second reference.

*Drafted, awaiting review.*

- Instead of: Under the new terms, the Company will refund unused credit within 30 days.
- Write: Under the new terms, the company will refund unused credit within 30 days.

## About this section

**Rules.** 10 in this section: 6 mechanical, 4 judgment. Tiers: 1 never, 9 avoid, 0 prefer.

**Where the sources differ.** Google and Microsoft both take sentence case, and neither says what a check compares a capital against; the stock ties the check to the company’s name list, because a name or an acronym is the only mid-sentence capital sentence case allows.

**Sources.** Google developer documentation style guide and Microsoft Writing Style Guide. Adapted under CC BY 4.0, as [Sources and license](https://watership.ca/style-guide/#sources-and-license) sets out.
