Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Mod: Difference between revisions

Template page
Wikiadmin (talk | contribs)
No edit summary
Tag: Manual revert
Wikiadmin (talk | contribs)
No edit summary
Tag: Reverted
Line 1: Line 1:
<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 mod-infobox">
   <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-header">{{{title|{{PAGENAME}}}}}</div>
     {{{title1|Mod}}}
   <div class="infobox-image">
     [[File:{{{image|Example.png}}}|250px]]
   </div>
   </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>Author(s):</strong> {{{author|Unknown}}}</div>
   <table style="width:100%; border-collapse:collapse; color:#fff;">
   <div class="infobox-row"><strong>Release Date:</strong> {{{release_date|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>Base Game:</strong> {{{base_game|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>Source Port:</strong> {{{sourceport|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>Type:</strong> {{{type|n/a}}}</div>
    {{#if:{{{sourceport|}}}|<tr><td style="font-weight:bold;">Source port</td><td>{{{sourceport}}}</td></tr>}}
  <div class="infobox-row"><strong>Code Changes:</strong> {{{code_changes|n/a}}}</div>
    {{#if:{{{type|}}}|<tr><td style="font-weight:bold;">Type</td><td>{{{type}}}</td></tr>}}
  <div class="infobox-row"><strong>Maps:</strong> {{{maps|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>New Graphics:</strong> {{{new_graphics|n/a}}}</div>
    {{#if:{{{maps|}}}|<tr><td style="font-weight:bold;">Maps</td><td>{{{maps}}}</td></tr>}}
  <div class="infobox-row"><strong>Files Included:</strong> {{{files_included|n/a}}}</div>
    {{#if:{{{new_graphics|}}}|<tr><td style="font-weight:bold;">New graphics</td><td>{{{new_graphics}}}</td></tr>}}
  <div class="infobox-row"><strong>Awards:</strong> {{{awards|}}}</div>
    {{#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>

Revision as of 09:04, 30 September 2025

Mod
Author(s): Unknown
Release Date: n/a
Base Game: n/a
Source Port: n/a
Type: n/a
Code Changes: n/a
Maps: n/a
New Graphics: n/a
Files Included: n/a
Awards:

Infobox for Wolfenstein mods.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Name of the mod

Stringrequired
Imageimage

Main image for the mod (filename only)

Fileoptional
Author(s)author

Who created the mod

Stringoptional
Release Daterelease_date

When the mod was released

Dateoptional
Base Gamebase_game

Wolfenstein/Spear version required

Stringoptional
Source Portsourceport

Supported source ports (DOS, SDL, ECWolf, etc.)

Stringoptional
Typetype

Mod or TC

Stringoptional
Code Changescode_changes

Yes or No

Stringoptional
Mapsmaps

Number of new maps

Stringoptional
New Graphicsnew_graphics

Yes or No

Stringoptional
Files Includedfiles_included

All or list of individual files

Stringoptional
Awardsawards

Any awards or stickers

Stringoptional