StrategyWiki:Guide/Table of contents: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
update to new format
m (→‎Common layouts: adding experimentation suggestion)
(update to new format)
Line 190: Line 190:
===Fighting games===
===Fighting games===
{{details|StrategyWiki:Move lists project|guides for [[Fighting]] games|the Move lists project}}
{{details|StrategyWiki:Move lists project|guides for [[Fighting]] games|the Move lists project}}
Fighting games have a special formatting for both the table of contents and the individual sub-pages of the guide. Because there are multiple places where a character's move list may want to be seen (i.e. the character's page and the game's move list page), special unlinked pages are made which can be transcluded wherever necessary. In addition to character moves, many fighting games are series which share a good number of characters throughout each game. For this reason, long-running fighting series usually use one table of contents for all games, with an ever-expanding list of characters. This is the normal layout for a fighting game table of contents:
Fighting games have a special formatting for both the table of contents and the individual sub-pages of the guide. In addition to character moves, many fighting games are series which share a good number of characters throughout each game. For this reason, long-running fighting series usually use one table of contents for all games, with an ever-expanding list of characters. This is the normal layout for a fighting game table of contents:


{|style="font-size:90%"
{|style="font-size:90%"
Line 205: Line 205:
|}
|}


In this case, "How to play" is the Walkthrough page with alternate text and the individual character pages are located at ''Game name''/Characters/''Character name''. The pages at ''Game name''/''Character name'' are created, then transcluded into both the individual Characters/''Character name'' pages and the Moves pages. The links under the How to play section are links to each game in the series' main game page. Note that there are no Getting Started or Controls pages. Due to this, the Continue Nav on the main guide pages need to be updated with <tt>nextpage</tt>, <tt>nextname</tt> and <tt>nextpage2</tt> parameters going to the correct pages (usually the Walkthrough page and the Moves page). For later games in the series, redirect the Walkthrough page to the main guide's Walkthrough page so the links in the Continue Nav and Header Navs go where intended.
In this case, "How to play" is the Walkthrough page with alternate text and the individual character pages are located at ''Game name''/''Character name''. The links under the How to play section are links to each game in the series' main game page, and the moves list for that game. Note that there are no Getting Started or Controls pages. Due to this, the Continue Nav on the main guide pages need to be updated with <tt>nextpage</tt>, <tt>nextname</tt> and <tt>nextpage2</tt> parameters going to the correct pages (usually the Walkthrough page and the Moves page). For later games in the series, redirect the Walkthrough page to the main guide's Walkthrough page so the links in the Continue Nav and Header Navs go where intended.
 
Because of the table of content's set up, it is often hard to make workable Footer Nav links. This is a known issue, which is currently unresolved. In cases where the links before and after a page are on the same guide, you can use that guide's name in the <tt>game</tt> parameter of the footer nav, even if the current page isn't on that guide. For help in setting up or otherwise working on fighting games, you can look through [[:Category:Fighting]] for examples, or ask on the [[SW:SL|staff lounge]] for assistance.


{{Footer Nav|game=StrategyWiki:Guide|prevpage=Main game page|nextpage=Getting Started pages}}
{{Footer Nav|game=StrategyWiki:Guide|prevpage=Main game page|nextpage=Getting Started pages}}