Template:Galbox/Documentation: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created page with "This {{Temlink|Navbox}} template generates a tabbed gallery based on a particular listing page. == Usage == {{Usage|game|category}} {{Usage/Param|game|The game's subtitle as...")
 
(update to single arg, add section on gallery attributes)
Line 2: Line 2:


== Usage ==
== Usage ==
{{Usage|game|category}}
{{Usage|pageName}}
{{Usage/Param|game|The game's subtitle as it appears in the listing title, e.g. "A Link to the Past"}}
{{Usage/Param|pageName|The title of the listing page}}
{{Usage/Param|category|The category as it appears in the listing title, e.g. "Enemies"}}


== Example ==
== Example ==
<code><nowiki>{{Galbox|The Legend of Zelda|Enemies}}</nowiki></code> →
<code><nowiki>{{Galbox|The Legend of Zelda Enemies}}</nowiki></code> →


{{Galbox|The Legend of Zelda|Enemies}}
{{Galbox|The Legend of Zelda Enemies}}


<includeonly>{{Cat|Navbox Templates}}{{Cat|Formatting Templates}}</includeonly>
<includeonly>{{Cat|Navbox Templates}}{{Cat|Formatting Templates}}</includeonly>
== Advanced Usage ==
The gallery display can be customized by providing [https://www.mediawiki.org/wiki/Help:Images#Optional_gallery_attributes gallery attributes] prefixed by "gallery_". For example, <code><nowiki>{{Galbox|The Legend of Zelda Enemies|gallery_mode=nolines}}</nowiki></code>

Revision as of 01:32, August 15, 2020

This {{Navbox}} template generates a tabbed gallery based on a particular listing page.

Usage

{{Galbox/Documentation| pageName }}

  • pageName — The title of the listing page

Example

{{Galbox|The Legend of Zelda Enemies}}


Advanced Usage

The gallery display can be customized by providing gallery attributes prefixed by "gallery_". For example, {{Galbox|The Legend of Zelda Enemies|gallery_mode=nolines}}