Alice in Borderland Wiki
Advertisement
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Portrait_Gallery/doc to edit this documentation. (How does this work?)

Description

This template is used to make portrait galleries.

Dependencies

This template uses File:NoPicAvailable.png, as well as several subtemplates.

Syntax

The template works is to be called as follows:

{{Portrait Gallery
  |template= the name of the template
  |title= the title
  |colorscheme= the color scheme

  | portrait code
  | another portrait code
  | a third portrait code
  | etc.
}}

The "portrait code" is peculiar. It consists of three parts, separated by backslashes ("\"). For example, Template:Code is a portrait code.

  • The first part is the text that is to be showed below the portrait.
  • The second part is the name of the portrait picture (without link brackets or "File:"). It is optional: if it is not present, it is taken to be "XXX Portrait.png", with "XXX" being the text in the third part. Also, there is a special "NOPIC" value: it uses File:NoPicAvailable.png.
  • The third part is the name of the page the portrait and text link to. It is optional: if it is not present, it is taken to be the same as the text (excluding parentheses). Also, there is a special "NOLINK" value, for cases when the portrait should not link to any page.

The title and colorscheme are self-explanatory. The template parameter should be given the name of the template page (warning: {{PAGENAME}} does not work!); if present, it allows the gallery to feature template links on the left of the title.

Advertisement