Template:Portrait Gallery/doc

This template is used to make portrait galleries.
 * Description

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

The template works is to be called as follows:
 * Syntax

The "portrait code" is peculiar. It consists of three parts, separated by backslashes ("\"). For example, Caesar \ Caesar_Marine_Portrait.png \ Caesar Clown 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.
 * 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. Also, there is a special "NOLINK" value, for cases when the portrait should not link to any page.

The following code
 * Examples

gives the following result:

An example with many differents cases, with comments:

An example with only one portrait:

The gallery is limited to 25 portraits.
 * Limitations

For now, only 5-column layout is available, and there can be only one "section". Also, it is as of now not possible to include external galleries (parameter "multi=yes" of usual galleries).