Template:Level Infobox: Difference between revisions

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
Created page with "<includeonly><!-- -->{{#switch:{{{type}}} |Upcoming = {{Upcoming}} |#default = }}<!-- --><infobox type="Level" theme-source="game"> <title source="name"> <default>{{PAGENAME}}</default> </title> <header name="secondary_title">{{{title|}}}</header><!--Mobile Support--> <image source="image" /> <panel> <section> <data source="creator"> <label>Map Creator</label> </data> <data source="size"> <label>Map Size</label> <..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
</title>
</title>
<header name="secondary_title">{{{title|}}}</header><!--Mobile Support-->
<header name="secondary_title">{{{title|}}}</header><!--Mobile Support-->
<header name="community_item">{{#if:{{{community|}}}|Community Made Map}}</header>
<image source="image" />
<image source="image" />
<panel>
<panel>
Line 44: Line 45:
     Level Category
     Level Category
-->[[Category:Maps]]<!--
-->[[Category:Maps]]<!--
-->{{#if:{{{mode|}}}|[[Category:{{{mode}}}]]}}<!--
     Other Types
     Other Types
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}]]}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}]]}}<!--

Latest revision as of 17:38, 12 June 2025

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Examples

{{Level Infobox
|image            = <gallery>
zps_asylum Thumb.png|Portrait
</gallery>
|community        = true
|type             = Playable
|name             = Asylum
|title            = zpo_asylum
|creator          = Eugene
|size             = Small-Medium
|players          = 8-20
|mode             = Objective
|game             = Zombie Panic! Source
|releaseDate      = 2008-11-28
}}

Template Data

Infobox used to display information about a map.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Image (Gallery)image

no description

Example
<gallery>Survivor Eugene Render.jpg|Portrait Survivor Eugene Ingame.png|In-Game </gallery>
Contentsuggested
Typetype

The Type of level (Playable or Upcoming)

Suggested values
Playable Upcoming
Example
Playable or Upcoming
Stringrequired
Titletitle

the actual name of the map file.

Example
zps_asylum
Stringoptional
Namename

Name of the level.

Default
{{PAGENAME}}
Example
Eugene Grant
Stringoptional
Map Creatorcreator

Who created this level?

Example
Tatsur0
Stringoptional
Map Sizesize

The size of this map

Example
Medium
Stringoptional
Recommended Playersplayers

The recommended amount of players for this map

Example
4-8
Stringoptional
GameModedmode

What type of gamemode is this map for?

Example
Survival
Page nameoptional
Gamegame

The game this level is available in.

Example
Zombie Panic!
Page nameoptional
Release DatereleaseDate

Date the agent was released in yyyy-mm-dd format

Example
2020-11-11
Dateoptional