Template:Officeholder infobox/doc

From NPOWiki
Revision as of 15:33, 2 July 2020 by Bobogoobo (talk | contribs) (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This page contains the documentation for Template:Officeholder infobox. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This template is meant to be "implemented" by other templates, but can be used directly if needed. Implementations must specify the game name and pass through any relevant parameters, or custom formatted information. They must be updated if the available parameters are changed.

For a list of current implementations, see here.

Available parameters

  • game - can be one of: cybernations, nationstates, othergame (default).
  • width - of infobox; use sparingly. Currently not available in implementations.
  • name
  • image
  • caption
  • affiliation1 through affiliation3 - the name of the group this position was in.
  • office1 through office3 - the name of the position.
  • start1 through start3 - the date the office began being held.
  • end1 through end3 - the date the office ended being held.
  • prev1 through prev3 - the name of the person who previously held the position.
  • next1 through next3 - the name of the person who next held the position.

Skeleton

{{Officeholder infobox
|game = 
|width = 
|name = 
|image = 
|caption = 
|affiliation1 = 
|office1 = 
|start1 = 
|end1 = 
|prev1 = 
|next1 = 
|affiliation2 = 
|office2 = 
|start2 = 
|end2 = 
|prev2 = 
|next2 = 
|affiliation3 = 
|office3 = 
|start3 = 
|end3 = 
|prev3 = 
|next3 = 
}}

Helper

For a script to generate the code for an implementation, see Template:Community infobox#Helper.