Template:Userbox Scenario/doc: Difference between revisions

From RollerCoaster Tycoon Wiki Wiki, the RollerCoaster Tycoon encyclopedia that anyone can edit.
Content added Content deleted
m (→‎Usage: This Level 2 header isn't necessary. Also upgraded the Examples section to Level 2 header.)
(→‎Examples: Highlighted rows that serve as examples of "correct" formatting, removed one redundant example, changed an existing example to link to a custom-made scenario that has no article, and added extra columns to show the code used, as well as details on why the input(s) is/are correct/wrong.)
 
Line 10: Line 10:


==Examples==
==Examples==
Rows shaded in green are examples of correct inputs; cells shaded in red are examples of incorrect inputs.
{| class="wikitable"
{| class="wikitable"
! ''<scenario>''
! ''<code><scenario></code>''
! ''<theme>''
! ''<code><theme></code>''
! Input
! Result
! Result
! Details
|-
|- style="background: #98FB98;"
! Mel's World
| Mel's World
| (blank)
| (blank)
|{{Userbox Scenario|Mel's World}}
| <code><nowiki>{{Userbox Scenario|Mel's World}}</nowiki></code>
| {{Userbox Scenario|Mel's World}}
|-
| Standard, correct input; although ''<code><theme></code>'' is not specified, the scenario uses the Traditional Park Entrance (which is the default image used).
! Grand Canyon
|- style="background: #98FB98;"
| Grand Canyon
| North America Park Entrance
| North America Park Entrance
|{{Userbox Scenario|Grand Canyon|North America Park Entrance}}
| <code><nowiki>{{Userbox Scenario|Grand Canyon|North America Park Entrance}}</nowiki></code>
| {{Userbox Scenario|Grand Canyon|North America Park Entrance}}
|-
| Standard, correct inputs, with the correct Park Entrance theme specified in ''<code><theme></code>''.
! Renovation
|- style="background: #98FB98;"
| Europe
| Rocky Mountain Adventure
|{{Userbox Scenario|Renovation|Europe}}
| Park Entrance Gates
|-
| <code><nowiki>{{Userbox Scenario|Rocky Mountain Adventure|Park Entrance Gates}}</nowiki></code>
! Castle
| {{Userbox Scenario|Rocky Mountain Adventure|Park Entrance Gates}}
| Drak Edge Entrance
| Standard, correct inputs, even though there is no existing article for the scenario.
|{{Userbox Scenario|Castle|Drak Edge Entrance}}
|-
|-
| Renovation
! Gemini City
| style="background: #FA8072;" | Europe
| Futuristic Park Entrance
| style="background: #FA8072;" | <code><nowiki>{{Userbox Scenario|Renovation|Europe}}</nowiki></code>
|{{Userbox Scenario|Gemini City|Futuristic Park Entrance}}
| {{Userbox Scenario|Renovation|Europe}}
| Wrong input; ''<code><theme></code>'' should be "European Park Entrance".
|-
|-
| Castle
! Cloudburst Creek
| style="background: #FA8072;" | Drak Edge Entrance
| Park Entrance Building
|{{Userbox Scenario|Cloudburst Creek|Park Entrance Building}}
| style="background: #FA8072;" | <code><nowiki>{{Userbox Scenario|Castle|Drak Edge Entrance}}</nowiki></code>
| {{Userbox Scenario|Castle|Drak Edge Entrance}}
| Wrong input; ''<code><theme></code>'' is misspelled; should be "Dark Age Entrance".
|-
|-
! Traditional Park Entrance
| style="background: #FA8072;" | Traditional Park Entrance
| Forest Frontiers
| style="background: #FA8072;" | Forest Frontiers
|{{Userbox Scenario|Traditional Park Entrance|Forest Frontiers}}
| style="background: #FA8072;" | <code><nowiki>{{Userbox Scenario|Traditional Park Entrance|Forest Frontiers}}</nowiki></code>
| {{Userbox Scenario|Traditional Park Entrance|Forest Frontiers}}
| Wrong inputs; ''<code><scenario></code>'' and ''<code><theme></code>'' inputs are swapped.
|}
|}

Latest revision as of 04:07, 1 June 2021

This template allows you to display your favourite scenario as a userbox on your own user page. Add the highlighted line below to your own userpage, replacing <scenario> with the scenario name and, optionally, <theme> with a park entrance theme:

{{Userbox Scenario|<scenario>|<theme>}}

<scenario> accepts any text, but only scenarios with an article on this wiki with the exact same name will be displayed as a blue link.

<theme> is an optional field and only changes if you enter the full name of a park entrance theme, as it is shown on The Complete Park Entrance List. If you spell only part of the park entrance theme's full name, spell the name of the park entrance theme wrong, or do not enter any text, the template will use the Traditional Park Entrance as its picture.

<scenario> must be entered before <theme>; the two fields cannot be switched around under any circumstances.

Examples

Rows shaded in green are examples of correct inputs; cells shaded in red are examples of incorrect inputs.

<scenario> <theme> Input Result Details
Mel's World (blank) {{Userbox Scenario|Mel's World}}
This user's favorite scenario is
Mel's World
Standard, correct input; although <theme> is not specified, the scenario uses the Traditional Park Entrance (which is the default image used).
Grand Canyon North America Park Entrance {{Userbox Scenario|Grand Canyon|North America Park Entrance}}
This user's favorite scenario is
Grand Canyon
Standard, correct inputs, with the correct Park Entrance theme specified in <theme>.
Rocky Mountain Adventure Park Entrance Gates {{Userbox Scenario|Rocky Mountain Adventure|Park Entrance Gates}}
This user's favorite scenario is
Rocky Mountain Adventure
Standard, correct inputs, even though there is no existing article for the scenario.
Renovation Europe {{Userbox Scenario|Renovation|Europe}}
This user's favorite scenario is
Renovation
Wrong input; <theme> should be "European Park Entrance".
Castle Drak Edge Entrance {{Userbox Scenario|Castle|Drak Edge Entrance}}
This user's favorite scenario is
Castle
Wrong input; <theme> is misspelled; should be "Dark Age Entrance".
Traditional Park Entrance Forest Frontiers {{Userbox Scenario|Traditional Park Entrance|Forest Frontiers}}
This user's favorite scenario is
Traditional Park Entrance
Wrong inputs; <scenario> and <theme> inputs are swapped.