Template:Maps: Difference between revisions

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
|notcategory={{{not1|}}}
|notcategory={{{not1|}}}
|notcategory={{{not2|}}}
|notcategory={{{not2|}}}
|include={Level Infobox}:%PAGE%:name{{#if:{{{nogame|}}}||:game:baseGame}}{{#if:{{{noRelDate|}}}||:releaseDate}}{{#if:{{{noMode|}}}||:mode}}
|include={Level Infobox}:%PAGE%:name{{#if:{{{nogame|}}}||:game:baseGame}}{{#if:{{{noMode|}}}||:mode}}{{#if:{{{noRelDate|}}}||:releaseDate}}
|table=<!--
|table=<!--
-->class="article-table sortable" style="width:100%",-,class="unsortable" style="width:100px"¦<!--
-->class="article-table sortable" style="width:100%",-,class="unsortable" style="width:100px"¦<!--
Line 15: Line 15:
-->{{#if:{{{noRelDate|}}}||,Release Date}}
-->{{#if:{{{noRelDate|}}}||,Release Date}}
|tablerow=<!--
|tablerow=<!--
-->²{Survivor¦%%¦50¦notext=1}²<!--
-->²{Item¦%%¦50¦notext=1¦type=Icon}²<!--
-->,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}²<!--
-->,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}²<!--
-->{{#if:{{{nogame|}}}||,²{Game¦%%¦35px¦nobr=1,text=%%}²}}<!--
-->{{#if:{{{nogame|}}}||,²{Game¦%%¦35px¦nobr=1,text=%%}²}}<!--
-->{{#if:{{{noMode|}}}||,²{GameMode¦%%¦35px¦nobr=1,text=%%}²}}<!--
-->{{#if:{{{noMode|}}}||,²{Item¦GameMode/%%¦text=%% Mode¦type=Icon}²}}<!--
-->{{#if:{{{noRelDate|}}}||, data-sort-value="²{#time:xNU¦%%}²" ¦ ²{Time Ago¦%%¦include = y}²}}
-->{{#if:{{{noRelDate|}}}||, data-sort-value="²{#time:xNU¦%%}²" ¦ ²{Time Ago¦%%¦include = y}²}}
|resultsheader={{{resultsheader|'''%PAGES%''' [[Maps]] match the category selection:\n}}}
|resultsheader={{{resultsheader|'''%PAGES%''' [[Maps]] match the category selection:\n}}}
Line 24: Line 24:
|tablesortcol=2
|tablesortcol=2
|skipthispage=no
|skipthispage=no
}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>
}}
</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>

Latest revision as of 17:13, 12 June 2025

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

Syntax

  • 1: category

Examples

Example 1

{{Maps|Zombie Panic!}} yields:
3 Maps match the category selection:

Icon Name Game GameMode Release Date
Map zp clubzombo Club Zombo Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zp industry Industry Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zp thelabs The Labs Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago


Example 2

{{Maps|mode = Survival}} yields:
5 Maps match the category selection:

Icon Name Game GameMode Release Date
Map zp clubzombo Club Zombo Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zp industry Industry Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zp thelabs The Labs Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zps asylum Asylum Zombie Panic! Source Zombie Panic! Source GameMode Survival Survival Mode 21 years ago
Map zps santeria Santeria Zombie Panic! Source Zombie Panic! Source GameMode Survival Survival Mode


Example 3

{{Maps|Zombie Panic!|mode = Survival}} yields:
3 Maps match the category selection:

Icon Name Game GameMode Release Date
Map zp clubzombo Club Zombo Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zp industry Industry Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago
Map zp thelabs The Labs Zombie Panic! Zombie Panic! GameMode Survival Survival Mode 21 years ago


Example 4

{{Maps|mode = Objective}} yields:
No Maps match the category selection.


See also

Template Data

Filter survivors by category, displayed as a table.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

The category to filter maps by

Stringrequired
resultsheaderresultsheader

Custom results header (optional)

Default
'''%PAGES%''' [[Survivors]] match the category selection:\n
Stringoptional
noresultsfooternoresultsfooter

Custom no results footer

Default
\nNo [[Survivors]] match the category selection.
Stringoptional