Difference between revisions of "Template:Infobox jobs"
From NSV13
Jump to navigationJump to searchBokkiewokkie (talk | contribs) m (adds header color changing) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
|label7 = Duties | |label7 = Duties | ||
|data7 = {{{duties|N/A}}} | |data7 = {{{duties|N/A}}} | ||
+ | |label8 = Guides | ||
+ | |data8 = {{{guides|This is the guide}}} | ||
}} | }} | ||
− | <noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude> | + | <noinclude>{{documentation|content= |
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "headerbgcolor": { | ||
+ | "label": "Header Color", | ||
+ | "description": "Text header color, Takes css-valid color constants", | ||
+ | "example": "grey, #ff00ff, #abc", | ||
+ | "type": "string", | ||
+ | "default": "#bbbbbb", | ||
+ | "autovalue": "#bbbbbb", | ||
+ | "required": true | ||
+ | }, | ||
+ | "headerfontcolor": { | ||
+ | "label": "Header Font Color", | ||
+ | "autovalue": "", | ||
+ | "description": "Header text color, Takes css-valid color constants", | ||
+ | "example": "grey, #ff00ff, #abc", | ||
+ | "type": "string", | ||
+ | "default": "#000000" | ||
+ | }, | ||
+ | "bgcolor": { | ||
+ | "label": "Background Color", | ||
+ | "description": "Background of the majority of the template, Takes css-valid color constants", | ||
+ | "example": "grey, #ff00ff, #abc", | ||
+ | "default": "#dddddd", | ||
+ | "autovalue": "", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "name": { | ||
+ | "label": "Name", | ||
+ | "description": "Header Content", | ||
+ | "type": "string", | ||
+ | "default": "{{PAGENAME}}", | ||
+ | "deprecated": "Automatically populated." | ||
+ | }, | ||
+ | "image": { | ||
+ | "label": "Image", | ||
+ | "description": "Job image", | ||
+ | "example": "Assistant.png", | ||
+ | "type": "wiki-file-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "caption": { | ||
+ | "label": "Image Caption" | ||
+ | }, | ||
+ | "access": { | ||
+ | "label": "Default Access", | ||
+ | "description": "Access given under all circumstances.", | ||
+ | "example": "[[Maintenance]], [[Bar]]", | ||
+ | "type": "string", | ||
+ | "default": "N/A" | ||
+ | }, | ||
+ | "access2": { | ||
+ | "label": "Additional Access", | ||
+ | "description": "Access given under Skeleton Crew. Should not include regular access.", | ||
+ | "example": "[[Kitchen]]", | ||
+ | "type": "string", | ||
+ | "default": "N/A" | ||
+ | }, | ||
+ | "difficulty": { | ||
+ | "label": "Difficulty", | ||
+ | "description": "Job Difficulty", | ||
+ | "example": "Low, Medium, High, Something funny if not really applicable.", | ||
+ | "type": "string", | ||
+ | "default": "N/A" | ||
+ | }, | ||
+ | "supervisors": { | ||
+ | "label": "Supervisors", | ||
+ | "description": "Who does this job report to?", | ||
+ | "example": "Centcom, Department Head of Staff", | ||
+ | "type": "string", | ||
+ | "default": "N/A", | ||
+ | "autovalue": "", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "rank": { | ||
+ | "label": "Rank", | ||
+ | "description": "NSV13 Rank", | ||
+ | "example": "Lance Corporal (<b>LCPL</b>)", | ||
+ | "type": "string", | ||
+ | "default": "Missing (???)", | ||
+ | "autovalue": "Missing (<b>???</b>)", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "duties": { | ||
+ | "label": "Duties", | ||
+ | "description": "Job Responsibilities", | ||
+ | "default": "N/A", | ||
+ | "autovalue": "", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "guides": { | ||
+ | "label": "Guides", | ||
+ | "description": "Links to various guides.", | ||
+ | "type": "string", | ||
+ | "default": "This is the guide", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "description": "New layout for job page headers.", | ||
+ | "format": "block" | ||
+ | } | ||
+ | </templatedata>}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude> |
Latest revision as of 18:35, 13 December 2020
Page Title | |
---|---|
Debugging is fun! | |
Information | |
Access | N/A |
Additional Access | N/A |
Difficulty | N/A |
Supervisors | N/A |
Rank | Missing (???) |
Duties | N/A |
Guides | This is the guide |
Template documentation
New layout for job page headers.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header Color | headerbgcolor | Text header color, Takes css-valid color constants
| String | required |
Header Font Color | headerfontcolor | Header text color, Takes css-valid color constants
| String | optional |
Background Color | bgcolor | Background of the majority of the template, Takes css-valid color constants
| Unknown | suggested |
Name | name | Header Content
| String | deprecated |
Image | image | Job image
| File | suggested |
Image Caption | caption | no description | Unknown | optional |
Default Access | access | Access given under all circumstances.
| String | optional |
Additional Access | access2 | Access given under Skeleton Crew. Should not include regular access.
| String | optional |
Difficulty | difficulty | Job Difficulty
| String | optional |
Supervisors | supervisors | Who does this job report to?
| String | suggested |
Rank | rank | NSV13 Rank
| String | suggested |
Duties | duties | Job Responsibilities
| Unknown | suggested |
Guides | guides | Links to various guides.
| String | suggested |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |