Template:Person infobox/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
(name is almost always the same, so removed param from skeleton)
Line 20: Line 20:
==Skeleton==
==Skeleton==
<pre>{{Person infobox
<pre>{{Person infobox
|name =
|image =  
|image =  
|caption =  
|caption =  

Revision as of 18:57, 18 August 2020

This page contains the documentation for Template:Person infobox. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This template is used on non-game-specific pages for individuals.

Available parameters

  • width - the width of the infobox, only use this if really necessary.
  • name - the name of the person, defaults to page name.
  • image - file name and extension
  • imagewidth - width of the image in pixels, if the original image is narrower than 250px.
  • caption
  • forumid - the id for the person's profile page on the NPO forums, e.g. 16171. If the person does not have a forum account, enter N/A (this will not show anything on the page, but removes it from Category:Missing forum ID). By default, the page name will be added as the slug (the forum software requires one to be present, but it doesn't matter what it is, so providing only the number to this parameter is preferable).
  • pronouns - the person's preferred pronouns, if desired to be shared.
  • nsaffiliation - groups with which the person is affiliated in NationStates. This is a free-form field. Be sure to link to the NS-specific page for the group using {{NSp}}.
  • nsaccount - the person's nation(s) in NS. This is a free-form field. Nations can be linked or not.
  • cnaffiliation - same as nsaffiliation, but for Cyber Nations (the template is {{CNp}}).
  • cnaccount - same as nsaccount, but for Cyber Nations.
  • tornaffiliation - same, for Torn ({{Tornp}}).
  • tornaccount - same, for Torn.

Skeleton

{{Person infobox
|image = 
|caption = 
|forumid = 
|pronouns = 
|nsaffiliation = 
|nsaccount = 
|cnaffiliation = 
|cnaccount = 
|tornaffiliation = 
|tornaccount = 
}}