Template:Person infobox: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
mNo edit summary
(Thought a pronoun field might be nice)
Line 7: Line 7:
     <th>NPO forums</th>
     <th>NPO forums</th>
     <td>{{forumlink|NPO|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'s profile|profile={{{forumid}}}}}</td>
     <td>{{forumlink|NPO|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'s profile|profile={{{forumid}}}}}</td>
</tr>}}{{#if:{{{pronouns|}}}|
<tr>
    <th>Pronouns</th>
    <td>{{{pronouns}}}</td>
</tr>}}{{#if:{{{nsaffiliation|}}}{{{nsaccount|}}}|
</tr>}}{{#if:{{{nsaffiliation|}}}{{{nsaccount|}}}|
<tr class="center-row">
<tr class="center-row">

Revision as of 09:59, 18 July 2020

Documentation [edit]

This template is used on non-game-specific pages for individuals. All parameters are optional.

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).
  • singularity - the name of the person's profile on Singularity; defaults to the name parameter or the page name.
  • nosing - define this parameter to hide the link to Singularity, e.g. for non-Pacificans (unless they have been given an NPO award).
  • 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.
  • nspacifican - the date(s) the person was a member of the NS NPO branch. This is also passed to Template:AgesEras.
  • cnaffiliation - same as nsaffiliation, but for Cyber Nations (the template is {{CNp}}).
  • cnaccount - same as nsaccount, but for Cyber Nations.
  • cnpacifican - same as nspacifican, but for Cyber Nations.
  • tornaffiliation - same, for Torn ({{Tornp}}).
  • tornaccount - same, for Torn.
  • tornpacifican - same, for Torn.

Skeleton

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

The above documentation is transcluded from Template:Person infobox/doc.