Template:JobPageHeader

From HaloStation Wiki
Revision as of 04:42, 19 June 2023 by SharkLordSatan (talk | contribs) (Added new categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

UNDEFINED
Job Faction: Not defined
Difficulty: Not defined
Supervisors: Not defined
Duties: Not defined
Competence: Not defined
RP Level: Not defined
Guides: Not defined

This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job. This template is meant to be a more in-depth and "updated" version of the old JobPageHeader (JobPageBox) template. Courtesy to tgstation wiki for the original template.

Meaning of parameters

headerbgcolor is the background color of the header/upper part which spans the entire width of the screen. This should be a dark color, and can be set with hex color codes.
headerfontcolor is the font color of the same part as headerbgcolor. This should be white or a complementary bright color (i.e red on black) if the headerbgcolor is a dark color, and can be set with hex color codes.
stafftype is the word that is added at the header/upper part. So adding the word INFANTRY here would yield the same word in this box. Intended to be in caps.
imagebgcolor is the background color of the space behind the image and the job title. This should be a light color as the job title is always black, and can be set with hex color codes.
img is the in-action image file, without the "File:" or "Image:" prefix. (see examples below) img_generic is the generic image file, without the "File:" or "Image:" prefix. (see examples below) faction, jobtitle, difficulty, guides, competence, rplevel, and duties are self-explanatory. quote will only show if the parameter is specified.

Usage

Example of the finished product. Check the source code for the code that generated the thing below. Please document any changes you make to the template code in the parameters and usage sections

No image defined:

COMMAND
Shipmaster Faction: Covenant
Difficulty: Very Hard
Supervisors: Prophets, the Hierarchs
Duties: Command the ship, beat your subordinates for heresy, get killed because you wanted to help defend the artifact scanner on the ground.
Competence: High
RP Level: High
Guides: no separate guides
Quote: HAAAUUUGGGHHH WABADAUGH


Only in-action image defined:

COMMAND
EZealot.png
Shipmaster
Faction: Covenant
Difficulty: Very Hard
Supervisors: Prophets, the Hierarchs
Duties: Command the ship, beat your subordinates for heresy, get killed because you wanted to help defend the artifact scanner on the ground.
Competence: High
RP Level: High
Guides: no separate guides


Only generic image defined:

COMMAND
EZealot.png
Shipmaster
Faction: Covenant
Difficulty: Very Hard
Supervisors: Prophets, the Hierarchs
Duties: Command the ship, beat your subordinates for heresy, get killed because you wanted to help defend the artifact scanner on the ground.
Competence: High
RP Level: High
Guides: no separate guides


Both images defined:

COMMAND
EZealot.png EZealot.png
Shipmaster
Faction: Covenant
Difficulty: Very Hard
Supervisors: Prophets, the Hierarchs
Duties: Command the ship, beat your subordinates for heresy, get killed because you wanted to help defend the artifact scanner on the ground.
Competence: High
RP Level: High
Guides: no separate guides