Template:Character Data: Difference between revisions

From Discworld & Terry Pratchett Wiki
Jump to navigation Jump to search
m (additional category for further classification)
m (Reverted edits by U mad bro (talk) to last revision by XtinaS)
Tag: Rollback
 
(13 intermediate revisions by 4 users not shown)
Line 46: Line 46:
| '''[[Bibliography|Cameos]]'''
| '''[[Bibliography|Cameos]]'''
| {{{cameos}}}
| {{{cameos}}}
|}</includeonly><noinclude>
|}
</includeonly><noinclude>
'''Example Code'''
'''Example Code'''
----
----
Line 83: Line 84:
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 automagically.


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

Latest revision as of 15:50, 20 October 2021

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.