Difference between revisions of "Template:Infobox custom"
Jump to navigation
Jump to search
(Adjusted transclusion tags.) |
|||
(38 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox {{#if:{{{1|}}}|{{#switch:{{{1|}}}|<!-- | + | <includeonly><div class="infobox {{#if:{{{1|}}}|{{#switch:{{{1|}}}|<!-- |
--> scenario = c_11 |<!-- | --> scenario = c_11 |<!-- | ||
--> cscenario = c_02 |<!-- | --> cscenario = c_02 |<!-- | ||
Line 6: | Line 6: | ||
-->}}}} {{#if:{{{2|}}}|{{{2}}}}}"> | -->}}}} {{#if:{{{2|}}}|{{{2}}}}}"> | ||
<p class="heading" style="margin:-1px -1px 0px!important;">{{{name|{{BASEPAGENAME}}}}}</p> | <p class="heading" style="margin:-1px -1px 0px!important;">{{{name|{{BASEPAGENAME}}}}}</p> | ||
− | {{#if:{{{state|}}}|<p class="custom" style="background-color:{{#switch:{{{state|}}}|released=# | + | {{#if:{{{state|}}}|<p class="custom" style="background-color:{{#switch:{{{state|}}}|released=#00CC00|testing=#FFC000|outdated=#FF1F00|suspended=#00E3FF}};">{{uc:{{{state|state}}}}}</p>}} |
<div class="text-center plainlinks" style="display:block; padding: 0.5em;"> | <div class="text-center plainlinks" style="display:block; padding: 0.5em;"> | ||
− | {{#switch: | + | {{#switch: {{#if:{{{forum|}}}|1|0}}{{#if:{{{logo|}}}|1|0}} |
− | | | + | | 11 = |
− | [[File: | + | [[File:{{{logo|}}}|120px|link=//ludeon.com/forums/index.php?topic={{{forum|}}}|Forum thread]] |
− | |||
</div> | </div> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
---- | ---- | ||
− | | | + | | 10 = |
− | [[File:LudeonLogoSquare.png| | + | [[File:LudeonLogoSquare.png|120px|link=//ludeon.com/forums/index.php?topic={{{forum|}}}|Forum thread]] |
</div> | </div> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
---- | ---- | ||
− | | | + | | 01 = |
− | [[File: | + | [[File:{{{logo|}}}|120px]] |
</div> | </div> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
---- | ---- | ||
− | | | + | | 00 = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
Line 71: | Line 53: | ||
<br style="clear: both; height: 0px;" /> | <br style="clear: both; height: 0px;" /> | ||
</dl></div></div> | </dl></div></div> | ||
− | + | {{#switch: {{{1|}}} | |
| scenario = [[Category:Scenario]] | | scenario = [[Category:Scenario]] | ||
| cscenario = [[Category:Custom scenario]] | | cscenario = [[Category:Custom scenario]] | ||
− | | mod = [[Category: | + | | mod = [[Category:Mods]] |
| tool = [[Category:Tools]] | | tool = [[Category:Tools]] | ||
− | }}</includeonly> | + | }}</includeonly><noinclude> |
− | <noinclude> | + | {{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> |
− | {{ | ||
− | |||
− | </ |
Latest revision as of 03:07, 4 March 2021
Usage[edit]
{{infobox custom|mod/tool |name = displayed name |state = released/outdated/suspended |logo = adds a logo of 120px instead of the ludeon logo |forum = number of forum thread (e.g 33.0 to //ludeon.com/forums/index.php?topic=33.0) |author = author name or team |version = version of mod |comp = which version of game is compatible with, leave blank for current |firstrelease = the date that the mod was released for the first time. |size = supported/used map size Place this: | :between numbers |ai = running ai storyteller, leave blank for turned off (in mod/tool is not displaying by default) }}
Example[edit]
My MOD
RELEASED
- Author
- MOD Team Delta
- Version
- v 0.1.2
- First Release
- 20.05.14
- Compatibility
- Alpha 8
- Map size
- 400 ˣ 400
The above documentation is transcluded from Template:Infobox custom/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |