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
imported>Wjhollyart
No edit summary
wl6>Wikiadmin
m 1 revision imported
Line 1: Line 1:
<infobox>
<div class="Mod">
  <title source="title1">
<div class="Mod-title">{{{title1|{{PAGENAME}}}}}</div>{{#if:{{{image1|}}}|
    <default>{{PAGENAME}}</default>
<div class="Mod-image">[[File:{{{image1}}}|300px]]</div>}}
  </title>
<table>{{#if:{{{author(s)|}}}|<tr>
  <image source="image1">
     <th>Author(s)</th>
    <caption source="caption1"/>
    <td>{{{author(s)}}}</td>
  </image>
</tr>}}{{#if:{{{release_date|}}}|<tr>
  <data source="author(s)">
     <th>Release Date</th>
     <label>Author(s)</label>
    <td>{{{release_date}}}</td>
  </data>
</tr>}}{{#if:{{{base_game|}}}|<tr>
  <data source="release_date">
     <th>Base Gane</th>
     <label>Release Date</label>
    <td>{{{base_game}}}</td>
  </data>
</tr>}}{{#if:{{{sourceport|}}}|<tr>
  <data source="base_game">
     <th>Sourceport</th>
     <label>Base Game</label>
    <td>{{{sourceport}}}</td>
  </data>
</tr>}}{{#if:{{{type|}}}|<tr>
  <data source="sourceport">
     <th>Type</th>
     <label>Sourceport</label>
     <td>{{{type}}}</td>
  </data>
</tr>}}{{#if:{{{code_changes|}}}|<tr>
  <group collapse="open">
    <th>Code changes</th>
     <header>Features</header>
     <td>{{{code_changes}}}</td>
     <data source="type">
</tr>}}{{#if:{{{maps|}}}|<tr>
      <label>Type</label>
    <th>Maps</th>
    </data>
     <td>{{{maps}}}</td>
    <data source="code_changes">
</tr>}}{{#if:{{{new_graphics|}}}|<tr>
      <label>Code Changes</label>
    <th>New graphics</th>
     </data>
     <td>{{{new_graphics}}}</td>
    <data source="maps">
</tr>}}{{#if:{{{files_included|}}}|<tr>
      <label>Maps</label>
     <th>Files included</th>
     </data>
     <td>{{{files_included}}}</td>  
    <data source="new_graphics">
</tr>}}</table>
      <label>New Graphics</label>
</div>
     </data>
    <data source="files_included">
      <label>Files Included</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 21:27, 16 July 2022

Mod