Book Image

MediaWiki Skins Design

Book Image

MediaWiki Skins Design

Overview of this book

Table of Contents (16 chapters)
MediaWiki Skins Design
Credits
About the Author
About the Reviewer
Preface

Styling the Navigation: #p-navigation


#p-navigation identifies the div that contains the<h5> header above the navigation links, and .pBody, which includes an unordered list of wiki-wide navigation links. .pBody is used elsewhere, so as to avoid unnecessary styling.

Table of Elements: #p-navigation

Each list item in the main navigation div has a unique id assigned to it:

Element class/id

Purpose

#p-navigation

#p-navigation identifies the container for the wiki's primary navigation.

#n-mainpage

#n-mainpage identifies the list item containing a link to the wiki's main page.

#n-portal

#n-portal identifies the list item containing a link to the wiki's portal page.

#n-currentevents

#n-currentevents identifies the list item containing a link to the wiki's current events page.

#n-recentchanges

#n-recentchanges identifies the list item containing a link to the recent changes page, which lists the most recent edits made to your wiki.

#n-randompage

#n-randompage...