Difference between revisions of "Template:ScenarioInfoBox"

From Alpha Centauri Wiki
Jump to: navigation, search
m (more params.)
m (added easy and hard download options)
 
(2 intermediate revisions by one user not shown)
Line 8: Line 8:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td colspan="2">{{#if:{{{download|}}}|[{{{download}}} Download Scenario]|Download missing[[Category:Scenarios with missing download]]}}</td>
+
         <td colspan="2">{{#if:{{{download|}}}{{{dleasy|}}}{{{dlhard|}}}|[{{{download}}} Download Scenario]{{#if:{{{dleasy|}}}| ([{{{dleasy|}}} easy])}}{{#if:{{{dlhard|}}}| ([{{{dlhard|}}} hard])}}|Download missing[[Category:Scenarios with missing download]]}}</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
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 65: Line 65:
 
|host= original host of file
 
|host= original host of file
 
|download= direct download link
 
|download= direct download link
 +
|dleasy= download for easy version
 +
|dlhard= download for hard version
 
|thread= discussion thread
 
|thread= discussion thread
 
|difficulty= difficulty level (easy, medium, hard)
 
|difficulty= difficulty level (easy, medium, hard)
Line 73: Line 75:
 
|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>
  
Line 84: Line 86:
 
|host=
 
|host=
 
|download=
 
|download=
 +
|dleasy=
 +
|dlhard=
 
|thread=
 
|thread=
 
|difficulty=
 
|difficulty=

Latest revision as of 18:09, 8 May 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
|dleasy= download for easy version
|dlhard= download for hard version
|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=
|dleasy=
|dlhard=
|thread=
|difficulty=
|customfactions=
|alpha=
|fanficlink=
|fanficname=
|playerfaction=
|factions=
|customgraphics=
}}