Lompat ke isi

Cèṭa'an:Hatnote group

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika
Dokumentasi cèṭaan[tèngghu] [beccè] [sejarah] [purge]

Galat: tidak ada pintasan yang ditentukan |msg= parameter tidak ditentukan.

TemplateStyles' src attribute must not be empty.

This template applies Module:Hatnote group to merge hatnotes it is given as input; this has the net effect of making them formatted inline relative to one another. For example:

{{about|USE1||PAGE1}}
{{redirect|REDIRECT|USE2|PAGE2}}

would normally display as:

Lua error in Modul:Redirect_hatnote at line 66: attempt to call field 'quote' (a nil value).

but, when wrapped in this template:

{{hatnote group|
{{about|USE1||PAGE1}}
{{redirect|REDIRECT|USE2|PAGE2}}
}}

displays as

Lua error in Modul:Hatnote_group at line 26: attempt to call field 'defaultClasses' (a nil value).

Technically, it changes the hatnotes by converting their div wrappers into spanwrappers, wrapping the group in a new hatnote div, and migrating classes appropriately. Classes are migrated to the appropriate span, unless every hatnote in the group includes that class, in which case the class will be migrated to the new div wrapper. For example:

{{hatnote|extraclasses=example demonstration |Hatnote 1}}
{{hatnote|extraclasses=example |Hatnote 2}}
{{hatnote|extraclasses=example |Hatnote 3}}

would normally be rendered to:

<div role="note" class="hatnote navigation-not-searchable example demonstration">Hatnote 1</div>
<div role="note" class="hatnote navigation-not-searchable example">Hatnote 2</div>
<div role="note" class="hatnote navigation-not-searchable example">Hatnote 3</div>

but, when wrapped in this template, becomes:

<div role="note" class="hatnote navigation-not-searchable example">
<span class="demonstration">Hatnote 1</span> 
<span>Hatnote 2</span> 
<span>Hatnote 3</span> 
</div>

TemplateData

[beccè' sombher]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Hatnote group in articles based on its TemplateData.

TemplateData for Hatnote group

Groups multiple hatnotes onto a single line.
Hatnote group content1
Two or more hatnote template invocations, and nothing else.

Groups multiple hatnotes onto a single line.

Parameter templat

Templat ini memiliki pemformatan ubahsuai.

ParameterKeteranganJenisStatus
Hatnote group content1

Two or more hatnote template invocations, and nothing else.

Katawajib diisi