Template: Main Page Nav: Difference between revisions

From KaiyouRO
Jump to: navigation, search
(Created page with "<includeonly>{{Navbox with columns | border = none | fullwidth = true | | bodystyle = background: none; border: none; | colheaderstyle = text-align: center; background: none; | colstyle = text-align: center; font-size: 100%; font-weight:bold; | colwidth = 20% | col1header = <span class="mp-index-icon">[[File:{{{index-1-image|Main Page icon Placeholder.png}}}|link={{{index-1-link}}}|alt={{{index-1-text}}}]]</span> | col2header = <span class="mp-index-ico...")
 
No edit summary
Line 23: Line 23:


== Syntax ==
== Syntax ==
 
<code><nowiki>{{Main Page Nav|index-X-link|index-X-text|index-X-image}}</nowiki></code>
<code><nowiki>{{Main Page Nav|index-X-link|index-X-text|index-X-image}}</nowiki></code>



Revision as of 23:33, 23 September 2022


To create a navigation menu.

Syntax

{{Main Page Nav|index-X-link|index-X-text|index-X-image}}

Where X goes from 1 to 10.

Parameters
index-X-link
The link to the target page.
index-X-text
Usually the name of the target page.
index-X-image
An image to distinguish the destination.

Example

Using

{{Main Page Nav
| index-1-link = Leveling Guide
| index-1-text = Leveling
| index-1-image = Mainwoe.png

| index-2-link = Frequently Asked Questions
| index-2-text = FAQ
| index-2-image = Mainfaq.png

| index-3-link = Class Guides
| index-3-text = Class Guides
| index-3-image = Mainclass.png

| index-4-link = CashShop
| index-4-text = CashShop
| index-4-image = Maincash.png

| index-5-link = Troubleshooting
| index-5-text = Troubleshooting
| index-5-image = Maintrouble.png

}}

will result into: