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
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="author..."
 
Wikiadmin (talk | contribs)
No edit summary
 
(52 intermediate revisions by 5 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>
  </group>
     </tr>}}
</infobox>
     {{#if:{{{files_included|}}}|<tr>
<noinclude>
      <td style="font-weight:bold;">Files included</td>
Example usage:<pre>
       <td style="white-space:pre-line;">{{{files_included}}}</td>
{{Mod
     </tr>}}
|title1=Example
     {{#if:{{{mods|}}}|<tr>
|image1=Example
      <td style="font-weight:bold;">Mods</td>
|caption1=Example
       <td style="white-space:pre-line;">{{{mods}}}</td>
|author(s)=Example
     </tr>}}
|release_date=Example
    {{#if:{{{awards|}}}|<tr>
|base_game=Example
      <td style="font-weight:bold;">Awards</td>
|sourceport=Example
      <td style="white-space:pre-line;">{{{awards}}}</td>
|type=Example
    </tr>}}
|code_changes=Example
  </table>
|maps=Example
 
|new_graphics=Example
</div>
|files_included=Example
}}
</pre>
</noinclude>

Latest revision as of 09:38, 10 October 2025