Jump to content

Template:Template:Ca-nom

Unchecked
From Wikipedia

Template:Templatedata header

Template:Templatedata footer

Usage

[edit]

This template is used to define a short description for the current page. The description is typically:

  • brief – usually fewer than 40 characters;
  • neutral and descriptive;
  • supplementary to the article title, not simply a repeat of it.

Short descriptions are mainly consumed by tools and skins (for example, mobile views and search interfaces) and are not always shown in the normal desktop view.

Basic usage

[edit]

To add a short description to a page:

{{Short description|Encyclopedia of free educational textbooks}}

This stores the description Encyclopedia of free educational textbooks for the current page.

Preventing replacement

[edit]

If a description is already supplied (for example, from a higher level template) and you want to make sure that a local call does not overwrite it, use the noreplace parameter:

{{Short description|Free-content textbook project|noreplace=yes}}

In this case, if a short description has already been set elsewhere on the page, this call will be ignored.

Specifying a page type

[edit]

You may optionally supply a page type. This can be helpful for tools that group or filter pages:

{{Short description|Open-content textbook collection|pagetype=project}}

or

{{Short description|Polynomial invariant measuring multiple roots|pagetype=mathematics}}

Notes

[edit]
  • The short description should normally be in sentence case, without a final period:
 
Correct: Online free-content textbook collection Avoid: online FREE-CONTENT TEXTBOOK COLLECTION.
  • Avoid adding links, HTML tags or wikicode. The value is intended to be plain text.
  • Do not add maintenance notes, talk-page comments or other discussion content to the short description.

See also

[edit]

Template:Ca-nom is a utility template on the test2 Wikipedia used to render a compact or full "name information card" at the top of Catalan-language or Catalan-themed entries. It is commonly invoked in biology and general-topic pages on test2 to show the name (nom), optional pronunciation, gender/number marks, and variants, following Catalan usage. Pages on test2 such as Alafilosa, Agulla imperial, Bavosa, and Aladroch reference or embed this template to structure on-page name metadata.[1]

Purpose

[edit]

The template’s purpose is to:

  • Provide a standardized header row for the lemma name (nom) in Catalan contexts on test2.
  • Optionally include pronunciation (IPA), grammatical hints, and alternative forms.
  • Assist readers and editors by keeping name fields consistent across articles that adopt Catalan name conventions on the testing wiki.[2]

Syntax

[edit]

Basic call:

{{Ca-nom|nom=...}}

With common parameters:

{{Ca-nom | nom = Aladroch | pron = /ələˈðɾɔk/ | gènere = m | nombre = sg | variants= alatxa; aladroga | notes = Nom comú d’un peix belònid. }}

Parameters

[edit]
nom (required)
The canonical Catalan lemma to display as the page name line.
pron (optional)
IPA pronunciation enclosed with slashes or brackets (e.g., /ə…/ or [ə…]).
gènere (optional)
Grammatical gender, e.g., m (masculine), f (feminine); affects the label or small tag after the name.
nombre (optional)
Number marker, e.g., sg (singular) or pl (plural).
variants (optional)
Semicolon-separated list of alternative spellings or regional forms (rendered inline or as a tooltip/list depending on style).
notes (optional)
Short note that adds a concise description next to the name line.
llengua (optional)
Language code override; defaults to Catalan conventions on test2.
format (optional)
Rendering style selector (e.g., compact or full) if supported by the current template revision.

Rendering

[edit]

Typical compact rendering (schematic):

Nom (pron) [gènere, nombre] — variants · notes

Example (for the call above):

Aladroch (/ələˈðɾɔk/) [m, sg]alatxa; aladroga · Nom comú d’un peix belònid.[3]

Usage examples

[edit]

Minimal:

{{Ca-nom|nom=Bavosa}}

With IPA and gender:

{{Ca-nom|nom=Agulla imperial|pron=/əˈɡuʎə/|gènere=f}}

With variants and note:

{{Ca-nom|nom=Alafilosa|variants=filosa; agulla fina|notes=Variant forms recorded in test entries}}

Notes on test2 environment

[edit]
  • test2 is a testing instance; template behavior and CSS may change without notice.
  • Some pages referencing {{Ca-nom}} may be stubs or contain placeholder content (e.g., a single letter) as part of editor testing.[4]

See also

[edit]
  • {{Ca-pron}} — a pronunciation helper used in related pages on test2.[5]
  • {{Ca-dicc}} — dictionary/reference linking template sometimes paired with name entries on test2.

References

[edit]
  1. See usage mentions on test2: Alafilosa; Agulla imperial; Bavosa; Aladroch.
  2. Header usage description summarized from occurrences on listed test2 pages; the template label “Ca‑nom” indicates “Catalan – name”.
  3. Example constructed from parameter semantics and observed usage on test2 pages listing Template:Ca-nom in their source.
  4. On test2, some articles are intentionally minimal to test rendering; this includes pages with near-empty bodies.
  5. Listed in the edit history lines of Aladroch on test2.m.wikipedia.