Template:SurvivorTable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
-->,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}²<!-- | -->,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}²<!-- | ||
-->{{#if:{{{nogame|}}}||,²{Game¦%%¦35px¦nobr=1,text=%%}²}}<!-- | -->{{#if:{{{nogame|}}}||,²{Game¦%%¦35px¦nobr=1,text=%%}²}}<!-- | ||
-->{{#if:{{{noRelDate|}}}||, data-sort-value="²{#time:xNU¦%%}²" ¦ ²{#if:%%¦ ²{#time:F d²{Comma}² Y¦%%}²<br />²{Time Ago¦%%¦include = y²{Comma}²mth²{Comma}²d} | -->{{#if:{{{noRelDate|}}}||, data-sort-value="²{#time:xNU¦%%}²" ¦ ²{#if:%%¦ ²{#time:F d²{Comma}² Y¦%%}²<br />²{Time Ago¦%%¦include = y²{Comma}²mth²{Comma}²d}²¦—}²}} | ||
|resultsheader={{{resultsheader|'''%PAGES%''' [[Survivors]] match the category selection:\n}}} | |resultsheader={{{resultsheader|'''%PAGES%''' [[Survivors]] match the category selection:\n}}} | ||
|noresultsfooter ={{{noresultsfooter|\nNo [[Survivors]] match the category selection.}}} | |noresultsfooter ={{{noresultsfooter|\nNo [[Survivors]] match the category selection.}}} | ||
Revision as of 14:34, 10 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
{{SurvivorTable|Zombie Panic!}} yields:
3 Survivors match the category selection:
| Icon | Name | Game | Release Date | |
|---|---|---|---|---|
| Eugene Grant | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Marcus Lewis | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Human Survivor | [[|Zombie Panic!]] | — | 2004-10-30 |
Example 2
{{SurvivorTable|Zombie Panic! Source}} yields:
7 Survivors match the category selection:
| Icon | Name | Game | Release Date | |
|---|---|---|---|---|
| Eugene Grant | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Jessica Mannings | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Lea Magnussen | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Marcus Lewis | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Paul Smith | [[|Zombie Panic! Source]] | — | 2007-11-28 | |
| Pedro Rodriguez | [[|Zombie Panic! Source]] | — | 2017-12-09 | |
| Vanessa Isley | [[|Zombie Panic! Source]] | — | 2017-12-09 |
See also
Template Data
Filter survivors by category, displayed as a table.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | The category to filter survivors by | String | required |
| resultsheader | resultsheader | Custom results header (optional)
| String | optional |
| noresultsfooter | noresultsfooter | Custom no results footer
| String | optional |