Template:Meta appearances

From PathfinderWiki

Characters and creatures

For a list of characters and creatures appearing in this work, see the Meta page.
Template documentation (for the above template, sometimes hidden or invisible)
Subpages of this template:

{{Meta appearances}} is an internal link template that by default creates a heading and link to an article's Meta page if it exists. It is intended for use with {{Meta appearances navbox}}, which contains lists of characters and creatures (ie. Meta:Burnt Offerings), but has parameters allowing for other potential uses.

Usage

These uses are all equivalent:

{{Meta appearances}}
{{Meta appearances|Characters and creatures|work|Meta:{{PAGENAME}}|Meta page}}
{{Meta appearances |contents=Characters and creatures |work=work |link=Meta:{{PAGENAME}} |linktext=Meta page }}

If the value of the link parameter is an article title that does not exist, the entire template will not be rendered.

If the optional nohead parameter is assigned any value, the template omits the heading.

For parameter details, see the TemplateData.

Example

In typical usage, using {{Meta appearances}} without parameters should be sufficient.

Ordered parameters, with heading

{{Meta appearances|Cuisine and beverages|recipe book|Meta:Burnt Offerings|recipe}}

Output:

Cuisine and beverages

For a list of cuisine and beverages appearing in this recipe book, see the recipe.

Named parameters, without heading

{{Meta appearances |contents=Cuisine and beverages |work=recipe book |link=Meta:Burnt Offerings |linktext=recipe |nohead=yes}}

Outputs:

For a list of cuisine and beverages appearing in this recipe book, see the recipe.

An internal link template that by default creates a heading and link to an article's Meta page if it exists.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
List contents descriptorcontents 1

Describes the contents of the list. If the nohead parameter is not set, this also defines the text of the generated heading. Use heading case; see PathfinderWiki:Manual of Style.

Default
Characters and creatures
Lineoptional
Work type descriptorwork 2

Describes the type of work being listed.

Suggested values
adventure scenario sourcebook novel
Default
work
Example
adventure
Lineoptional
Link target for listlink 3

The target article title containing the list. Should typically be in the Meta namespace. If set, also define linktext.

Default
Meta:{{PAGENAME}}
Example
Meta:Burnt Offerings
Page nameoptional
Target link textlinktext 4

Link text for the target link. Suggested if link parameter is set.

Default
Meta page
Unbalanced wikitextoptional
Heading display togglenohead

If passed any value, the template hides the heading.

Example
yes
Stringoptional