Difference between revisions of "Template:Infobox ROSProject"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (Added map field)
 
(14 intermediate revisions by the same user not shown)
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|}}}}}
}}
+
| caption2   = {{{caption|}}}
| caption    = {{{logo caption|}}}
+
| headerstyle = background-color: #efefef;
| image2    = {{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=background:{{{background|gainsboro}}};text-align:center|contentstyle=text-align:center}}}}
+
| label1    = Description
{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot size|{{{screenshot_size|}}}}}}|sizedefault=300px|alt={{{screenshot_alt|}}}}}}}
+
| data1      = {{{description|}}}
| caption2   = {{{caption|}}}{{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden end}}}}}}
 
| label1    = Name
 
| data1      = {{{name|}}}
 
 
| 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     = {{{difficulty|}}}
+
| data4      = {{{company|}}}
| label5     = Author{{#if: {{{authors|}}} |s}}
+
| label5     = Simulation difficulty
| data5     = {{{author|}}}
+
| data5     = {{rating|{{{difficulty|}}}|10|size=15px}}
| label6     = Repository
+
| label6     = Author{{#if: {{{authors|}}} |s}}
| data6     = {{{repository|}}}
+
| data6     = {{{author|}}}
| label7     = Website
+
| label7     = Repository
| data7     = {{{website|}}}
+
| data7     = {{{repository|}}}
| label8     = Train Operating Compan{{#if: {{{authors|}}} |ies else |y}}
+
| label8     = Website
| data8     = {{{company|}}}
+
| 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|}}} }}
 +
| belowstyle  = vertical-align: middle; padding: 0
 
| below      = {{#if:{{{map|}}}|
 
| below      = {{#if:{{{map|}}}|
 
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}
 
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}
Line 43: Line 43:
 
| 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
| AsOf | author | bodystyle | caption | collapsible | developer | discontinued | engine | engines | genre | included with | games list | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo size | logo_alt | logo_size | middleware | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot size | screenshot_alt | screenshot_size | service_name | size | standard | title | ver layout | website | qid
+
| name | company | difficulty | author | authors | companies | website | repository | map | country | time_period | image | description | rolling_stock
}}</includeonly>
+
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 08:49, 15 April 2022

Infobox ROSProject
Simulation difficultyPlease specify a rating.