If you are looking for Information about PSU Clementine, Go check their Wiki

Difference between revisions of "Template:Menu Template"

From The re-PSUPedia
Jump to: navigation, search
m
m (Maybe this'd work)
Line 1: Line 1:
 
<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;"
| 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"| {{#if:{{{link|}}}|'''[[{{{name|}}}]]'''|'''{{{name|}}}'''}}
 
|-
 
|-
 
| <small>
 
| <small>
Line 78: Line 78:
 
|color3=D99
 
|color3=D99
 
|v=
 
|v=
 +
|link=yes
 
|1=omg
 
|1=omg
 
|2=liek
 
|2=liek
Line 89: Line 90:
 
|color3=D99
 
|color3=D99
 
|v=
 
|v=
 +
|link=yes
 
|1=omg
 
|1=omg
 
|2=liek
 
|2=liek
Line 102: Line 104:
 
|color3=9D9
 
|color3=9D9
 
|v=yes
 
|v=yes
 +
|link=
 
|1=Fantashii
 
|1=Fantashii
 
|2=Sutaa
 
|2=Sutaa
Line 113: Line 116:
 
|color3=9D9
 
|color3=9D9
 
|v=yes
 
|v=yes
 +
|link=
 
|1=Fantashii
 
|1=Fantashii
 
|2=Sutaa
 
|2=Sutaa

Revision as of 08:29, 19 August 2006


Menu Example Horizontal

Using the follow code:

{{Menu Template
|name=Test_1
|color1=FBB
|color2=EAA
|color3=D99
|v=
|link=yes
|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
|link=
|1=Fantashii
|2=Sutaa
|3=Yuunibaasu
}}

The following result was created:

Test_2

Fantashii
Sutaa
Yuunibaasu