Template:Imbox: Difference between revisions

From Artisans Asylum Wiki
No edit summary
(Added templatedata)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="plainlinks-imbox"
{| class="plainlinks-imbox"
! [[File:Imbox_notice.png]] !! {{{text}}}
! [[File:Imbox_notice.png]] !! class="plainlinks-imbox-text" | {{{text}}}
|-
|-
|   
|   
Line 13: Line 13:
{{Imbox |text=Some text.}}
{{Imbox |text=Some text.}}
</pre>
</pre>
<templatedata>
{
    "description": "Adds a messagebox to a page.",
    "params": {
        "text": {
            "label": "Messagebox text",
            "type": "string",
            "required": true,
            "description": "Text to display in the messagebox",
            "aliases": ["1"]
        }
    }
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 15:13, 11 April 2024


Usage

To add a messagebox to a page, replace "Some text." below with the text inside your messagebox, and paste the remaining code into the page.

{{Imbox |text=Some text.}}

Adds a messagebox to a page.

Template parameters

ParameterDescriptionTypeStatus
Messagebox texttext 1

Text to display in the messagebox

Stringrequired