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...")
 
(Undo revision 3016 by Cratorrex.rx (talk). Will be moved to ModuleInfo)
Tag: Undo
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:{{{Type}}} Module.png|{{{Type}}}|{{{size|x30px}}}|alt={{{Type}}} Module]]<noinclude>
+
[[File:{{{1}}} Module.png|{{{1}}}|{{{size|x30px}}}|alt={{{1}}} Module]]<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"Type": {
+
"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