Template:Department infobox/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 10: | Line 10: | ||
*'''imagewidth''': the pixel width of the image, if smaller than 250px. | *'''imagewidth''': the pixel width of the image, if smaller than 250px. | ||
*'''caption''': a caption for the image. | *'''caption''': a caption for the image. | ||
*'''status''': a short description of the status of the department, such as "Active" or "Merged into X". | *'''status''': a short description of the status of the department, such as "Active" or "Merged into X". Should be omitted if it is the same as "category". | ||
*'''category''': one word describing the status of the department, can be one of: active, defunct, merged, split, renamed (not case sensitive). | *'''category''': (required) one word describing the status of the department, can be one of: active, defunct, merged, split, renamed (not case sensitive). | ||
*'''dates''': the dates when the department was active. | *'''dates''': the dates when the department was active. | ||
*'''position1''' through ''' | *'''position1''' through '''position6''': the names of leadership positions in the department. These are passed to {{t|gov}} to display the current occupants, if <code>category</code> is "active". | ||
*'''duties''': a description of the responsibilities of the department. | *'''duties''': a description of the responsibilities of the department. | ||
| Line 30: | Line 30: | ||
|position4 = | |position4 = | ||
|position5 = | |position5 = | ||
|position6 = | |||
|duties = | |duties = | ||
}}</pre> | }}</pre> | ||
<includeonly>[[Category:Infobox templates]]</includeonly> | <includeonly>[[Category:Infobox templates]]</includeonly> | ||
Latest revision as of 15:35, 7 October 2025
This page contains the documentation for Template:Department infobox. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.
This infobox is used for NPO departments.
Parameters
- game: the game that this page applies to; leave blank if not applicable.
- width: the width of the infobox in pixels; use sparingly.
- name: the name of the department; defaults to the page name.
- image: an image for the department, such as flag or logo. File name and extension only.
- imagewidth: the pixel width of the image, if smaller than 250px.
- caption: a caption for the image.
- status: a short description of the status of the department, such as "Active" or "Merged into X". Should be omitted if it is the same as "category".
- category: (required) one word describing the status of the department, can be one of: active, defunct, merged, split, renamed (not case sensitive).
- dates: the dates when the department was active.
- position1 through position6: the names of leadership positions in the department. These are passed to
{{gov}}to display the current occupants, ifcategoryis "active". - duties: a description of the responsibilities of the department.
Skeleton
{{Department infobox
|game =
|name =
|image =
|caption =
|status =
|category =
|dates =
|position1 =
|position2 =
|position3 =
|position4 =
|position5 =
|position6 =
|duties =
}}