Jump to content
Toggle menu
  • 12,3 E szócikkek
  • 21,5 E fájlok
  • 4 felhasználók
  • 63,9 E szerkesztések
SCWIKI
Toggle preferences menu
Toggle personal menu
Nem vagy bejelentkezve
Your IP address will be publicly visible if you make any edits.

Renders an entity's in-game description as a quoted block, with the API capture version printed below. Designed to sit further down an entity page as body prose, separate from the Template:Entity infobox at the top. Reads the same upstream API data via Module:Entity/Data, so the cache is shared with any other Entity-family template on the page.

Usage

Explicit UUID:

{{Entity/Description|uuid=80ee3b95-5665-4548-9e2d-d2067895c0ac}}

When Template:Entity has been invoked earlier on the page, the UUID can be omitted — it falls back to the value stored in SMW on the current page:

{{Entity}}

== Description ==
{{Entity/Description}}

Parameters

Renders an entity's in-game description as a quoted block, with the API capture version printed below. Designed to sit further down an entity page as body prose, separate from the Template:Entity infobox at the top. Reads the same upstream API data via Module:Entity/Data, so the cache is shared with any other Entity-family template on the page.

Sablonparaméterek

Ennek a sablonnak ajánlott egy sorba írni a paramétereit.

ParaméterLeírásTípusÁllapot
UUIDuuid

UUID of the entity to render. If omitted, defaults to the UUID stored in SMW (set by Template:Entity on a prior parse). Required if Template:Entity hasn't been invoked.

Példa
80ee3b95-5665-4548-9e2d-d2067895c0ac
Karakterláncnem kötelező

Behavior

  • The container always renders so the page layout stays stable. When the API returns no description, an "No description available from the API." placeholder is shown in a muted style.
  • The description text is wrapped in <blockquote> with aria-label="In-game description" for assistive tech.
  • The version line below the quote is the Apiunto version field — useful for cross-referencing the in-game build the description was captured from.

See also