Template:Param2: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Created page with "<includeonly>{{#if: {{{ag|}}}|<b>{{Lnkstart}}Data Types#Aggregate{{!}}{{{1}}} {{Lnkend}}</b>|<b>{{Lnkstart}}Data Types#{{{1}}}{{!}}{{{1}}}{{Lnkend}}</b>}} {{#if: {{{..."
 
No edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{ag|}}}|<b>{{Lnkstart}}Data Types#Aggregate{{!}}{{{1}}}&nbsp;{{Lnkend}}</b>|<b>{{Lnkstart}}Data Types#{{{1}}}{{!}}{{{1}}}{{Lnkend}}</b>}}&nbsp;{{#if: {{{2|}}}|{{Pspan|{{{2}}}}}}}</includeonly>
<includeonly>{{User:Philmasterplus/Type|{{{1}}}}} {{Pspan|{{{2}}}}</includeonly><noinclude>
<noinclude>


This is almost identical to [[Template:Param]] except that this has no trailing whitespace.
<templatedata>
 
{
Seriously, why put the whitespace there?
  "description": "This is similar to [[Template:Param]] except that this has no trailing whitespace.",
  "params": {
    "1": {
      "label": "Parameter data type",
      "description": "Parameter data type",
      "required": true,
      "type": "line",
      "example": "string, int, void, item, monster, skill"
    },
    "2": {
      "label": "Parameter name",
      "description": "Parameter name",
      "required": true,
      "type": "line"
    }
  }
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 19:09, 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