Template:Galbox/Documentation: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
update to single arg, add section on gallery attributes
(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>

Navigation menu