Difference between revisions of "Template:Module"

From The Perfect Tower II
Jump to navigation Jump to search
(Undo revision 3016 by Cratorrex.rx (talk). Will be moved to ModuleInfo)
Tag: Undo
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:{{{Info}}} Module.png|{{{Info}}}|{{{size|x30px}}}|alt={{{Info}}} Module]]<noinclude>
+
[[File:{{{1}}} Module.png|{{{1}}}|{{{size|x30px}}}|alt={{{1}}} Module]]<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"Info": {
+
"1": {
 
"label": "Type",
 
"label": "Type",
 
"description": "The type (offensive, defensive, utility, ultimate, special)",
 
"description": "The type (offensive, defensive, utility, ultimate, special)",

Latest revision as of 22:49, 22 August 2023

[[File:{{{1}}} Module.png|{{{1}}}|x30px|alt={{{1}}} Module]]

For adding a module icon to the page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

The type (offensive, defensive, utility, ultimate, special)

Example
Offensive
Stringrequired
Sizesize

Size of the icon, as a standard Mediawiki image size

Default
x30px
Example
30px
Stringoptional