Template:Character

From Shadow Unit Wiki

Jump to: navigation, search

The character template will automatically generate category tags for the given character in both the Category:Characters and Category:Characters By Last Name categories.

Contents

Usage

Characters With Known First and Last Names

To use this template, put the following somewhere on the character page:

{{character|first=FirstName|last=LastName}}

substituting the character's first name for FirstName and the last name for LastName.

For example, if making a character page for Hafidha Gates, use the following:

{{character|first=Hafidha|last=Gates}}

This will produce the following:

Hafidha Gates [[Category:Characters]] [[Category:Characters By Last Name|Gates, Hafidha]]

The Category tags will be rendered at the bottom of the page, just like any other category tags. Hafidha will be sorted in the "H"s on the Category:Characters page, and in the "G"s on the Category:Characters By Last Name page.

Important: The first= and last= parts of the template (the parameter names) are case-sensitive. If you accidentally start Hafidha's page like this (capitalizing first by mistake):

{{character|First=Hafidha|last=Gates}}

This will produce the following:

{{{first}}} Gates [[Category:Characters]] [[Category:Characters By Last Name|Gates, {{{first}}}]]

And Hafidha will not be amused.

Characters Without Last Names

For characters with no known last name (such as Chaz Villette's ex-girlfriend Amarilis), omit the "last=" parameter and use the following:

{{character|first=Amarilis}}

This will produce the following:

Amarillis (last name not currently known) [[Category:Characters]] [[Category:Characters By Last Name|Amarilis]]

These characters will be listed under "?" on the Category:Characters By Last Name page.

Characters Without First Names

An upcoming feature - in other words, whenever someone gets around to it. It should work similarly to characters without first names, but we'll need a bit more template magic to make it work. We want this:

Agent {{character|last=Bulowski}}

to produce the following:

Agent Bulowski (first name not currently known) [[Category:Characters]] [[Category:Characters By Last Name|Bulowski]]

Characters That Don't Fit The Mold

For someone who just completely doesn't fit the mold, you can still manually add the [[Category:Characters]] and [[Category:Characters By Last Name]] markup.

Personal tools