Difference between revisions of "Template:Infobox ROSProject"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (Added documentation section)
m
 
(12 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
 
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
 
| title      = {{#if:{{both|{{{embed|}}}|{{{name|}}}}}|'''{{{name}}}'''}}
 
| title      = {{#if:{{both|{{{embed|}}}|{{{name|}}}}}|'''{{{name}}}'''}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|50px}}}|sizedefault=265x265px|alt={{{logo_alt|}}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{logo2|}}}|size={{{logo_width2|50px}}}|sizedefault=265x265px|alt={{{logo_alt2|}}}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|50px}}}|sizedefault=50x50px|alt={{{logo_alt|}}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{logo2|}}}|size={{{logo_width2|50px}}}|sizedefault=50x50px|alt={{{logo_alt2|}}}}}
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=265x265px|alt={{{image_alt|}}}}}
+
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=50x50px|alt={{{image_alt|}}}}}
 
| caption2    = {{{caption|}}}
 
| caption2    = {{{caption|}}}
 
| headerstyle = background-color: #efefef;
 
| headerstyle = background-color: #efefef;
Line 19: Line 19:
 
| data4      = {{{company|}}}
 
| data4      = {{{company|}}}
 
| label5    = Simulation difficulty
 
| label5    = Simulation difficulty
| data5      = {{{difficulty|}}}
+
| data5      = {{rating|{{{difficulty|}}}|10|size=15px}}
 
| label6    = Author{{#if: {{{authors|}}} |s}}
 
| label6    = Author{{#if: {{{authors|}}} |s}}
 
| data6      = {{{author|}}}
 
| data6      = {{{author|}}}
Line 26: Line 26:
 
| label8    = Website
 
| label8    = Website
 
| data8      = {{{website|}}}
 
| data8      = {{{website|}}}
| label9    = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}<!--?-->
+
| label9     = Rolling Stock
| data9     = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
+
| data9      = {{{rolling_stock|}}}
 +
| label10     = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}<!--?-->
 +
| data10     = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
 +
| label11    = Latest version
 +
| data11    = {{{version|}}}
 
| belowstyle  = vertical-align: middle; padding: 0
 
| belowstyle  = vertical-align: middle; padding: 0
 
| below      = {{#if:{{{map|}}}|
 
| below      = {{#if:{{{map|}}}|
Line 41: Line 45:
 
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
| preview = Page using [[Template:Infobox software]] with unknown parameter "_VALUE_"|ignoreblank=y
 
| preview = Page using [[Template:Infobox software]] with unknown parameter "_VALUE_"|ignoreblank=y
| name | company | difficulty | author | authors | companies | website | repository | map | country | time_period | image | description
+
| name | company | difficulty | author | authors | companies | website | repository | map | country | time_period | image | description | rolling_stock
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:43, 4 January 2026

Infobox ROSProject
Simulation difficultyPlease specify a rating.