Difference between revisions of "Template:General Info"

From PSU Cyril Wiki
Jump to: navigation, search
(.. I think something such as this should do.)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Category: General Info]]</includeonly>
+
<includeonly>{{Menu Template
 
+
|name=General Info
{| align="center" style="background-color: #EEF; border: solid 2px #CCD; border-spacing:0; padding:5px;"
+
|color1=EEF
| style="background-color: #DDE; border: solid 2px #CCD; padding:5px; text-align:center"|'''General Info'''
+
|color2=CCD
|-
+
|color3=DDE
| <small>
+
|v={{{v|}}}
[[Gameplay]]
+
|1=[[Gameplay]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Release]]
+
|2=[[Release]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[PC Requirements|Requirements]]
+
|3=[[PC Requirements|Requirements]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Frequently Asked Questions|FAQ]]
+
|4=[[Frequently Asked Questions|FAQ]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Differences]]
+
|5=[[Differences]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Story]]
+
|6=[[Story]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Story Characters]]
+
|7=[[Story characters]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Organizations]]
+
|8=[[Scripts]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[Glossary]]
+
|9=[[Organizations]]
{{#if:{{{v|}}}|<br>|<nowiki> | </nowiki>}} [[:Category:Merchandise|Merchandise]]
+
|10=[[Glossary]]
|}
+
|11=[[Alphabet]]
 +
|12=[[Merchandise]]
 +
|13=[[Importing]]
 +
|14=[[Events]]
 +
|15=[[Updates]]
 +
|16=[[Maintenance]]
 +
|17=[[Translation errors]]
 +
}}</includeonly>
  
 
<noinclude>
 
<noinclude>
== Example Horizontal ==
+
== Parameters ==
Using code <nowiki>{{General Info}}</nowiki>:
+
;v
{{General Info}}
+
:Declaring this will make the menu ''vertical''.
 
+
== Example ==
== Example Vertical ==
+
;Using the follow code...
Using code <nowiki>{{General Info | v= yes}}</nowiki>:
+
:<nowiki>{{</nowiki>{{PAGENAME}}}}
{{General Info | v= yes}}
+
The following result was created:
 
+
{{ {{PAGENAME}} }}
[[Category: Menu Templates]]
+
[[Category: Menu Templates|{{PAGENAME}}]]
 +
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:24, 22 December 2011


Parameters

v
Declaring this will make the menu vertical.

Example

Using the follow code...
{{General Info}}

The following result was created:

General Info

Gameplay | Release | Requirements | FAQ | Differences | Story | Story characters | Scripts | Organizations | Glossary | Alphabet | Merchandise | Importing | Events | Updates | Maintenance | Translation errors