Template:Officeholder infobox/office/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} This is a helper template for Template:Officeholder infobox to make it easier to change the way offices are displayed or add more. It contains a...")
 
mNo edit summary
 
Line 6: Line 6:
*game
*game
*office
*office
*prevoffice - this is just office[n-1], to check if the current one is the same (affiliations must also match).
*affiliation
*affiliation
*prevaffiliation - this is just affiliation[n-1], to check if the current one is the same.
*prevaffiliation - this is just affiliation[n-1], to check if the current one is the same.

Latest revision as of 08:38, 18 July 2020

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

This is a helper template for Template:Officeholder infobox to make it easier to change the way offices are displayed or add more. It contains all the code and logic for offices. Please see the parent template for details on the parameters.

The following named parameters must be passed through:

  • game
  • office
  • prevoffice - this is just office[n-1], to check if the current one is the same (affiliations must also match).
  • affiliation
  • prevaffiliation - this is just affiliation[n-1], to check if the current one is the same.
  • start
  • end
  • prev
  • next