Difference between revisions of "Template:Infobox region"

From The Perfect Tower II
Jump to navigation Jump to search
(Rename paths -> lanes)
(Add unknown fallback for difficulties)
 
(One intermediate revision 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}}
 
|-
 
|-
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=%}}
|}<includeonly>[[Category:Regions]]</includeonly><noinclude>
+
|}[[Category:Regions]]</includeonly><noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{

Latest revision as of 00:50, 20 March 2021

Add an infobox for use on region pages

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Region image

Example
Forest.png
Filerequired
Laneslanes

Number of lanes in the region

Default
Unknown
Example
4
Numbersuggested
Enemiesenemies

List of element icons for the region, separated by spaces. Use template: Element

Default
Unknown
Example
{{Element|Neutral}} {{Element|Fire}}
Stringsuggested
Easyeasy

Easy difficulty modifier

Default
Unknown
Example
1500
Numbersuggested
Mediummedium

Medium difficulty modifier

Default
Unknown
Example
1500
Numbersuggested
Hardhard

Hard difficulty modifier

Default
Unknown
Example
1500
Numbersuggested
Insaneinsane

Insane difficulty modifier

Default
Unknown
Example
1500
Numbersuggested
Nightmarenightmare

Nightmare difficulty modifier

Default
Unknown
Example
1500
Numbersuggested
Impossibleimpossible

Impossible difficulty modifier

Default
Unknown
Example
1500
Numbersuggested