Difference between revisions of "Template:ScenarioInfoBox"
m (added some params) |
m (more params.) |
||
Line 16: | Line 16: | ||
<td>Difficulty</td> | <td>Difficulty</td> | ||
<td>{{difficulty}}</td> | <td>{{difficulty}}</td> | ||
− | </tr>|}} | + | </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 33: | Line 41: | ||
</tr>[[Category:Scenarios with modded alpha(x).txt]]|}}{{#if:{{{customfaction|}}}| | </tr>[[Category:Scenarios with modded alpha(x).txt]]|}}{{#if:{{{customfaction|}}}| | ||
<tr> | <tr> | ||
− | <td> | + | <td>Custom factions</td> |
<td>{{customfaction}}</td> | <td>{{customfaction}}</td> | ||
− | </tr>[[Category:Scenarios with custom factions]]|}} | + | </tr>[[Category:Scenarios with custom factions]]|}}{{#if:{{{customgraphics|}}}| |
+ | <tr> | ||
+ | <td>Custom Graphics</td> | ||
+ | <td>{{customgraphics}}</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 53: | Line 69: | ||
|customfactions= custom factions included in the scenario, comma separated | |customfactions= custom factions included in the scenario, comma separated | ||
|alpha= scenario has modified alpha(x).txt file | |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= yes if it has them, blank otherwise | ||
}}</pre> | }}</pre> | ||
Line 67: | Line 88: | ||
|customfactions= | |customfactions= | ||
|alpha= | |alpha= | ||
+ | |fanficlink= | ||
+ | |fanficname= | ||
+ | |playerfaction= | ||
+ | |factions= | ||
+ | |customgraphics= | ||
}}</pre> | }}</pre> | ||
</noinclude> | </noinclude> |
Revision as of 21:40, 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= yes 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= }}