Template:MainMobilityAndMatchmakingRange: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Forgot to attach code and nowiki on {{PAGENAME}})
(added to data templates category since it is mainly used there)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if: {{{mobility class|}}} |
{{#if: {{{mobility class|}}} |
* The {{{name|{{PAGENAME}}}}} is a [[mobility|{{#switch: {{{mobility class}}} | low = heavyweight | middle = middleweight | high = lightweight }} weapon]].
* The {{{name|{{PAGENAME}}}}} is a [[mobility|{{#switch: {{{mobility class}}} | low = heavyweight | middle = middleweight | high = lightweight }} weapon]].
}}
{{#if: {{{matchmaking range|}}} |
* The matchmaking range is {{{matchmaking range}}}. ''Splatoon 2'' matchmaking looks at a team's average matchmaking range value, and matches them against a team with a similar average.
}}
</includeonly>


<noinclude>
|}}{{#if: {{{matchmaking range|}}} |
* The matchmaking range is {{{matchmaking range}}}. The game's matchmaking system looks at a team's average matchmaking range value, and matches them against a team with a similar average.
 
|}}</includeonly><noinclude>
Lists [[Mobility|weight classes]] and matchmaking ranges which is shared across all main weapons in {{S2}}. Used for main weapon datas in [[:Category:Data templates]].
Lists [[Mobility|weight classes]] and matchmaking ranges which is shared across all main weapons in {{S2}}. Used for main weapon datas in [[:Category:Data templates]].


== Note ==
== Markup in Data Templates ==
Data is obtained [https://leanny.github.io/splat2new/database.html here].
<pre>{{MainMobilityAndMatchmakingRange
| mobility class = {{{mobility class|}}}
| matchmaking range = {{{matchmaking range|}}}
| name = {{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}


== Parameters ==
}}</pre>
{{t|MainMobilityAndMatchmakingRange|mobility class|matchmaking range|name}}
 
{| class="wikitable"
|- style="vertical-align: top;"
|<code>mobility class</code>||Named, required.||The weight class of the main weapon. Must be one of the following:
*<code>low</code> (Heavyweight)
*<code>middle</code> (Middleweight)
*<code>high</code> (Lightweight)
|- style="vertical-align: top;"
|<code>matchmaking range</code>||Named, required.||Lists a main weapon's matchmaking range, which the game uses to match a team against another based on similar sum of matchmaking ranges in each team.
|- style="vertical-align: top;"
|<code>name</code>||Named, optional.||If included, the value will replace the current page name as the main weapon's name. Default value: <code><nowiki>{{PAGENAME}}</nowiki></code>
|}


== Example ==
== Example ==
=== Markup ===
=== .52 Gal ===
<pre>
{{MainMobilityAndMatchmakingRange
{{MainMobilityAndMatchmakingRange
| mobility class = high
| mobility class = middle
| matchmaking range = 95
| matchmaking range = 133
| name = Carbon Roller Deco}}
| name = .52 Gal}}
</pre>
 
=== Output ===
== References ==
{{MainMobilityAndMatchmakingRange
* https://leanny.github.io/splat2new/database.html
| mobility class = high
 
| matchmaking range = 95
[[Category:Data templates]]
| name = Carbon Roller Deco}}
</noinclude>
</noinclude>

Latest revision as of 17:07, 15 July 2023

Lists weight classes and matchmaking ranges which is shared across all main weapons in Splatoon 2. Used for main weapon datas in Category:Data templates.

Markup in Data Templates

{{MainMobilityAndMatchmakingRange
| mobility class = {{{mobility class|}}}
| matchmaking range = {{{matchmaking range|}}}
| name = {{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}

}}

Example

.52 Gal

  • The .52 Gal is a middleweight weapon.
  • The matchmaking range is 133. The game's matchmaking system looks at a team's average matchmaking range value, and matches them against a team with a similar average.

References