Template:Maps: Difference between revisions
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:{{{ | |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=<!-- | ||
-->²{ | -->²{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|}}}||,²{ | -->{{#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
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Syntax
- 1: category
Examples
Example 1
{{Maps|Zombie Panic!}} yields:
3 Maps match the category selection:
| Icon | Name | Game | GameMode | Release Date |
|---|---|---|---|---|
| Club Zombo | 21 years ago | |||
| Industry | 21 years ago | |||
| Map zp thelabs | The Labs | 21 years ago |
Example 2
{{Maps|mode = Survival}} yields:
5 Maps match the category selection:
| Icon | Name | Game | GameMode | Release Date |
|---|---|---|---|---|
| Club Zombo | 21 years ago | |||
| Industry | 21 years ago | |||
| Map zp thelabs | The Labs | 21 years ago | ||
| Asylum | 21 years ago | |||
| Santeria |
Example 3
{{Maps|Zombie Panic!|mode = Survival}} yields:
3 Maps match the category selection:
| Icon | Name | Game | GameMode | Release Date |
|---|---|---|---|---|
| Club Zombo | 21 years ago | |||
| Industry | 21 years ago | |||
| Map zp thelabs | The Labs | 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | The category to filter maps by | String | required |
| resultsheader | resultsheader | Custom results header (optional)
| String | optional |
| noresultsfooter | noresultsfooter | Custom no results footer
| String | optional |