Jump to content

Template:Description/doc: Difference between revisions

From The Petit Planet Wiki
Created page with "{{Documentation/Header}} Used to display Descriptions with formatting for source and title. ==Syntax== * {{F|1}} — Description text * {{F|2}} — Source of description * {{F|title}} — Title of description * {{F|italic}} — Transform description into italic ==Example== {{T|Description|Lore description|_Ybr_=1}} <hr /> {{T|Description|Step through the archway and wander into a place brimming with life, alongside the little creatures drawn here by the..."
 
ReisuDesign (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Documentation/Header}}
{{Documentation/Header}}
{{CSS}}
Used to display Descriptions with formatting for source and title.
Used to display Descriptions with formatting for source and title.



Latest revision as of 15:14, 12 October 2026

This is the documentation page for Description.
It contains usage information, categories, and other content not part of the original template page.
This template uses CSS found at MediaWiki:Description.css.

Used to display Descriptions with formatting for source and title.

Syntax

[edit source]
  • 1 — Description text
  • 2 — Source of description
  • title — Title of description
  • italic — Transform description into italic

Example

[edit source]

{{Description|Lore description}} yields:

Lore description

{{Description
|Step through the archway and wander into a place brimming with life, alongside the little creatures drawn here by the planet.

Gather close, sip some tea, take a rest, and stay sprawled out until nightfall if you like. No one here will ever hurry you along.
|Omnidex
}}

yields:

Step through the archway and wander into a place brimming with life, alongside the little creatures drawn here by the planet. Gather close, sip some tea, take a rest, and stay sprawled out until nightfall if you like. No one here will ever hurry you along.
Omnidex

{{Description|This Description has a title|title = Description Title|italic = 1}} yields:

Description Title
This Description has a title

Template Data

[edit source]

Used to display Descriptions with formatting for source and title.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Description Text.

Default
Description
Stringrequired
Source2

Source of Description below text right aligned (Italics).

Stringoptional
Titletitle

Title of Description above text (Bold).

Stringoptional
Italic Descriptionitalic

Transform the description into italic text

Booleanoptional