Difference between revisions of "Template:Gamemenu"

From Salem Wiki
Jump to: navigation, search
m (Text replacement - "efebe5" to "4c4c4c")
 
Line 8: Line 8:
 
! style="color:white; font-size:1.4em"|Game Menu
 
! style="color:white; font-size:1.4em"|Game Menu
 
|
 
|
{| style="border:black 2px solid; background:#efebe5"
+
{| style="border:black 2px solid; background:#4c4c4c"
 
| '''{{#if: {{{parent5|}}} | {{{parent5}}} ({{{key5}}}) &rArr; }}{{#if: {{{parent4|}}} | {{{parent4}}} ({{{key4}}}) &rArr; }}{{#if: {{{parent3|}}} | {{{parent3}}} ({{{key3}}}) &rArr; }}{{#if: {{{parent2|}}} | {{{parent2}}} ({{{key2}}}) &rArr; }}{{#if: {{{parent1|}}} | [[IsinGameMenu::{{{parent1}}}]] ({{{key1}}}) &rArr; <includeonly>[[Category:{{{parent1}}} (menu){{!}}{{{key}}}}}}]]</includeonly> | <includeonly>[[Category:Game Menu{{!}}{{{key}}}]]</includeonly>  }}{{#if: {{{item|}}} | {{{item}}} ({{{key}}}) }}'''
 
| '''{{#if: {{{parent5|}}} | {{{parent5}}} ({{{key5}}}) &rArr; }}{{#if: {{{parent4|}}} | {{{parent4}}} ({{{key4}}}) &rArr; }}{{#if: {{{parent3|}}} | {{{parent3}}} ({{{key3}}}) &rArr; }}{{#if: {{{parent2|}}} | {{{parent2}}} ({{{key2}}}) &rArr; }}{{#if: {{{parent1|}}} | [[IsinGameMenu::{{{parent1}}}]] ({{{key1}}}) &rArr; <includeonly>[[Category:{{{parent1}}} (menu){{!}}{{{key}}}}}}]]</includeonly> | <includeonly>[[Category:Game Menu{{!}}{{{key}}}]]</includeonly>  }}{{#if: {{{item|}}} | {{{item}}} ({{{key}}}) }}'''
 
|}
 
|}

Latest revision as of 18:33, 17 February 2018


Game Menu
'


When to use this template:

Add at the end of any page that represents a game menu item.

How to use this template:

Breakdown of parameters:

item
the name of the menu item
key
the keyboard shortcut for the item (the keyboard shortcut on the in-game menu is the letter displayed as yellow in the item name).
parent1
the name of the immediate parent menu item
key1
the keyboard shortcut for parent1
parent and key 2, 3, 4, 5
parents of the immediate parent up to first level menu items (e.g., adventure)

Blank code to copy+paste:

{{Gamemenu
| item={{PAGENAME}} | key=
| parent1= | key1=
| parent2= | key2=
| parent3= | key3=
| parent4= | key4=
| parent5= | key5=
}}