Module:RoboInfo/doc: Difference between revisions

From Little Tail Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
| title      = Robo name
| title      = Robo name
| headerstyle = (defaults to background-color:grey)
| headerstyle = (defaults to background-color:grey)
| image      = [[File:Waffle.png|200px]]
| image      = [[File:Unknown.png|200px]]
| caption    = An example image (IMAGE REQUIRED)
| caption    = An example image (IMAGE REQUIRED)
| ("Bio.")
| ("Bio.")
Line 34: Line 34:
| lastappearance      = Optional
| lastappearance      = Optional
}}</pre>
}}</pre>
[[Category:Module documentation]]

Latest revision as of 19:45, 2 March 2025

Robo name

An example image (IMAGE REQUIRED)
Info.
Japanese Name Optional
Romanized Name Optional
Namesake Optional
Pilot Optional
Creator Optional
First Appearance Optional
Last Appearance Optional

The RoboInfo infobox is dedicated to quickly listing off basic information about the article's featured Robo/mecha.

Infoboxes are put together via Capiunto, which calls upon a Lua-based module. This keeps infoboxes clean and easy to form.

In source editor, excluding any optional row will make that row not render. Leaving out any required fields will throw an error over the page. HTML tags can be used within the infobox if necessary.

Usage

{{RoboInfo
| title       = Robo name (required)
| headerstyle = (defaults to background-color:grey)
| image       = [[File:Waffle.png|200px]]
| caption     = An example image (IMAGE REQUIRED)
| ("Bio.")
| jpname              = Optional
| romanname           = Optional
| namesake            = Optional
| pilot               = Optional
| creator             = Optional
| firstappearance     = Optional
| lastappearance      = Optional
}}