|
|
| Line 1: |
Line 1: |
| <div class="infobox mod-infobox"> | | <div style="float:right; clear:right; margin:0 0 1em 1em; width:300px; border:1px solid #444; background:#222; color:#fff; padding:6px; font-size:90%; border-radius:8px;"> |
| <div class="infobox-header">{{{title|{{PAGENAME}}}}}</div> | | <div style="text-align:center; font-weight:bold; font-size:110%; background:#333; color:#fff; padding:6px; border-radius:6px 6px 0 0;"> |
| <div class="infobox-image">
| | {{{title1|Mod}}} |
| [[File:{{{image|Example.png}}}|250px]] | |
| </div> | | </div> |
| <div class="infobox-row"><strong>Author(s):</strong> {{{author|Unknown}}}</div> | | {{#if:{{{image1|}}}|<div style="text-align:center; margin:8px 0;">[[File:{{{image1}}}|250px]]<br><span style="font-size:smaller;">{{{caption1|}}}</span></div>}} |
| <div class="infobox-row"><strong>Release Date:</strong> {{{release_date|n/a}}}</div> | | <table style="width:100%; border-collapse:collapse; color:#fff;"> |
| <div class="infobox-row"><strong>Base Game:</strong> {{{base_game|n/a}}}</div>
| | {{#if:{{{author(s)|}}}|<tr><td style="font-weight:bold;">Author(s)</td><td>{{{author(s)}}}</td></tr>}} |
| <div class="infobox-row"><strong>Source Port:</strong> {{{sourceport|n/a}}}</div>
| | {{#if:{{{release_date|}}}|<tr><td style="font-weight:bold;">Release date</td><td>{{{release_date}}}</td></tr>}} |
| <div class="infobox-row"><strong>Type:</strong> {{{type|n/a}}}</div>
| | {{#if:{{{base_game|}}}|<tr><td style="font-weight:bold;">Base game</td><td>{{{base_game}}}</td></tr>}} |
| <div class="infobox-row"><strong>Code Changes:</strong> {{{code_changes|n/a}}}</div>
| | {{#if:{{{sourceport|}}}|<tr><td style="font-weight:bold;">Source port</td><td>{{{sourceport}}}</td></tr>}} |
| <div class="infobox-row"><strong>Maps:</strong> {{{maps|n/a}}}</div>
| | {{#if:{{{type|}}}|<tr><td style="font-weight:bold;">Type</td><td>{{{type}}}</td></tr>}} |
| <div class="infobox-row"><strong>New Graphics:</strong> {{{new_graphics|n/a}}}</div>
| | {{#if:{{{code_changes|}}}|<tr><td style="font-weight:bold;">Code changes</td><td>{{{code_changes}}}</td></tr>}} |
| <div class="infobox-row"><strong>Files Included:</strong> {{{files_included|n/a}}}</div>
| | {{#if:{{{maps|}}}|<tr><td style="font-weight:bold;">Maps</td><td>{{{maps}}}</td></tr>}} |
| <div class="infobox-row"><strong>Awards:</strong> {{{awards|}}}</div>
| | {{#if:{{{new_graphics|}}}|<tr><td style="font-weight:bold;">New graphics</td><td>{{{new_graphics}}}</td></tr>}} |
| | {{#if:{{{files_included|}}}|<tr><td style="font-weight:bold;">Files included</td><td>{{{files_included}}}</td></tr>}} |
| | {{#if:{{{awards|}}}|<tr><td style="font-weight:bold;">Awards</td><td>{{{awards}}}</td></tr>}} |
| | </table> |
| </div> | | </div> |
|
| |
| <templatedata>
| |
| {
| |
| "description": "Infobox for Wolfenstein mods.",
| |
| "params": {
| |
| "title": {
| |
| "label": "Title",
| |
| "description": "Name of the mod",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "image": {
| |
| "label": "Image",
| |
| "description": "Main image for the mod (filename only)",
| |
| "type": "wiki-file-name"
| |
| },
| |
| "author": {
| |
| "label": "Author(s)",
| |
| "description": "Who created the mod",
| |
| "type": "string"
| |
| },
| |
| "release_date": {
| |
| "label": "Release Date",
| |
| "description": "When the mod was released",
| |
| "type": "date"
| |
| },
| |
| "base_game": {
| |
| "label": "Base Game",
| |
| "description": "Wolfenstein/Spear version required",
| |
| "type": "string"
| |
| },
| |
| "sourceport": {
| |
| "label": "Source Port",
| |
| "description": "Supported source ports (DOS, SDL, ECWolf, etc.)",
| |
| "type": "string"
| |
| },
| |
| "type": {
| |
| "label": "Type",
| |
| "description": "Mod or TC",
| |
| "type": "string"
| |
| },
| |
| "code_changes": {
| |
| "label": "Code Changes",
| |
| "description": "Yes or No",
| |
| "type": "string"
| |
| },
| |
| "maps": {
| |
| "label": "Maps",
| |
| "description": "Number of new maps",
| |
| "type": "string"
| |
| },
| |
| "new_graphics": {
| |
| "label": "New Graphics",
| |
| "description": "Yes or No",
| |
| "type": "string"
| |
| },
| |
| "files_included": {
| |
| "label": "Files Included",
| |
| "description": "All or list of individual files",
| |
| "type": "string"
| |
| },
| |
| "awards": {
| |
| "label": "Awards",
| |
| "description": "Any awards or stickers",
| |
| "type": "string"
| |
| }
| |
| }
| |
| }
| |
| </templatedata>
| |