Jump to content

Template:Infobox region: Difference between revisions

From The Perfect Tower II
Lmnt0 (talk | contribs)
Rename paths -> lanes
Region infobox in the TPT2 brand kit style via Module:Infobox; same parameters. Source: wiki repo onwiki/Template/Infobox region.wikitext
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; width:270px; margin-top:0; margin-left:1em;"
<includeonly>{{#invoke:Infobox|region}}</includeonly><noinclude>
!colspan="2"|{{PAGENAME}}
Infobox for region pages, in the TPT2 brand kit's style ([[Module:Infobox]]). Parameters are unchanged.
|-
|colspan="2" style="padding:0; text-align:center;"|[[File:{{{image|Image missing.png}}}|268px|alt={{PAGENAME}}]]
|-
!Lanes
|{{{lanes|{{unknown}}}}}
|-
!colspan="2"|Enemies
|-
|colspan="2" style="text-align:center;"|{{{enemies|{{unknown}}}}}
|-
!colspan="2"|Difficulties
|-
!Easy
|{{{easy|{{unknown}}}}}%
|-
!Medium
|{{{medium|{{unknown}}}}}%
|-
!Hard
|{{{hard|{{unknown}}}}}%
|-
!Insane
|{{{insane|{{unknown}}}}}%
|-
!Nightmare
|{{{nightmare|{{unknown}}}}}%
|-
!Impossible
|{{{impossible|{{unknown}}}}}%
|}<includeonly>[[Category:Regions]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{

Latest revision as of 11:58, 6 October 2026

Infobox for region pages, in the TPT2 brand kit's style (Module:Infobox). Parameters are unchanged.

Add an infobox for use on region pages

Template parameters[Edit template data]

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