Difference between revisions of "Template:Menu Template"

From PSU Cyril Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
[[Category: Templates]]
 +
 
<includeonly>
 
<includeonly>
 
{| align="center" style="background-color: #{{{color1|}}}; border: solid 2px #{{{color2|}}}; border-spacing:0; padding:5px;"
 
{| align="center" style="background-color: #{{{color1|}}}; border: solid 2px #{{{color2|}}}; border-spacing:0; padding:5px;"
Line 34: Line 36:
 
{{#if:{{{29|}}}|<br>{{{29|}}}|}}
 
{{#if:{{{29|}}}|<br>{{{29|}}}|}}
 
{{#if:{{{30|}}}|<br>{{{30|}}}|}}
 
{{#if:{{{30|}}}|<br>{{{30|}}}|}}
[[Category: {{{name|}}}]]
 
 
|
 
|
 
{{#if:{{{2|}}}|<nowiki> | </nowiki>{{{2|}}}|}}
 
{{#if:{{{2|}}}|<nowiki> | </nowiki>{{{2|}}}|}}
Line 65: Line 66:
 
{{#if:{{{29|}}}|<nowiki> | </nowiki>{{{29|}}}|}}
 
{{#if:{{{29|}}}|<nowiki> | </nowiki>{{{29|}}}|}}
 
{{#if:{{{30|}}}|<nowiki> | </nowiki>{{{30|}}}|}}
 
{{#if:{{{30|}}}|<nowiki> | </nowiki>{{{30|}}}|}}
 +
[[Category: {{{name|}}}]]
 
}}
 
}}
 
|}
 
|}

Revision as of 21:17, 12 August 2006



Menu Example Horizontal

Using the follow code:

{{Menu Template
|name=Test_1
|color1=FBB
|color2=EAA
|color3=D99
|v=
|1=omg
|2=liek
|3=wtf
}}

The following result was created:

Test_1

omg | liek | wtf

Menu Example Vertical

Using the follow code:

{{Menu Template
|name=Test_2
|color1=BFB
|color2=AEA
|color3=9D9
|v=yes
|1=Fantashii
|2=Sutaa
|3=Yuunibaasu
}}

The following result was created:

Test_2

Fantashii
Sutaa
Yuunibaasu