Template:Version Box: Difference between revisions
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 | ||
|tablerow=,²{#if:%%¦[[%PAGE%|%%]]¦[[%PAGE%]]}² | |||
|resultsheader={{{resultsheader|'''%PAGES%''' [[Version]](s) match the game selection:\n}}} | |||
|noresultsfooter ={{{noresultsfooter|\nNo [[Version]](s) match the game selection.}}} | |||
|tablerow= | |||
|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
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
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:
Template Data
Filter version by game, displayed as a table.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | The category to filter game versions by | String | required |
| resultsheader | resultsheader | Custom results header (optional)
| String | optional |
| noresultsfooter | noresultsfooter | Custom no results footer
| String | optional |