Difference between revisions of "Template:MapItems/doc"

From QWiki
m (Touch up of doc)
m (Added description on null value defaults)
 
Line 6: Line 6:
 
{{MapItems
 
{{MapItems
 
|quad=1
 
|quad=1
|ring=0
+
|ring=
 
|pent=0
 
|pent=0
 
|hp100=2
 
|hp100=2
 
|ra=2
 
|ra=2
|ya=0
+
|ya=
 
|ga=1
 
|ga=1
 
|lg=0
 
|lg=0
Line 24: Line 24:
 
{{MapItems
 
{{MapItems
 
|quad=1
 
|quad=1
|ring=0
+
|ring=
 
|pent=0
 
|pent=0
 
|hp100=2
 
|hp100=2
 
|ra=2
 
|ra=2
|ya=0
+
|ya=
 
|ga=1
 
|ga=1
 
|lg=0
 
|lg=0
Line 38: Line 38:
 
}}
 
}}
  
==Additional==
+
===Note===
Value 0 or null renders a gray 0 for easier overflight.
+
Values can be left empty, or set to <code>0</code> - it will still show a gray <code>0</code> for easier overflight.

Latest revision as of 10:28, 20 October 2020

This template is used on maps pages to clearly show what items are available.

Example

The code:

{{MapItems
|quad=1
|ring=
|pent=0
|hp100=2
|ra=2
|ya=
|ga=1
|lg=0
|rl=2
|gl=1
|sng=1
|ng=1
|ssg=3
}}

gives us:

Powerups Armor Weapons
Quad Ring Pent MH RA YA GA LG RL GL SNG NG SSG
1 0 0 2 2 0 1 0 2 1 1 1 3

Note

Values can be left empty, or set to 0 - it will still show a gray 0 for easier overflight.