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
Wikiadmin (talk | contribs)
No edit summary
 
(49 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<infobox>
<div style="float:right; clear:right; margin:0 0 1em 1em; width:320px; border:1px solid #444; background:#222; color:#fff; padding:6px; font-size:90%; border-radius:8px;">
   <title source="title1">
 
    <default>{{PAGENAME}}</default>
   {{#if:{{{image1|}}}|<div style="text-align:center; margin:8px 0;">[[File:{{{image1}}}|300px]]<br><br><span style="font-size:small; color:cyan;font-style:italic">{{{caption1|}}}</span></div>}}
  </title>
 
   <image source="image1">
   <table style="width:100%; border-collapse:separate; border-spacing:0 18px; color:#fff; line-height:1.4;">
     <caption source="caption1"/>
     {{#if:{{{author(s)|}}}|<tr>
  </image>
      <td style="font-weight:bold;">Author(s)</td>
  <data source="author(s)">
      <td style="white-space:pre-line;">{{{author(s)}}}</td>
     <label>Author(s)</label>
     </tr>}}
  </data>
    {{#if:{{{release_date|}}}|<tr>
  <data source="release_date">
      <td style="font-weight:bold;">Release date</td>
     <label>Release Date</label>
      <td style="white-space:pre-line;">{{{release_date}}}</td>
  </data>
     </tr>}}
  <data source="base_game">
    {{#if:{{{base_game|}}}|<tr>
    <label>Base Game</label>
      <td style="font-weight:bold;">Base game</td>
  </data>
      <td style="white-space:pre-line;">{{{base_game}}}</td>
  <data source="sourceport">
    </tr>}}
     <label>Sourceport</label>
     {{#if:{{{sourceport|}}}|<tr>
  </data>
      <td style="font-weight:bold;">Source port</td>
  <group collapse="open">
      <td style="white-space:pre-line;">{{{sourceport}}}</td>
     <header>Features</header>
     </tr>}}
    <data source="type">
    {{#if:{{{type|}}}|<tr>
       <label>Type</label>
      <td style="font-weight:bold;">Type</td>
     </data>
       <td style="white-space:pre-line;">{{{type}}}</td>
     <data source="code_changes">
     </tr>}}
       <label>Code Changes</label>
     {{#if:{{{code_changes|}}}|<tr>
     </data>
      <td style="font-weight:bold;">Code changes</td>
     <data source="maps">
       <td style="white-space:pre-line;">{{{code_changes}}}</td>
       <label>Maps</label>
     </tr>}}
     </data>
     {{#if:{{{maps|}}}|<tr>
     <data source="new_graphics">
      <td style="font-weight:bold;">Maps</td>
       <label>New Graphics</label>
       <td style="white-space:pre-line;">{{{maps}}}</td>
     </data>
     </tr>}}
     <data source="files_included">
     {{#if:{{{new_graphics|}}}|<tr>
       <label>Files Included</label>
      <td style="font-weight:bold;">New graphics</td>
     </data>
       <td style="white-space:pre-line;">{{{new_graphics}}}</td>
     <data source="awards">
     </tr>}}
       <label>Awards</label>
     {{#if:{{{files_included|}}}|<tr>
     </data>
      <td style="font-weight:bold;">Files included</td>
  </group>
       <td style="white-space:pre-line;">{{{files_included}}}</td>
</infobox>
     </tr>}}
<noinclude>
     {{#if:{{{mods|}}}|<tr>
Example usage:<pre>
      <td style="font-weight:bold;">Mods</td>
{{Mod
       <td style="white-space:pre-line;">{{{mods}}}</td>
|title1=Game Name
     </tr>}}
|image1=Title Image
    {{#if:{{{awards|}}}|<tr>
|caption1=Title Image Caption
      <td style="font-weight:bold;">Awards</td>
|author(s)=List Authors
      <td style="white-space:pre-line;">{{{awards}}}</td>
|release_date=Original Date of Release
    </tr>}}
|base_game=Registered Wolfenstein, Shareware Wolfenstein, Registered Spear of Destiny, Shareware Spear of Destiny, or custom
  </table>
|sourceport=DOS, SDL, ECWolf
 
|type=Mod or TC
</div>
|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>

Latest revision as of 09:38, 10 October 2025