Difference between revisions of "Template:Gamemenu"
From Salem Wiki
m (Text replacement - "efebe5" to "4c4c4c") |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Template START --> | <!-- Template START --> | ||
− | + | {{-}} | |
{| align=center style="float:center" | {| align=center style="float:center" | ||
| | | | ||
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:# | + | {| style="border:black 2px solid; background:#4c4c4c" |
− | | '''{{#if: {{{parent5|}}} | {{{parent5}}} ({{{key5}}}) | + | | '''{{#if: {{{parent5|}}} | {{{parent5}}} ({{{key5}}}) ⇒ }}{{#if: {{{parent4|}}} | {{{parent4}}} ({{{key4}}}) ⇒ }}{{#if: {{{parent3|}}} | {{{parent3}}} ({{{key3}}}) ⇒ }}{{#if: {{{parent2|}}} | {{{parent2}}} ({{{key2}}}) ⇒ }}{{#if: {{{parent1|}}} | [[IsinGameMenu::{{{parent1}}}]] ({{{key1}}}) ⇒ <includeonly>[[Category:{{{parent1}}} (menu){{!}}{{{key}}}}}}]]</includeonly> | <includeonly>[[Category:Game Menu{{!}}{{{key}}}]]</includeonly> }}{{#if: {{{item|}}} | {{{item}}} ({{{key}}}) }}''' |
|} | |} | ||
<!-- Infobox END --> | <!-- Infobox END --> | ||
|} | |} | ||
+ | {{#ifeq: {{SUBJECTSPACE: {{FULLPAGENAME}}}} | {{ns:Category}} | | {{#set:IsGameMenu=no}}}} | ||
<noinclude> | <noinclude> | ||
{| | {| | ||
Line 36: | Line 37: | ||
| | | | ||
<pre>{{Gamemenu | <pre>{{Gamemenu | ||
− | | item= | + | | item={{PAGENAME}} | key= |
− | | key= | + | | parent1= | key1= |
− | | parent1= | + | | parent2= | key2= |
− | | key1= | + | | parent3= | key3= |
− | | parent2= | + | | parent4= | key4= |
− | | key2= | + | | parent5= | key5= |
− | | parent3= | ||
− | | key3= | ||
− | | parent4= | ||
− | | key4= | ||
− | | parent5= | ||
− | | key5= | ||
}} | }} | ||
</pre> | </pre> | ||
|}</noinclude> | |}</noinclude> |
Latest revision as of 18:33, 17 February 2018
|