Difference between revisions of "Template:Character/doc"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
<pre>
 
<pre>
 
{{Character
 
{{Character
 +
| Shortname = * (if unset, defaults to pagename)
 +
| Noimage = * (if set, no image will show in the infobox)
 +
| Image = * (if unset, uses basepagename) (is overridden by Noimage)
 
  | fullname = *
 
  | fullname = *
  | Affiliation =  
+
  | Affiliation = *
 
  | Role =  
 
  | Role =  
 
  | Location =  
 
  | Location =  
 +
| Species =
 
  | Gender =
 
  | Gender =
 +
| Age =
 
  | Alias = *
 
  | Alias = *
 +
| Move1 =
 +
| Move2 =
 +
| Move3 =
 +
| Move4 =
 +
| Trait =
 +
| Nature =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 21:12, 9 October 2011

The Character infobox template is used to display vital stats of characters.

Usage

To implement the infobox, you simply add {{Character}} to the top of a page - however there are numerous attributes that display by default and should be set.

To set attributes, you simply add a few lines before closing the template call (before the closing squiggly brackets - }}), and add each attribute and it's values with | attribute = value.

Here's the code you should copy and fill in for each Character page: (entries marked with * are optional and will not show as a line on the infobox if removed from this code.)

{{Character
 | Shortname = * (if unset, defaults to pagename)
 | Noimage = * (if set, no image will show in the infobox)
 | Image = * (if unset, uses basepagename) (is overridden by Noimage)
 | fullname = *
 | Affiliation = *
 | Role = 
 | Location = 
 | Species =
 | Gender =
 | Age =
 | Alias = *
 | Move1 = 
 | Move2 = 
 | Move3 = 
 | Move4 = 
 | Trait = 
 | Nature = 
}}