Difference between revisions of "Template:ScenarioInfoBox"
m |
m (added some params) |
||
Line 12: | Line 12: | ||
<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>|}} | ||
<tr> | <tr> | ||
<td>Version</td> | <td>Version</td> | ||
Line 24: | Line 28: | ||
<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>Factions</td> | ||
+ | <td>{{customfaction}}</td> | ||
+ | </tr>[[Category:Scenarios with custom factions]]|}} | ||
</table>[[Category:Scenarios]]</includeonly><noinclude> | </table>[[Category:Scenarios]]</includeonly><noinclude> | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
Line 39: | Line 50: | ||
|download= direct download link | |download= direct download link | ||
|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 | ||
}}</pre> | }}</pre> | ||
Line 50: | Line 64: | ||
|download= | |download= | ||
|thread= | |thread= | ||
+ | |difficulty= | ||
+ | |customfactions= | ||
+ | |alpha= | ||
}}</pre> | }}</pre> | ||
</noinclude> | </noinclude> |
Revision as of 21:20, 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 }}
Copyable template:
{{sib| |version=SMAX / SMAC |author= |date= |host= |download= |thread= |difficulty= |customfactions= |alpha= }}