Difference between revisions of "Template:Infobox ROSProject"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (Try fixing missing image)
m (Switch to similar style as rail line)
Line 1: Line 1:
<includeonly>{{Infobox
+
{{Infobox
| bodyclass  = vevent
+
| child      = {{{embed|}}}
| bodystyle = {{{bodystyle|}}}
+
| autoheaders = y
| title      = {{#if:{{{title|{{{name|}}}}}}|{{{title|{{{name|}}}}}}|{{PAGENAMEBASE}}}}
+
| bodystyle   = width:{{{box_width|25em}}};
| titleclass = summary
+
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| labelstyle = white-space: nowrap;
+
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
| image      = {{#if:{{{screenshot|}}}
+
| title      = {{#if:{{both|{{{embed|}}}|{{{name|}}}}}|'''{{{name}}}'''}}
| {{#invoke:InfoboxImage | InfoboxImage | image={{{logo|}}} | title={{{logo caption|}}} | size={{{logo size|{{{logo_size|}}}}}} | sizedefault=300x64px | maxsize=300x64px | alt={{{logo alt|{{{logo_alt|}}}}}} }}
+
| 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|}}}}}
| {{#invoke:InfoboxImage | InfoboxImage | image={{{logo|}}} | title={{{logo caption|}}} | size={{{logo size|{{{logo_size|}}}}}} | alt={{{logo alt|{{{logo_alt|}}}}}} }}
+
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=265x265px|alt={{{image_alt|}}}}}
| caption    = {{{logo caption|}}}
+
| caption2   = {{{caption|}}}
| image2    = {{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=background:{{{background|gainsboro}}};text-align:center|contentstyle=text-align:center}}}}
+
| headerstyle = background-color: #efefef;
{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot size|{{{screenshot_size|}}}}}}|sizedefault=300px|alt={{{screenshot_alt|}}}}}}}
 
| caption2   = {{{caption|}}}{{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden end}}}}}}
 
 
| label1    = Description
 
| label1    = Description
 
| data1      = {{{description|}}}
 
| data1      = {{{description|}}}

Revision as of 20:05, 7 May 2021

Infobox ROSProject

</includeonly>