Difference between revisions of "Template:Showhide/List/doc"
From SpiralKnights
m (→Usage: fix link) |
m (→Usage: small note) |
||
Line 9: | Line 9: | ||
See [http://forums.spiralknights.com/en/node/107625#comment-976814 node 107625] for a detailed discussion about lists on pages. | See [http://forums.spiralknights.com/en/node/107625#comment-976814 node 107625] for a detailed discussion about lists on pages. | ||
+ | |||
+ | The function of this template should be replaced by [https://en.wikipedia.org/wiki/Ajax_%28programming%29 an AJAX extension] or an equivalent if our wiki ever gets them. [http://terraria.gamepedia.com/Blocks This page on the Terraria wiki has a nice example]: individually loading sections, via the "Click here to reveal this content. (there may be a slight delay)" is preferable to this show/hide method, and more convenient than splitting a page into subpages and/or <nowiki>{{main|}}</nowiki> links. |
Revision as of 21:07, 19 November 2015
This is a documentation subpage for Template:Showhide/List (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template should be used sparingly. It was originally meant to provide a navigational aid for large pages, but we have established that potentially forever-expanding lists should simply always be at the bottom of the published page, followed only by a "See Also" section.
If a page has more than one very large list, this template may be used to aid a certain kind of navigation within the page, when the ToC is out of sight and the user does not wish to break certain scrolling/browsing patterns.
See what links here for examples of this template in action.
See node 107625 for a detailed discussion about lists on pages.
The function of this template should be replaced by an AJAX extension or an equivalent if our wiki ever gets them. This page on the Terraria wiki has a nice example: individually loading sections, via the "Click here to reveal this content. (there may be a slight delay)" is preferable to this show/hide method, and more convenient than splitting a page into subpages and/or {{main|}} links.