Template:Officeholder infobox/doc
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.
For the helper template, see Template:Officeholder infobox/office.
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.