Template:Person infobox/doc: Difference between revisions
Jump to navigation
Jump to search
(Torn) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
This template is used on non-game-specific pages for individuals. | This template is used on non-game-specific pages for individuals. All parameters are optional. | ||
==Available parameters== | ==Available parameters== | ||
Line 9: | Line 9: | ||
*'''imagewidth''' - width of the image in pixels, if the original image is narrower than 250px. | *'''imagewidth''' - width of the image in pixels, if the original image is narrower than 250px. | ||
*'''caption''' | *'''caption''' | ||
*'''forumid''' - the id for the person's profile page on the NPO forums, e.g. 16171- | *'''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 [https://singularity.npowned.net/ Singularity]; defaults to the <code>name</code> 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. | *'''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 {{t|NSp}}. | *'''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 {{t|NSp}}. | ||
*'''nsaccount''' - the person's nation(s) in NS. This is a free-form field. Nations can be linked or not. | *'''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 {{t|CNp}}). | *'''cnaffiliation''' - same as nsaffiliation, but for Cyber Nations (the template is {{t|CNp}}). | ||
*'''cnaccount''' - same as nsaccount, but for Cyber Nations. | *'''cnaccount''' - same as nsaccount, but for Cyber Nations. | ||
*'''cnpacifican''' - same as nspacifican, but for Cyber Nations. | |||
*'''tornaffiliation''' - same, for Torn ({{t|Tornp}}). | *'''tornaffiliation''' - same, for Torn ({{t|Tornp}}). | ||
*'''tornaccount''' - same, for Torn. | *'''tornaccount''' - same, for Torn. | ||
*'''tornpacifican''' - same, for Torn. | |||
==Skeleton== | ==Skeleton== | ||
<pre>{{Person infobox | <pre>{{Person infobox | ||
|image = | |image = | ||
|caption = | |caption = | ||
Line 27: | Line 31: | ||
|nsaffiliation = | |nsaffiliation = | ||
|nsaccount = | |nsaccount = | ||
|nspacifican = | |||
|cnaffiliation = | |cnaffiliation = | ||
|cnaccount = | |cnaccount = | ||
|cnpacifican = | |||
|tornaffiliation = | |tornaffiliation = | ||
|tornaccount = | |tornaccount = | ||
|tornpacifican = | |||
}}</pre> | }}</pre> | ||
<includeonly>[[Category:Infobox templates]]</includeonly> | <includeonly>[[Category:Infobox templates]]</includeonly> |
Latest revision as of 07:02, 19 December 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. 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 = }}