Template:Character Data: Difference between revisions

From Discworld & Terry Pratchett Wiki
Jump to navigation Jump to search
mNo edit summary
m (please...)
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 automatically.
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.


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

Revision as of 22:41, 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 automagically.