Difference between revisions of "Template:ScenarioInfoBox"

From Alpha Centauri Wiki
Jump to: navigation, search
m (more params.)
m
Line 15: Line 15:
 
     <tr>
 
     <tr>
 
         <td>Difficulty</td>
 
         <td>Difficulty</td>
         <td>{{difficulty}}</td>
+
         <td>{{{difficulty}}}</td>
 
     </tr>|}}{{#if:{{{playerfaction|}}}|
 
     </tr>|}}{{#if:{{{playerfaction|}}}|
 
     <tr>
 
     <tr>
 
         <td>Player faction</td>
 
         <td>Player faction</td>
         <td>{{playerfaction}}</td>
+
         <td>{{{playerfaction}}}</td>
     </tr>[[Category:Scenarios as {{playerfaction}}]]|}}{{#if:{{{factions|}}}|
+
     </tr>[[Category:Scenarios as {{{playerfaction}}}]]|}}{{#if:{{{factions|}}}|
 
     <tr>
 
     <tr>
 
         <td>Factions used</td>
 
         <td>Factions used</td>
         <td>{{factions}}</td>
+
         <td>{{{factions}}}</td>
 
     </tr>|[[Category:Scenarios without factions listed]]}}
 
     </tr>|[[Category:Scenarios without factions listed]]}}
 
     <tr>
 
     <tr>
Line 42: Line 42:
 
     <tr>
 
     <tr>
 
         <td>Custom factions</td>
 
         <td>Custom factions</td>
         <td>{{customfaction}}</td>
+
         <td>{{{customfaction}}}</td>
 
     </tr>[[Category:Scenarios with custom factions]]|}}{{#if:{{{customgraphics|}}}|
 
     </tr>[[Category:Scenarios with custom factions]]|}}{{#if:{{{customgraphics|}}}|
 
     <tr>
 
     <tr>
 
         <td>Custom Graphics</td>
 
         <td>Custom Graphics</td>
         <td>{{customgraphics}}</td>
+
         <td>{{{customgraphics|Has custom graphics.}}}</td>
 
     </tr>[[Category:Scenarios with custom graphics]]|}}{{#if:{{{fanficlink|}}}|
 
     </tr>[[Category:Scenarios with custom graphics]]|}}{{#if:{{{fanficlink|}}}|
 
     <tr>
 
     <tr>
 
         <td>Related fiction</td>
 
         <td>Related fiction</td>
         <td>[{{fanficlink}} {{fanficname|Fanfiction}}]</td>
+
         <td>[{{fanficlink}} {{{fanficname|Fanfiction}}}]</td>
 
     </tr>[[Category:Scenarios with related fiction]]|}}
 
     </tr>[[Category:Scenarios with related fiction]]|}}
 
</table>[[Category:Scenarios]]</includeonly><noinclude>
 
</table>[[Category:Scenarios]]</includeonly><noinclude>
Line 73: Line 73:
 
|playerfaction= faction player uses. comma separated list if multiple options. use faction title as in wiki pages (e.g. Human Hive, The Lord's Believers).
 
|playerfaction= faction player uses. comma separated list if multiple options. use faction title as in wiki pages (e.g. Human Hive, The Lord's Believers).
 
|factions= all factions in scenario, comma separated
 
|factions= all factions in scenario, comma separated
|customgraphics= yes if it has them, blank otherwise
+
|customgraphics= list if it has them, blank otherwise
 
}}</pre>
 
}}</pre>
  

Revision as of 21:51, 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
|difficulty= difficulty level (easy, medium, hard)
|customfactions= custom factions included in the scenario, comma separated
|alpha= scenario has modified alpha(x).txt file
|fanficlink= link to fanfiction
|fanficname= name of fanfiction (optional)
|playerfaction= faction player uses. comma separated list if multiple options. use faction title as in wiki pages (e.g. Human Hive, The Lord's Believers).
|factions= all factions in scenario, comma separated
|customgraphics= list if it has them, blank otherwise
}}

Copyable template:

{{sib|
|version=SMAX / SMAC
|author=
|date=
|host=
|download=
|thread=
|difficulty=
|customfactions=
|alpha=
|fanficlink=
|fanficname=
|playerfaction=
|factions=
|customgraphics=
}}