Difference between revisions of "Template:Imbox/doc"

From Shmups Wiki -- The Digital Library of Shooting Games
Jump to navigation Jump to search
(Created page with "{{doc/start}} Display an '''i'''mage '''m'''essage '''box'''. == Usage == <pre><nowiki> {{imbox | image = image.png | message-text = This is my fancy message box. | addition...")
 
(No difference)

Latest revision as of 17:59, 6 December 2020


Display an image message box.

Usage

{{imbox
| image = image.png
| message-text = This is my fancy message box.
| additional-text = This is some more text that I wanted included. # optional
}}

Required Arguments

image

File name of an image or icon that exists on Shmups Wiki, excluding the File: prefix. This image will be limited to a height of 40 pixels.

message-text

This is the body of your message. Standard wiki markup is allowed.

Optional Arguments

additional-text

This is an optional second body of text that one might wish to include in the message box. Standard wiki markup is allowed.

Example

Let's use Template:CC-BY-SA-4.0 as an example for how to use imbox.

text:

{{imbox
| image = sitemeta-cc-by-sa.png
| message-text = This work is licensed under a [https://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International License].
}}

renders:


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.