Difference between revisions of "Template:GameMenu intro"
From Salem Wiki
m (Adding auto-categorization to 'Content', and re-ordening code for readability.) |
m (Changed images shown on main-menu) |
||
Line 6: | Line 6: | ||
| {{PAGENAME}} | | {{PAGENAME}} | ||
}} | }} | ||
− | | [[Image:Menu | + | | [[Image:Menu GameMenu.png]][[Image:Menu GameMenu2.png]]{{-}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| {{#set:isinGameMenu={{#titleparts: {{PAGENAME}}|1|-2}} | | {{#set:isinGameMenu={{#titleparts: {{PAGENAME}}|1|-2}} | ||
}}{{#set:Has icon=Image:Menu Button {{#titleparts: {{PAGENAME}}||-1}}.png | }}{{#set:Has icon=Image:Menu Button {{#titleparts: {{PAGENAME}}||-1}}.png | ||
− | }}[[Image:Menu Button {{#titleparts: {{PAGENAME}}||-1}}.png]] | + | }}[[Image:Menu Button {{#titleparts: {{PAGENAME}}||-1}}.png]]{{-}} |
}} | }} | ||
<h2>About</h2> | <h2>About</h2> |
Revision as of 19:17, 3 July 2012
About
This page is about the Main menu of the game and will mention pages relevant to what one can find inside it.
- Sub-menus you can find in the Main-menu are:
- no Non-menu entries found.Template documentation (for the template shown above, sometimes hidden or invisible)
Description
- This template is used to automatically list the intro part of GameMenu pages to provide a consistent look&feel for these kind of pages.
- It makes use of {{List Submenus}} and {{List MenuEntries}} to generate automatic lists using SMW-Queries.
Syntax
- Type the below code on top of a game-menu page:
{{GameMenu intro}}
- It defaults to list info related to the current sub-pagename where you invoke this template in.
- Except when in the Template-namespace; In this case it will default to "GameMenu" which is the main-menu of the game.
Examples
See the pages starting at GameMenu.
Visit Template:GameMenu intro/doc to edit this text! (How does this work?)