Template:Version Box: Difference between revisions

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#DPL: |namespace= |uses=Template:Version |category={{{1|}}} |category={{{category2|}}} |notcategory={{{not1|}}} |notcategory={{{not2|}}} |include={Version}:%PAGE%:name |table=<!-- -->class="article-table sortable" style="width:100%",-,class="unsortable" style="width:100px"¦<!-- -->Icon<!-- -->,Name<!-- -->{{#if:{{{nogame|}}}||,Game(s)}}<!-- -->{{#if:{{{noRelDate|}}}||,Release Date}} |tablerow=<!-- -->²{Survivor¦%%¦50¦notext=1}²<!-- -->,²{#if:%%¦%..."
 
No edit summary
 
Line 7: Line 7:
|notcategory={{{not2|}}}
|notcategory={{{not2|}}}
|include={Version}:%PAGE%:name
|include={Version}:%PAGE%:name
|table=<!--
|table=class="article-table sortable" style="width:100%",-,class="unsortable" style="width:5px"¦,Version
-->class="article-table sortable" style="width:100%",-,class="unsortable" style="width:100px"¦<!--
|tablerow=,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}²
-->Icon<!--
|resultsheader={{{resultsheader|'''%PAGES%''' [[Version]](s) match the game selection:\n}}}
-->,Name<!--
|noresultsfooter ={{{noresultsfooter|\nNo [[Version]](s) match the game selection.}}}
-->{{#if:{{{nogame|}}}||,Game(s)}}<!--
-->{{#if:{{{noRelDate|}}}||,Release Date}}
|tablerow=<!--
-->²{Survivor¦%%¦50¦notext=1}²<!--
-->,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}²<!--
-->{{#if:{{{nogame|}}}||,²{Game¦%%¦35px¦nobr=1,text=%%}²}}<!--
-->{{#if:{{{noRelDate|}}}||, data-sort-value="²{#time:xNU¦%%}²" ¦ ²{Time Ago¦%%¦include = y}²}}
|resultsheader={{{resultsheader|'''%PAGES%''' [[Version]] match the game selection:\n}}}
|noresultsfooter ={{{noresultsfooter|\nNo [[Version]] match the game selection.}}}
|tablesortcol=2
|tablesortcol=2
|skipthispage=no
|skipthispage=no
}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>
}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>

Latest revision as of 12:59, 12 October 2026

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

Syntax

  • 1: game

Examples

Example 1

{{Version Box|ZombiePanic}} yields:
5 Version(s) match the game selection:

Version
Version/ZombiePanic/0.91c
Version/ZombiePanic/0.92
Version/ZombiePanic/0.94
Version/ZombiePanic/1.0
Version/ZombiePanic/1.1

Example 2

{{Version Box|ZombiePanicSource}} yields:
8 Version(s) match the game selection:

Version
Version/ZombiePanicSource/1.0
Version/ZombiePanicSource/1.01b
Version/ZombiePanicSource/1.21b
Version/ZombiePanicSource/1.25b
Version/ZombiePanicSource/1.2b
Version/ZombiePanicSource/1.3
Version/ZombiePanicSource/1.3.1
Version/ZombiePanicSource/1.4

Template Data

Filter version by game, displayed as a table.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

The category to filter game versions by

Stringrequired
resultsheaderresultsheader

Custom results header (optional)

Default
'''%PAGES%''' [[Version]] match the game selection:\n
Stringoptional
noresultsfooternoresultsfooter

Custom no results footer

Default
\nNo [[Version]] match the game selection.
Stringoptional