Difference between revisions of "Template:ScenarioInfoBox"

From Alpha Centauri Wiki
Jump to: navigation, search
(Created page with "<includeonly><table class="wikitable" style="float: right"> <tr> <th colspan="2">{{{scenario|{{PAGENAME}}}}}</th> </tr> <tr> <td>Author</td> ...")
 
m
Line 9: Line 9:
 
     <tr>
 
     <tr>
 
         <td>Download</td>
 
         <td>Download</td>
         <td>{{#if:{{{download|}}}|{{{ddownload}}}|unknown[[Category:Scenarios with missing download]]}}</td>
+
         <td>{{#if:{{{download|}}}|{{{download}}}|missing[[Category:Scenarios with missing download]]}}</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Thread</td>
+
         <td colspan="2">{{#if:{{{thread|}}}|[{{{thread}}} Discussion Thread]|Discussion thread missing[[Category:Scenarios with missing discussion thread]]}}</td>
        <td>{{#if:{{{thread|}}}|{{{thread}}}|unknown[[Category:Scenarios with missing discussion thread]]}}</td>
+
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>

Revision as of 19:21, 30 April 2014

Use

Put this template above the text about a scenario. It will handle categorization and display the information nicely.

Parameter use:

{{sib|
|version= SMAX or SMAC
|author= author of scenario
|date= date posted
|host= original host of file
|download= direct download link
|thread= discussion thread
}}

Copyable template:

{{sib|
|version=SMAX / SMAC
|author=
|date=
|host=
|download=
|thread=
}}