This template uses Lua: Module:Disambiguation |
Template Documentation:
This template can be used to automatically form a disambiguation page based on several parameters described bellow. Template is especially useful for characters with hundreds of alternate reality versions.
Template is using DPL to get a list of all existing pages with specific names. The list then processed by Module:Disambiguation to form the disambiguation gallery. Additional characters that don't yet have pages (and thus cannot be fetched by DPL query) could be added to the list with parameters include1-include81.
Theoretically template can form a disambiguation for up to 800 characters.
{{Disambiguation |type = DEFAULT: character |logo = |invert_logo = |main_image = |noimage = DEFAULT: No Image Available.png |main = |main_name = |main_title = |description = |alternative1 = |alternative2 = |alternative3 = |alternative4 = |alternative5 = |alternative6 = |alternative7 = |alternative8 = |alternative9 = |include1 = |include2 = |include3 = |include4 = |include5 = |include6 = |include7 = |include8 = |include9 = |include81 = |exclude1 = |exclude2 = |exclude3 = |exclude4 = |exclude5 = |exclude6 = |exclude7 = |exclude8 = |exclude9 = |includeComic1 = |includeLiveAction1 = |includeAnimated1 = |includeGame1 = |includeOther1 = |teams = |others = |related = |group1_header= |group1 = |group2_header= |group2 = }}
- type
- Type of the pages - character or team. DEFAULT: character. For example, for disambiguation of Spider-Man this parameter can be ommited, for X-Men or Avengers disambiguation
type=team
should be added. - main
- Pagename of the main character. For example, "Peter Parker (Earth-616)" for Spider-Man disambiguation. It is used to exclude main character from the list of alternate reality versions and place him at the top of the page.
- main_image
- Image used for main character.
- logo
- logo at the very top of the page.
- invert_logo
- if value =
yes
, then on dark theme colors of logo would be inverted. Useful for mainly black logos that are not very visible on dark theme. - main_article1, main_article2, etc.
- used to display one (or several) subject that are mainly associated with disambigution's name.
- description, description2, etc.
- Short description of disambiguation's main subject(s).
- main_name
- Main version of name of all alternate reality versions. For example, "Peter Parker" for Spider-Man disambiguation.
- main_title
- Main version of title of all alternate reality versions. For example, "Spider-Man" for Spider-Man disambiguation
- alternative1-alternative200
- Alternative versions of name. For example, "Pavitr Prabhakar" for Spider-Man disambiguation.
- include1-include200
- Characters who also should be included into disambiguation. Useful for adding characters that not yet have pages. Characters could be included in the same format like in any normal disambiguation:
|include1 = Peter Parker (Earth-1) |include3 = Peter Parker (Earth-2); Peter Parker (Earth-2).jpg |include2 = [[Peter Parker (Earth-3)|Spider]] |include2 = [[Peter Parker (Earth-4)|Spider-Boy]]; Spider-Boy.jpg
- exclude1-exclude200
- Characters who should be excluded from the list. For example:
|exclude1 = Peter Parker (Tony Richards) (Earth-616)
- includeComic, includeLiveAction, includeAnimated, includeGame, includeOther (1-200 in each)
- In combination with "exclude" these parameters could be used to bypass auto-sorting of page and to manually add it into desired section ('Comic Variants', 'Live-Action Variants', 'Animated Variants', 'Game Variants', 'Other Media Variants' correspondingly). Useful, for example, for characters from Earth-199999 some of whom appeared in live-action movies or TV series, while others appeared in animated series. For example, Uatu (Earth-199999) is a character from animated series, but it is auto-sorted into "Live-Action" section. To prevent it use similar code:
|exclude1 = Uatu (Earth-199999) |includeAnimated1 = Uatu (Earth-199999); What If...? (animated series) poster 002.jpg
This way is would be added into "Animated Variants" section instead of "Live-Action Variants"
- teams
- others
- related
- group1 - group9
- Additional section(s) with customizable header(s)
group1_header - group9_header
parameters. - media
- Adds "Media" section to display links to comics, movies, games, etc. For example, for Spider-Man page it could be used to add links to Spider-Man Comic Books, Spider-Man (film), etc.
- noimage
- Changes default File:No Image Available.png to any other image that would be used for pages with no image. For example:
|noimage = No Image Male.jpg
- see_also
- For all additional links to related pages