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

<infobox>

 <title source="title1">
   <default>Mod</default>
 </title>
 <image source="image1">

</image> <label>Author(s)</label> <label>Release Date</label> <label>Base Game</label> <label>Sourceport</label> <group collapse="open"> <header>Features</header> <label>Type</label> <label>Code Changes</label> <label>Maps</label> <label>New Graphics</label> <label>Files Included</label> <label>Files Needed</label> <label>Awards</label> </group> </infobox> Example usage:

{{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
}}