Template:InfoBox talk/doc

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

This template forms the basis for Template:Talk. It is used in the implementations of derivative templates such as Template:InfoBox talk open.

Parameters

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The name of the parent template without the "InfoBox talk" prefix.

Example
good_first_discussion
Stringrequired
Datedate

The current date (UTC, ISO 8601)

Example
2024-05-13
Datesuggested
Maskmask

Define as non-empty to ignore the 'category' parameter

Example
mask=y
Booleansuggested
Iconicon

See Template:InfoBox

Stringsuggested
Infoinfo

See Template:InfoBox

Stringsuggested
Categorycategory

See Template:InfoBox

Stringsuggested

Usage

{{InfoBox talk
| icon     = icon
| info     = xxx {{#if:{{{date|}}}|xxx {{{date}}} xxx |}}xxx.
| category = Open discussions
| 1        = {{{1|}}}
| date     = {{{date|}}}
| mask     = {{{mask|}}}
}}

See the template's testcases:


Correct usage (link #talk_open should work)
Wiki code
{{InfoBox talk
| icon     = clock-o
| info     = This discussion is still ongoing {{#if:{{{date|}}}|as of {{{date}}}|}}.
| category =
| 1        = {{{1|open}}}
| date     = {{{date|}}}
| mask     = {{{mask|}}}
}}
Main version
Talk status
This discussion is still ongoing .
Sandbox version
Talk status
This discussion is still ongoing .


See also