Template:Character Data: Difference between revisions

From Discworld & Terry Pratchett Wiki
Jump to navigation Jump to search
m (additional category for further classification)
mNo edit summary
Line 81: Line 81:
When listing more than one book, use the <tt>&lt;br/&gt;</tt> tag to display the items as a vertical list.
When listing more than one book, use the <tt>&lt;br/&gt;</tt> tag to display the items as a vertical list.


The "<tt>photo</tt>" option is to be used in the following way: just add the file name of the uploaded picture, a pipe (|) and the picture caption. For example: '''Teatime.jpg|Mr Teatime'''. The rest is done automagically.
The "<tt>photo</tt>" option is to be used in the following way: just add the file name of the uploaded picture, a pipe (|) and the picture caption. For example: '''Teatime.jpg|Mr Teatime'''. The rest is done automatically.


[[Category:Templates|Character Data]]
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 21:21, 10 June 2013

Example Code


{{Character Data
|title=
|photo=
|name=
|race=
|age=

|occupation=
|appearance=

|residence=

|death=
|parents=
|relatives=
|children=
|marital status=

|books= 
|cameos=
}}

Usage

The "title" option should be for displaying the same text as the article's title; "name" should list the full name of the character.

The "books" option is meant to contain only the books the character features in. Only use series if the character features in all books in that series. For other appearances and mentions use "cameos".

When listing more than one book, use the <br/> tag to display the items as a vertical list.

The "photo" option is to be used in the following way: just add the file name of the uploaded picture, a pipe (|) and the picture caption. For example: Teatime.jpg|Mr Teatime. The rest is done automatically.