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
(what's with these fucking additional BRs? D:)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
[[Category: {{{name|}}}]]
+
{| 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;"| {{#if:{{{link|}}}|'''[[{{{name|}}}]]'''|'''{{{name|}}}'''}}
{| align="center" style="background-color: #{{{color1|}}}; border: solid 2px #{{{color2|}}}; border-spacing:0; padding:5px; width:300px;"
 
| style="background-color: #{{{color3|}}}; border: solid 2px #{{{color2|}}}; padding:5px; text-align:center"|'''{{{name|}}}'''
 
 
|-
 
|-
| <small>{{{1|}}} {{#if:{{{v|}}}| {{#if:{{{2|}}}|<br>{{{2|}}}|}}
+
|
 +
<small>
 +
{{{1|}}}
 +
{{#if:{{{v|}}}|
 +
{{#if:{{{2|}}}|<br>{{{2|}}}|}}
 
{{#if:{{{3|}}}|<br>{{{3|}}}|}}
 
{{#if:{{{3|}}}|<br>{{{3|}}}|}}
 
{{#if:{{{4|}}}|<br>{{{4|}}}|}}
 
{{#if:{{{4|}}}|<br>{{{4|}}}|}}
Line 33: Line 35:
 
{{#if:{{{28|}}}|<br>{{{28|}}}|}}
 
{{#if:{{{28|}}}|<br>{{{28|}}}|}}
 
{{#if:{{{29|}}}|<br>{{{29|}}}|}}
 
{{#if:{{{29|}}}|<br>{{{29|}}}|}}
{{#if:{{{30|}}}|<br>{{{30|}}}|}} | {{#if:{{{2|}}}|<nowiki> | </nowiki>|{{{2|}}}|}}
+
{{#if:{{{30|}}}|<br>{{{30|}}}|}}
 +
|
 +
{{#if:{{{2|}}}|<nowiki> | </nowiki>{{{2|}}}|}}
 
{{#if:{{{3|}}}|<nowiki> | </nowiki>{{{3|}}}|}}
 
{{#if:{{{3|}}}|<nowiki> | </nowiki>{{{3|}}}|}}
 
{{#if:{{{4|}}}|<nowiki> | </nowiki>{{{4|}}}|}}
 
{{#if:{{{4|}}}|<nowiki> | </nowiki>{{{4|}}}|}}
Line 61: Line 65:
 
{{#if:{{{28|}}}|<nowiki> | </nowiki>{{{28|}}}|}}
 
{{#if:{{{28|}}}|<nowiki> | </nowiki>{{{28|}}}|}}
 
{{#if:{{{29|}}}|<nowiki> | </nowiki>{{{29|}}}|}}
 
{{#if:{{{29|}}}|<nowiki> | </nowiki>{{{29|}}}|}}
{{#if:{{{30|}}}|<nowiki> | </nowiki>{{{30|}}}|}}}}
+
{{#if:{{{30|}}}|<nowiki> | </nowiki>{{{30|}}}|}}
|}
+
[[Category: {{{name|}}}]]
</includeonly>
+
}}</small>
 
+
|}</includeonly><noinclude>
<noinclude>
 
 
== Menu Example Horizontal ==
 
== Menu Example Horizontal ==
 
Using the follow code:
 
Using the follow code:
Line 74: Line 77:
 
|color3=D99
 
|color3=D99
 
|v=
 
|v=
 +
|link=yes
 
|1=omg
 
|1=omg
|2=lol
+
|2=liek
 
|3=wtf
 
|3=wtf
 
}}</pre>
 
}}</pre>
Line 85: Line 89:
 
|color3=D99
 
|color3=D99
 
|v=
 
|v=
 +
|link=yes
 
|1=omg
 
|1=omg
|2=lol
+
|2=liek
 
|3=wtf
 
|3=wtf
 
}}
 
}}
Line 98: Line 103:
 
|color3=9D9
 
|color3=9D9
 
|v=yes
 
|v=yes
 +
|link=
 
|1=Fantashii
 
|1=Fantashii
 
|2=Sutaa
 
|2=Sutaa
 
|3=Yuunibaasu
 
|3=Yuunibaasu
|4=Onrain
 
 
}}</pre>
 
}}</pre>
 
The following result was created:
 
The following result was created:
Line 110: Line 115:
 
|color3=9D9
 
|color3=9D9
 
|v=yes
 
|v=yes
 +
|link=
 
|1=Fantashii
 
|1=Fantashii
 
|2=Sutaa
 
|2=Sutaa
 
|3=Yuunibaasu
 
|3=Yuunibaasu
|4=Onrain
 
 
}}
 
}}
  
[[Category: Template Templates]]
+
[[Category: Template Templates|{{PAGENAME}}]]
 +
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:27, 22 December 2011

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