Template:Param2: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{User:Philmasterplus/Type|{{{1}}}}} {{Pspan|{{{2}}}}</includeonly><noinclude>
<includeonly>{{User:Philmasterplus/Type|{{{1}}}}} {{Pspan|{{{2}}}}}</includeonly><noinclude>


<templatedata>
<templatedata>
Line 21: Line 21:
}
}
</templatedata>
</templatedata>
==Examples==
<pre>
*{{User:Philmasterplus/Param|int|param1}}
*{{User:Philmasterplus/Param|float|param2}}
*{{User:Philmasterplus/Param|string [int]|param3}}
</pre>
*{{User:Philmasterplus/Param|int|param1}}
*{{User:Philmasterplus/Param|float|param2}}
*{{User:Philmasterplus/Param|string [int]|param3}}
</noinclude>
</noinclude>

Revision as of 19:36, 18 December 2020


This is similar to [[Template:Param]] except that this has no trailing whitespace.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Parameter data type1

Parameter data type

Example
string, int, void, item, monster, skill
Linerequired
Parameter name2

Parameter name

Linerequired

Examples

*{{User:Philmasterplus/Param|int|param1}}
*{{User:Philmasterplus/Param|float|param2}}
*{{User:Philmasterplus/Param|string [int]|param3}}
  • int param1
  • float param2
  • string [int] param3