Template:Imbox: Difference between revisions
From Artisans Asylum Wiki
Acharlwood (talk | contribs) (Created page with "<table class="plainlinks imbox" style="border: 3px solid #1e90ff;width:49%;margin-left:25%;background-color:#f9f9f9;"> <tbody><tr> <td class="mbox-image"> <p>image=File:Imbox_notice.png </p> </td> <td class="mbox-text" style="">{{{text}}}</td> </tr> <tr><td colspan="2" class="mbox-text" style=""> </td></tr> </tbody></table> ==Example== <pre> {{Imbox |text=Some text.}} </pre>") |
Acharlwood (talk | contribs) (Added templatedata) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="plainlinks-imbox" | |||
! [[File:Imbox_notice.png]] !! class="plainlinks-imbox-text" | {{{text}}} | |||
|- | |||
| | |||
|} | |||
== | <noinclude> | ||
==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. | |||
<pre> | <pre> | ||
{{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> |
Latest revision as of 15:13, 11 April 2024
{{{text}}} | |
---|---|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Messagebox text | text 1 | Text to display in the messagebox | String | required |