Difference between revisions of "Template:Infobox custom"

From RimWorld Wiki
Jump to navigation Jump to search
(Adjusted transclusion tags.)
 
(21 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=#00C000|testing=#FFC000|outdated=#FF1F00|suspended=#00E3FF}};">{{uc:{{{state|state}}}}}</p>}}
+
{{#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: {{#if:{{{forum|}}}|1|0}}{{#if:{{{logo|}}}|1|0}}
 
{{#switch: {{#if:{{{forum|}}}|1|0}}{{#if:{{{logo|}}}|1|0}}
Line 53: Line 53:
 
<br style="clear: both; height: 0px;" />
 
<br style="clear: both; height: 0px;" />
 
</dl></div></div>
 
</dl></div></div>
<includeonly>
 
{{#switch: {{#if:{{{state:suspended|}}}|1|0}}{{#if:{{{state:outdated|}}}|1|0}}
 
| 11 =
 
----
 
| 10 =
 
----
 
| 01 =
 
----
 
| 00 =
 
 
{{#switch: {{{1|}}}
 
{{#switch: {{{1|}}}
 
| scenario = [[Category:Scenario]]
 
| scenario = [[Category:Scenario]]
Line 67: Line 58:
 
| mod = [[Category:Mods]]
 
| mod = [[Category:Mods]]
 
| tool = [[Category:Tools]]
 
| tool = [[Category:Tools]]
}}
+
}}</includeonly><noinclude>
}}</includeonly>
+
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->
<noinclude>
 
{{{{BASEPAGENAME}}/doc}}
 
[[Category:Infobox templates|Custom]]
 
</noinclude>
 

Latest revision as of 03:07, 4 March 2021

Documentation icon Template documentation[view] [edit] [history] [purge]

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