Difference between revisions of "Template:ScenarioInfoBox"
m |
m (added easy and hard download options) |
||
(4 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> | ||
<td colspan="2">{{#if:{{{thread|}}}|[{{{thread}}} Discussion Thread]|Discussion thread missing[[Category:Scenarios with missing discussion thread]]}}</td> | <td colspan="2">{{#if:{{{thread|}}}|[{{{thread}}} Discussion Thread]|Discussion thread missing[[Category:Scenarios with missing discussion thread]]}}</td> | ||
− | </tr> | + | </tr>{{#if:{{{difficulty|}}}| |
+ | <tr> | ||
+ | <td>Difficulty</td> | ||
+ | <td>{{{difficulty}}}</td> | ||
+ | </tr>|}}{{#if:{{{playerfaction|}}}| | ||
+ | <tr> | ||
+ | <td>Player faction</td> | ||
+ | <td>{{{playerfaction}}}</td> | ||
+ | </tr>[[Category:Scenarios as {{{playerfaction}}}]]|}}{{#if:{{{factions|}}}| | ||
+ | <tr> | ||
+ | <td>Factions used</td> | ||
+ | <td>{{{factions}}}</td> | ||
+ | </tr>|[[Category:Scenarios without factions listed]]}} | ||
<tr> | <tr> | ||
<td>Version</td> | <td>Version</td> | ||
Line 24: | Line 36: | ||
<td>Original Host</td> | <td>Original Host</td> | ||
<td>{{{host}}}</td> | <td>{{{host}}}</td> | ||
− | </tr>|[[Category:Scenarios with unknown host]]}} | + | </tr>|[[Category:Scenarios with unknown host]]}}{{#if:{{{alpha|}}}| |
+ | <tr> | ||
+ | <td colspan="2">Scenario contains modded alpha(x).txt.</td> | ||
+ | </tr>[[Category:Scenarios with modded alpha(x).txt]]|}}{{#if:{{{customfaction|}}}| | ||
+ | <tr> | ||
+ | <td>Custom factions</td> | ||
+ | <td>{{{customfaction}}}</td> | ||
+ | </tr>[[Category:Scenarios with custom factions]]|}}{{#if:{{{customgraphics|}}}| | ||
+ | <tr> | ||
+ | <td>Custom Graphics</td> | ||
+ | <td>{{{customgraphics|Has custom graphics.}}}</td> | ||
+ | </tr>[[Category:Scenarios with custom graphics]]|}}{{#if:{{{fanficlink|}}}| | ||
+ | <tr> | ||
+ | <td>Related fiction</td> | ||
+ | <td>[{{{fanficlink}}} {{{fanficname|Fanfiction}}}]</td> | ||
+ | </tr>[[Category:Scenarios with related fiction]]|}} | ||
</table>[[Category:Scenarios]]</includeonly><noinclude> | </table>[[Category:Scenarios]]</includeonly><noinclude> | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
Line 38: | 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) | ||
+ | |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 | ||
}}</pre> | }}</pre> | ||
Line 49: | Line 86: | ||
|host= | |host= | ||
|download= | |download= | ||
+ | |dleasy= | ||
+ | |dlhard= | ||
|thread= | |thread= | ||
+ | |difficulty= | ||
+ | |customfactions= | ||
+ | |alpha= | ||
+ | |fanficlink= | ||
+ | |fanficname= | ||
+ | |playerfaction= | ||
+ | |factions= | ||
+ | |customgraphics= | ||
}}</pre> | }}</pre> | ||
</noinclude> | </noinclude> |
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= }}