Template:Infobox Ride: Difference between revisions

Add £ for cost
(Second edit for {{{description}}}, added {{#if's}} from old infobox because my new version was not working)
(Add £ for cost)
 
(11 intermediate revisions by 5 users not shown)
Line 1:
<infobox>
{| style="background:#ffdb9c;color:white;border:2px #664100 solid;width:250px;color:black;float:right;"
<title source="name"><default>{{PAGENAME}}</default></title>
| style="font-size:12px;text-align:center;" colspan="2" | ''[[{{{game1|RollerCoaster Tycoon}}}]] {{#if: {{{game2|}}} | / [[{{{game2|Added Attractions}}}]]}} {{#if: {{{game3|}}} | / [[{{{game3|Loopy Landscapes}}}]]}} {{#if: {{{game4|}}} | / [[{{{game4|RollerCoaster Tycoon 2}}}]]}} {{#if: {{{game5|}}} | / [[{{{game5|Wacky Worlds}}}]]}} {{#if: {{{game6|}}} | / [[{{{game6|Time Twister}}}]]}} {{#if: {{{game7|}}} | / [[{{{game7|OpenRCT2}}}]]}} {{#if: {{{game8|}}} | / [[{{{game8|RollerCoaster Tycoon 3}}}]]}} {{#if: {{{game9|}}} | / [[{{{game9|Soaked!}}}]]}} {{#if: {{{game10|}}} | / [[{{{game10|Wild!}}}]]}} {{#if: {{{game11|}}} | / [[{{{game11|RollerCoaster Tycoon World}}}]]}} {{#if: {{{game12|}}} | / [[{{{game12||RollerCoaster Tycoon 3D}}}]]}} {{#if: {{{game13|}}} | / [[{{{game13|RollerCoaster Tycoon 4 Mobile}}}]]}} ride''
| style="background:#ffeccc;" colspan="2" | <header>{{#if: {{{RCT1|}}}|[[File:{{{RCT1}}} RCT1 Icon.png|test|RCT1 Icon]]}} {{#if: {{{RCT2|}}}|[[File:{{{RCT2}}} RCT2 Icon.png|RCT2 Icon]]}} {{#if: {{{RCT3|}}}|[[File:{{{RCT3}}} RCT3 Icon.png|RCT3 Icon]]}} {{#if: {{{OpenRCT2|}}}|[[File:{{{OpenRCT2}}} OpenRCT2 Icon.png|OpenRCT2 Icon]]}} </header>
|-
<data source="type"><label>'''Type:'''</label></data>
! style="font-size:16px;background:#ffe3b2;color:black;" colspan="2"| {{{name|Roller Coaster Ride}}}
<data source="descr"><label>'''Description:'''</label></data>
|-
<data source="description"><label>'''Description:'''</label></data>
| style="background:#ffeccc;" colspan="2" | {{#if: {{{RCT1|}}}|[[File:{{{RCT1}}} RCT1 Icon.png|test|RCT1 Icon]]}} {{#if: {{{RCT2|}}}|[[File:{{{RCT2}}} RCT2 Icon.png|RCT2 Icon]]}} {{#if: {{{RCT3|}}}|[[File:{{{RCT3}}} RCT3 Icon.png|RCT3 Icon]]}}
<data><label>'''Cost:'''</label><default>{{#if:{{{cost|}}}|£{{{cost}}}|N/A}}</default></data>
|-
<data source="size"><label>'''Size:'''</label></data>
! Type
<data source="maxcap"><label>'''Max. Capacity:'''</label></data>
| {{{type}}}
<data source="game"><label>'''Appearance:'''</label></data>
|-
</infobox>
! Cost
| {{{cost}}}
|-
! Size
| {{{size}}}
{{#if: {{{description|}}} |
{{!-}}
! Description
{{!}}{{{description|}}}
}}
|}
<noinclude>
{{Documentation}}
</noinclude>