Difference between revisions of "Template:Infobox custom"
Jump to navigation
Jump to search
GlobusGames (talk | contribs) m |
(Adjusted transclusion tags.) |
||
(49 intermediate revisions by 6 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 |<!-- | ||
--> mod = c_10 |<!-- | --> mod = c_10 |<!-- | ||
--> tool = c_12 |<!-- | --> tool = c_12 |<!-- | ||
− | -->}}}}"> | + | -->}}}} {{#if:{{{2|}}}|{{{2}}}}}"> |
− | <p class="heading">{{{name|{{BASEPAGENAME}}}}}</p> | + | <p class="heading" style="margin:-1px -1px 0px!important;">{{{name|{{BASEPAGENAME}}}}}</p> |
− | <p class=" | + | {{#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;"> | ||
− | [[File: | + | {{#switch: {{#if:{{{forum|}}}|1|0}}{{#if:{{{logo|}}}|1|0}} |
− | + | | 11 = | |
+ | [[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|120px|link=//ludeon.com/forums/index.php?topic={{{forum|}}}|Forum thread]] | ||
+ | </div> | ||
+ | <div class="wrapper"> | ||
+ | ---- | ||
+ | | 01 = | ||
+ | [[File:{{{logo|}}}|120px]] | ||
+ | </div> | ||
+ | <div class="wrapper"> | ||
+ | ---- | ||
+ | | 00 = | ||
+ | </div> | ||
+ | <div class="wrapper"> | ||
+ | }} | ||
<dl> | <dl> | ||
{{#if: {{{author|}}}| | {{#if: {{{author|}}}| | ||
Line 20: | Line 35: | ||
;Version | ;Version | ||
:{{{version|}}}}} | :{{{version|}}}}} | ||
− | {{#if: {{{ | + | {{#if: {{{firstrelease|}}}| |
− | ; | + | ;First Release |
− | :{{{ | + | :{{{firstrelease|}}}}} |
;Compatibility | ;Compatibility | ||
− | :{{#if: {{{comp|}}}|[[Version/{{{comp}}}{{!}}{{{comp}}}]] | + | :{{#if: {{{comp|}}}|[[Version/{{{comp}}}{{!}}{{{comp}}}]]|[[Version/{{:Version}}{{!}}{{:Version}}]]}} |
{{#if: {{{size|}}}| | {{#if: {{{size|}}}| | ||
;Map size | ;Map size | ||
:{{{size|}}} ˣ {{#if:{{{2}}}|{{{2|}}}}} }} | :{{{size|}}} ˣ {{#if:{{{2}}}|{{{2|}}}}} }} | ||
+ | {{#switch: {{{1|}}} | ||
+ | | scenario | cscenario | #DEFAULT = | ||
+ | ;AI Storyteller | ||
+ | :{{#if: {{{ai|}}}|[[{{#switch:{{{ai|}}}|Callie=Chill Callie Classic|Cassandra=Cassandra Classic|Kassandra|Cleopatra=Tough Cleopatra Classic|Phoebe=Phoebe Friendly|Randy=Randy Random}}]]|Off}} | ||
+ | | mod | tool = | ||
+ | {{#if: {{{ai|}}} | ||
;AI Storyteller | ;AI Storyteller | ||
− | :{{#if: {{{ai|}}}|[[{{#switch:{{{ai|}}}|Callie = Chill Callie Classic|Cassandra = Cassandra Classic|Kassandra|Cleopatra = Tough Cleopatra Classic|Phoebe = Phoebe Friendly|Randy = Randy Random}}]]|Off}} | + | :{{#if: {{{ai|}}}|[[{{#switch:{{{ai|}}}|Callie=Chill Callie Classic|Cassandra=Cassandra Classic|Kassandra|Cleopatra=Tough Cleopatra Classic|Phoebe=Phoebe Friendly|Randy=Randy Random}}]]|Off}} }} }} |
<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. |