Template:Categories/Documentation: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<pre>
<pre>
{{Categories
{{Categories
  |characters=  
  |<type>= <games, separated, by, commas>
  |items=
  ...
|objects=
  |<type>= <games, separated, by, commas>
  |places=  
}}
}}
</pre>
</pre>
===Accepted Parameters===
Currently, <code>bosses</code>, <code>characters</code>, <code>enemies</code>, <code>items</code>, <code>objects</code>, <code>places</code>, <code>songs</code>, and <code>sub-bosses</code> are supported for <code><type></code>.
Any game abbreviation will work for <code><game></code>.


===Example===
===Example===
;Code
<pre>
<pre>
{{Categories
{{Categories
  |characters= LA, LANS
  |characters= LA, LANS
  |items= OoT, OoT3D
  |items= OoT, OoT3D, TMC
  |objects= MM, MM3D
  |objects= MM, MM3D
  |places= MM, BotW
  |places= MM, BotW
}}
}}
</pre>
</pre>
==Guidelines==
This template should be added at the very bottom of articles, just before interwiki links. Types should be used in alphabetical order. If a type does not apply, it should not be used.


{{Documentation Footer}}
{{Documentation Footer}}

Revision as of 03:54, 24 July 2019

Purpose

Adding game categories to pages.

Usage

{{Categories
 |<type>= <games, separated, by, commas>
 ...
 |<type>= <games, separated, by, commas>
}}

Accepted Parameters

Currently, bosses, characters, enemies, items, objects, places, songs, and sub-bosses are supported for <type>.

Any game abbreviation will work for <game>.

Example

{{Categories
 |characters= LA, LANS
 |items= OoT, OoT3D, TMC
 |objects= MM, MM3D
 |places= MM, BotW
}}

Guidelines

This template should be added at the very bottom of articles, just before interwiki links. Types should be used in alphabetical order. If a type does not apply, it should not be used.

This is the documentation page, it should be transcluded into the main template page. See here for more information.