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)
m 1 revision imported
Wikiadmin (talk | contribs)
No edit summary
Line 1: Line 1:
<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;">
   <title source="title1">
   <div style="text-align:center; font-weight:bold; font-size:110%; background:#333; color:#fff; padding:6px; border-radius:6px 6px 0 0;">
     <default>{{PAGENAME}}</default>
     {{{title1|Mod}}}
   </title>
   </div>
   <image source="image1">
   {{#if:{{{image1|}}}|<div style="text-align:center; margin:8px 0;">[[File:{{{image1}}}|250px]]<br><span style="font-size:smaller;">{{{caption1|}}}</span></div>}}
    <caption source="caption1"/>
   <table style="width:100%; border-collapse:collapse; color:#fff;">
  </image>
    {{#if:{{{author(s)|}}}|<tr><td style="font-weight:bold;">Author(s)</td><td>{{{author(s)}}}</td></tr>}}
   <data source="author(s)">
     {{#if:{{{release_date|}}}|<tr><td style="font-weight:bold;">Release date</td><td>{{{release_date}}}</td></tr>}}
    <label>Author(s)</label>
    {{#if:{{{base_game|}}}|<tr><td style="font-weight:bold;">Base game</td><td>{{{base_game}}}</td></tr>}}
  </data>
    {{#if:{{{sourceport|}}}|<tr><td style="font-weight:bold;">Source port</td><td>{{{sourceport}}}</td></tr>}}
  <data source="release_date">
     {{#if:{{{type|}}}|<tr><td style="font-weight:bold;">Type</td><td>{{{type}}}</td></tr>}}
     <label>Release Date</label>
     {{#if:{{{code_changes|}}}|<tr><td style="font-weight:bold;">Code changes</td><td>{{{code_changes}}}</td></tr>}}
  </data>
     {{#if:{{{maps|}}}|<tr><td style="font-weight:bold;">Maps</td><td>{{{maps}}}</td></tr>}}
  <data source="base_game">
     {{#if:{{{new_graphics|}}}|<tr><td style="font-weight:bold;">New graphics</td><td>{{{new_graphics}}}</td></tr>}}
    <label>Base Game</label>
     {{#if:{{{files_included|}}}|<tr><td style="font-weight:bold;">Files included</td><td>{{{files_included}}}</td></tr>}}
  </data>
     {{#if:{{{awards|}}}|<tr><td style="font-weight:bold;">Awards</td><td>{{{awards}}}</td></tr>}}
  <data source="sourceport">
  </table>
    <label>Sourceport</label>
</div>
  </data>
  <group collapse="open">
    <header>Features</header>
    <data source="type">
      <label>Type</label>
     </data>
    <data source="code_changes">
      <label>Code Changes</label>
    </data>
     <data source="maps">
      <label>Maps</label>
    </data>
     <data source="new_graphics">
      <label>New Graphics</label>
    </data>
     <data source="files_included">
      <label>Files Included</label>
    </data>
     <data source="files_needed">
      <label>Files Needed</label>
    </data>
     <data source="awards">
      <label>Awards</label>
    </data>
  </group>
</infobox>
<noinclude>
Example usage:<pre>
{{Mod
|title1=Game Name
|image1=Title Image
|caption1=Title Image Caption
|author(s)=List Authors
|release_date=Original Date of Release
|base_game=Registered Wolfenstein, Shareware Wolfenstein, Registered Spear of Destiny, Shareware Spear of Destiny, or custom
|sourceport=DOS, SDL, ECWolf
|type=Mod or TC
|code_changes=Yes or no
|maps=Number of new maps (n/a if no new maps)
|new_graphics=Yes or no
|files_included=All or list individual files
|awards=put stickers here
}}
</pre>
</noinclude>

Revision as of 14:35, 29 September 2025

   Mod