Difference between revisions of "Template:Menu Template"
From PSU Cyril Wiki
m |
|||
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
+ | {| 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|}}}'''}} | ||
+ | |- | ||
+ | | | ||
+ | <small> | ||
+ | {{{1|}}} | ||
+ | {{#if:{{{v|}}}| | ||
+ | {{#if:{{{2|}}}|<br>{{{2|}}}|}} | ||
+ | {{#if:{{{3|}}}|<br>{{{3|}}}|}} | ||
+ | {{#if:{{{4|}}}|<br>{{{4|}}}|}} | ||
+ | {{#if:{{{5|}}}|<br>{{{5|}}}|}} | ||
+ | {{#if:{{{6|}}}|<br>{{{6|}}}|}} | ||
+ | {{#if:{{{7|}}}|<br>{{{7|}}}|}} | ||
+ | {{#if:{{{8|}}}|<br>{{{8|}}}|}} | ||
+ | {{#if:{{{9|}}}|<br>{{{9|}}}|}} | ||
+ | {{#if:{{{10|}}}|<br>{{{10|}}}|}} | ||
+ | {{#if:{{{11|}}}|<br>{{{11|}}}|}} | ||
+ | {{#if:{{{12|}}}|<br>{{{12|}}}|}} | ||
+ | {{#if:{{{13|}}}|<br>{{{13|}}}|}} | ||
+ | {{#if:{{{14|}}}|<br>{{{14|}}}|}} | ||
+ | {{#if:{{{15|}}}|<br>{{{15|}}}|}} | ||
+ | {{#if:{{{16|}}}|<br>{{{16|}}}|}} | ||
+ | {{#if:{{{17|}}}|<br>{{{17|}}}|}} | ||
+ | {{#if:{{{18|}}}|<br>{{{18|}}}|}} | ||
+ | {{#if:{{{19|}}}|<br>{{{19|}}}|}} | ||
+ | {{#if:{{{20|}}}|<br>{{{20|}}}|}} | ||
+ | {{#if:{{{21|}}}|<br>{{{21|}}}|}} | ||
+ | {{#if:{{{22|}}}|<br>{{{22|}}}|}} | ||
+ | {{#if:{{{23|}}}|<br>{{{23|}}}|}} | ||
+ | {{#if:{{{24|}}}|<br>{{{24|}}}|}} | ||
+ | {{#if:{{{25|}}}|<br>{{{25|}}}|}} | ||
+ | {{#if:{{{26|}}}|<br>{{{26|}}}|}} | ||
+ | {{#if:{{{27|}}}|<br>{{{27|}}}|}} | ||
+ | {{#if:{{{28|}}}|<br>{{{28|}}}|}} | ||
+ | {{#if:{{{29|}}}|<br>{{{29|}}}|}} | ||
+ | {{#if:{{{30|}}}|<br>{{{30|}}}|}} | ||
+ | | | ||
+ | {{#if:{{{2|}}}|<nowiki> | </nowiki>{{{2|}}}|}} | ||
+ | {{#if:{{{3|}}}|<nowiki> | </nowiki>{{{3|}}}|}} | ||
+ | {{#if:{{{4|}}}|<nowiki> | </nowiki>{{{4|}}}|}} | ||
+ | {{#if:{{{5|}}}|<nowiki> | </nowiki>{{{5|}}}|}} | ||
+ | {{#if:{{{6|}}}|<nowiki> | </nowiki>{{{6|}}}|}} | ||
+ | {{#if:{{{7|}}}|<nowiki> | </nowiki>{{{7|}}}|}} | ||
+ | {{#if:{{{8|}}}|<nowiki> | </nowiki>{{{8|}}}|}} | ||
+ | {{#if:{{{9|}}}|<nowiki> | </nowiki>{{{9|}}}|}} | ||
+ | {{#if:{{{10|}}}|<nowiki> | </nowiki>{{{10|}}}|}} | ||
+ | {{#if:{{{11|}}}|<nowiki> | </nowiki>{{{11|}}}|}} | ||
+ | {{#if:{{{12|}}}|<nowiki> | </nowiki>{{{12|}}}|}} | ||
+ | {{#if:{{{13|}}}|<nowiki> | </nowiki>{{{13|}}}|}} | ||
+ | {{#if:{{{14|}}}|<nowiki> | </nowiki>{{{14|}}}|}} | ||
+ | {{#if:{{{15|}}}|<nowiki> | </nowiki>{{{15|}}}|}} | ||
+ | {{#if:{{{16|}}}|<nowiki> | </nowiki>{{{16|}}}|}} | ||
+ | {{#if:{{{17|}}}|<nowiki> | </nowiki>{{{17|}}}|}} | ||
+ | {{#if:{{{18|}}}|<nowiki> | </nowiki>{{{18|}}}|}} | ||
+ | {{#if:{{{19|}}}|<nowiki> | </nowiki>{{{19|}}}|}} | ||
+ | {{#if:{{{20|}}}|<nowiki> | </nowiki>{{{20|}}}|}} | ||
+ | {{#if:{{{21|}}}|<nowiki> | </nowiki>{{{21|}}}|}} | ||
+ | {{#if:{{{22|}}}|<nowiki> | </nowiki>{{{22|}}}|}} | ||
+ | {{#if:{{{23|}}}|<nowiki> | </nowiki>{{{23|}}}|}} | ||
+ | {{#if:{{{24|}}}|<nowiki> | </nowiki>{{{24|}}}|}} | ||
+ | {{#if:{{{25|}}}|<nowiki> | </nowiki>{{{25|}}}|}} | ||
+ | {{#if:{{{26|}}}|<nowiki> | </nowiki>{{{26|}}}|}} | ||
+ | {{#if:{{{27|}}}|<nowiki> | </nowiki>{{{27|}}}|}} | ||
+ | {{#if:{{{28|}}}|<nowiki> | </nowiki>{{{28|}}}|}} | ||
+ | {{#if:{{{29|}}}|<nowiki> | </nowiki>{{{29|}}}|}} | ||
+ | {{#if:{{{30|}}}|<nowiki> | </nowiki>{{{30|}}}|}} | ||
[[Category: {{{name|}}}]] | [[Category: {{{name|}}}]] | ||
− | + | }}</small> | |
− | + | |}</includeonly><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> | ||
− | |||
− | <noinclude> | ||
== Menu Example Horizontal == | == Menu Example Horizontal == | ||
Using the follow code: | Using the follow code: | ||
Line 46: | Line 77: | ||
|color3=D99 | |color3=D99 | ||
|v= | |v= | ||
− | | | + | |link=yes |
− | | | + | |1=omg |
− | | | + | |2=liek |
+ | |3=wtf | ||
}}</pre> | }}</pre> | ||
The following result was created: | The following result was created: | ||
Line 57: | Line 89: | ||
|color3=D99 | |color3=D99 | ||
|v= | |v= | ||
− | | | + | |link=yes |
− | | | + | |1=omg |
− | | | + | |2=liek |
+ | |3=wtf | ||
}} | }} | ||
Line 70: | Line 103: | ||
|color3=9D9 | |color3=9D9 | ||
|v=yes | |v=yes | ||
− | | | + | |link= |
− | | | + | |1=Fantashii |
− | | | + | |2=Sutaa |
− | + | |3=Yuunibaasu | |
}}</pre> | }}</pre> | ||
The following result was created: | The following result was created: | ||
Line 82: | Line 115: | ||
|color3=9D9 | |color3=9D9 | ||
|v=yes | |v=yes | ||
− | | | + | |link= |
− | | | + | |1=Fantashii |
− | | | + | |2=Sutaa |
− | + | |3=Yuunibaasu | |
}} | }} | ||
− | [[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
|