Difference between revisions of "Template:Menu Template"

From PSU Cyril Wiki
Jump to: navigation, search
m
(what's with these fucking additional BRs? D:)
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|}}}'''
 
|-
 
|-
| <small> {{{1|}}}
+
| <small>{{{1|}}} {{#if:{{{v|}}}| {{#if:{{{2|}}}|<br>{{{2|}}}|}}
{{#if:{{{v|}}}|
 
{{#if:{{{2|}}}|<br>{{{2|}}}|}}
 
 
{{#if:{{{3|}}}|<br>{{{3|}}}|}}
 
{{#if:{{{3|}}}|<br>{{{3|}}}|}}
 
{{#if:{{{4|}}}|<br>{{{4|}}}|}}
 
{{#if:{{{4|}}}|<br>{{{4|}}}|}}
Line 35: Line 33:
 
{{#if:{{{28|}}}|<br>{{{28|}}}|}}
 
{{#if:{{{28|}}}|<br>{{{28|}}}|}}
 
{{#if:{{{29|}}}|<br>{{{29|}}}|}}
 
{{#if:{{{29|}}}|<br>{{{29|}}}|}}
{{#if:{{{30|}}}|<br>{{{30|}}}|}}
+
{{#if:{{{30|}}}|<br>{{{30|}}}|}} | {{#if:{{{2|}}}|<nowiki> | </nowiki>|{{{2|}}}|}}
|
 
{{#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 65: Line 61:
 
{{#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|}}}|}}}}
}}
 
 
|}
 
|}
 
</includeonly>
 
</includeonly>
Line 106: Line 101:
 
|2=Sutaa
 
|2=Sutaa
 
|3=Yuunibaasu
 
|3=Yuunibaasu
 +
|4=Onrain
 
}}</pre>
 
}}</pre>
 
The following result was created:
 
The following result was created:
Line 117: Line 113:
 
|2=Sutaa
 
|2=Sutaa
 
|3=Yuunibaasu
 
|3=Yuunibaasu
 +
|4=Onrain
 
}}
 
}}
  
 
[[Category: Template Templates]]
 
[[Category: Template Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:11, 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=lol
|3=wtf
}}

The following result was created:

Test_1

omg | lol | 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
|4=Onrain
}}

The following result was created:

Test_2

Fantashii
Sutaa
Yuunibaasu
Onrain