Difference between revisions of "Template:Module"

From The Perfect Tower II
Jump to navigation Jump to search
(Created page with "[[File:{{{Type}}} Module.png|{{{Type}}}|{{{size|x30px}}}|alt={{{Type}}} Module]]<noinclude> <templatedata> { "params": { "Type": { "label": "Type", "description": "Th...")
 
Line 1: Line 1:
[[File:{{{Type}}} Module.png|{{{Type}}}|{{{size|x30px}}}|alt={{{Type}}} Module]]<noinclude>
+
[[File:{{{Info}}} Module.png|{{{Info}}}|{{{size|x30px}}}|alt={{{Info}}} Module]]<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"Type": {
+
"Info": {
 
"label": "Type",
 
"label": "Type",
 
"description": "The type (offensive, defensive, utility, ultimate, special)",
 
"description": "The type (offensive, defensive, utility, ultimate, special)",

Revision as of 19:50, 23 March 2023

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

For adding a module icon to the page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
TypeInfo

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