Difference between revisions of "Template:Infobox ROSProject"
Jump to navigation
Jump to search
m (Add extra statements) |
|||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Infobox | |
− | | | + | | child = {{{embed|}}} |
− | | bodystyle | + | | autoheaders = y |
− | | | + | | bodystyle = width:{{{box_width|25em}}}; |
− | | | + | | above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} |
− | + | | abovestyle = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}} | |
− | + | | 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|}}}}} | |
− | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=265x265px|alt={{{image_alt|}}}}} | |
− | + | | caption2 = {{{caption|}}} | |
− | + | | headerstyle = background-color: #efefef; | |
− | | | + | | label1 = Description |
− | {{#invoke:InfoboxImage|InfoboxImage|image={{{ | + | | data1 = {{{description|}}} |
− | | caption2 | ||
− | | label1 = | ||
− | | data1 = {{{ | ||
| label2 = Country | | label2 = Country | ||
− | | data2 = {{{country|}} | + | | data2 = {{{country|}}} |
| label3 = Time period | | label3 = Time period | ||
− | | data3 = {{{time_period}}} | + | | data3 = {{{time_period|}}} |
− | | label4 = Simulation difficulty | + | | label4 = Train Operating Compan{{#if: {{{authors|}}} |ies else |y}} |
− | | | + | | data4 = {{{company|}}} |
− | | | + | | label5 = Simulation difficulty |
− | | | + | | data5 = {{rating|{{{difficulty|}}}|10|size=15px}} |
− | | | + | | label6 = Author{{#if: {{{authors|}}} |s}} |
− | | | + | | data6 = {{{author|}}} |
+ | | label7 = Repository | ||
+ | | data7 = {{{repository|}}} | ||
+ | | label8 = Website | ||
+ | | data8 = {{{website|}}} | ||
+ | | label9 = Rolling Stock | ||
+ | | data9 = {{{rolling_stock|}}} | ||
+ | | label10 = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}<!--?--> | ||
+ | | data10 = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }} | ||
+ | | belowstyle = vertical-align: middle; padding: 0 | ||
+ | | below = {{#if:{{{map|}}}| | ||
+ | <table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}} | ||
+ | |1|yes|collapsed|hide = mw-collapsed autocollapse | ||
+ | |0|no|show|uncollapsed|#default = uncollapsed | ||
+ | }}"> | ||
+ | <tr style="background-color: #efefef;"><th style="text-align:center"><div style="margin:0 4em">{{#if:{{{map_name|}}}|{{{map_name}}}|Route map}}</div></th></tr> | ||
+ | <tr><td style="text-align:center; padding-top: 3px"> | ||
+ | {{{map|}}}</td></tr> | ||
+ | </table>}} | ||
}}{{#invoke:Check for unknown parameters | check | showblankpositional=1 | }}{{#invoke:Check for unknown parameters | check | showblankpositional=1 | ||
| 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 | rolling_stock | |
− | }}</ | + | }}<noinclude> |
+ | {{Documentation}} | ||
+ | </noinclude> |