Difference between revisions of "Template:Menu Template"

From PSU Cyril Wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
| style="background-color: #{{{color3|}}}; border: solid 2px #{{{color2|}}}; padding:5px; text-align:center"|'''{{{name|}}}'''
 
| style="background-color: #{{{color3|}}}; border: solid 2px #{{{color2|}}}; padding:5px; text-align:center"|'''{{{name|}}}'''
 
|-
 
|-
| {{#if:{{{v|}}}|
+
| <small>{{{1|}}}
 +
{{#if:{{{v|}}}|
 
{{#if:{{{2|}}}|<br>{{{2|}}}|}}
 
{{#if:{{{2|}}}|<br>{{{2|}}}|}}
 
{{#if:{{{3|}}}|<br>{{{3|}}}|}}
 
{{#if:{{{3|}}}|<br>{{{3|}}}|}}
Line 36: Line 37:
 
{{#if:{{{30|}}}|<br>{{{30|}}}|}}
 
{{#if:{{{30|}}}|<br>{{{30|}}}|}}
 
|
 
|
{{#if:{{{2|}}}|<nowiki> | </nowiki>{{{2|}}}|}}
+
{{#if:{{{2|}}}|</td><td>{{{2|}}}|}}
{{#if:{{{3|}}}|<nowiki> | </nowiki>{{{3|}}}|}}
+
{{#if:{{{3|}}}|</td><td>{{{3|}}}|}}
{{#if:{{{4|}}}|<nowiki> | </nowiki>{{{4|}}}|}}
+
{{#if:{{{4|}}}|</td><td>{{{4|}}}|}}
{{#if:{{{5|}}}|<nowiki> | </nowiki>{{{5|}}}|}}
+
{{#if:{{{5|}}}|</td><td>{{{5|}}}|}}
 
{{#if:{{{6|}}}|<nowiki> | </nowiki>{{{6|}}}|}}
 
{{#if:{{{6|}}}|<nowiki> | </nowiki>{{{6|}}}|}}
 
{{#if:{{{7|}}}|<nowiki> | </nowiki>{{{7|}}}|}}
 
{{#if:{{{7|}}}|<nowiki> | </nowiki>{{{7|}}}|}}

Revision as of 20:41, 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