Difference between revisions of "Template:Module"

From The Perfect Tower II
Jump to navigation Jump to search
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)",

Revision as of 18:49, 29 March 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