Template:Infobox region: Difference between revisions
Jump to navigation
Jump to search
m Tweak margins |
Add unknown fallback for difficulties |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="wikitable" style="float:right; width:270px; margin-top:0; margin-left:1em;" | <includeonly>{| class="wikitable" style="float:right; width:270px; margin-top:0; margin-left:1em;" | ||
!colspan="2"|{{PAGENAME}} | !colspan="2"|{{PAGENAME}} | ||
|- | |- | ||
|colspan="2" style="padding:0; text-align:center;"|[[File:{{{image|Image missing.png}}}|268px|alt={{PAGENAME}}]] | |colspan="2" style="padding:0; text-align:center;"|[[File:{{{image|Image missing.png}}}|268px|alt={{PAGENAME}}]] | ||
|- | |- | ||
! | !Lanes | ||
|{{{ | |{{{lanes|{{unknown}}}}} | ||
|- | |- | ||
!colspan="2"|Enemies | !colspan="2"|Enemies | ||
| Line 14: | Line 14: | ||
|- | |- | ||
!Easy | !Easy | ||
|{{{easy|{{unknown}}}}}% | |{{number|{{{easy|{{unknown}}}}}|suffix=%}} | ||
|- | |- | ||
!Medium | !Medium | ||
|{{{medium|{{unknown}}}}}% | |{{number|{{{medium|{{unknown}}}}}|suffix=%}} | ||
|- | |- | ||
!Hard | !Hard | ||
|{{{hard|{{unknown}}}}}% | |{{number|{{{hard|{{unknown}}}}}|suffix=%}} | ||
|- | |- | ||
!Insane | !Insane | ||
|{{{insane|{{unknown}}}}}% | |{{number|{{{insane|{{unknown}}}}}|suffix=%}} | ||
|- | |- | ||
!Nightmare | !Nightmare | ||
|{{{nightmare|{{unknown}}}}}% | |{{number|{{{nightmare|{{unknown}}}}}|suffix=%}} | ||
|- | |- | ||
!Impossible | !Impossible | ||
|{{{impossible|{{unknown}}}}}% | |{{number|{{{impossible|{{unknown}}}}}|suffix=%}} | ||
|} | |}[[Category:Regions]]</includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "lanes": { | ||
"label": " | "label": "Lanes", | ||
"description": "Number of | "description": "Number of lanes in the region", | ||
"example": "4", | "example": "4", | ||
"type": "number", | "type": "number", | ||
| Line 109: | Line 109: | ||
"paramOrder": [ | "paramOrder": [ | ||
"image", | "image", | ||
" | "lanes", | ||
"enemies", | "enemies", | ||
"easy", | "easy", | ||
Latest revision as of 23:50, 19 March 2021
Add an infobox for use on region pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | Region image
| File | required |
| Lanes | lanes | Number of lanes in the region
| Number | suggested |
| Enemies | enemies | List of element icons for the region, separated by spaces. Use template: Element
| String | suggested |
| Easy | easy | Easy difficulty modifier
| Number | suggested |
| Medium | medium | Medium difficulty modifier
| Number | suggested |
| Hard | hard | Hard difficulty modifier
| Number | suggested |
| Insane | insane | Insane difficulty modifier
| Number | suggested |
| Nightmare | nightmare | Nightmare difficulty modifier
| Number | suggested |
| Impossible | impossible | Impossible difficulty modifier
| Number | suggested |