Template:SidebarJob: Difference between revisions

From Sojourn
DtheSnek (talk | contribs)
Created page with "<noinclude><code></noinclude> {{Sidebar | name = SidebarJob | pretitle = One of many Jobs | title = {{{jobname|Unspecified}}} | image = {{#if:{{{img_file|}}}| <div class='..."
 
Replaced content with "{| class="wikitable" |+ Caption text |- ! Header text |- | Example |- | Example |- | Example |}"
Tag: Replaced
 
Line 1: Line 1:
<noinclude><code></noinclude>
{| class="wikitable"
{{Sidebar
|+ Caption text
| name = SidebarJob
|-
| pretitle = One of many [[Jobs]]
! Header text
| title = {{{jobname|Unspecified}}}
|-
| image = {{#if:{{{img_file|}}}| <div class='smallpic'>[[File:{{{img_file}}}|64px]]</div> | }}
| Example
 
|-
| above = {{{tagline|}}}
| Example
 
|-
| heading1 = {{#if:{{{alt_titles|}}}| <hr>Alt-Titles |}}
| Example
| content1 = {{#if:{{{alt_titles|}}}| {{{alt_titles}}} |}}
|}
 
| heading2 = <hr>Department
| content2 = {{{department|Unknown}}}
 
| heading3 = <hr>Access
| content3 = {{{access|Unknown}}}
 
| heading4 = <hr>Duties
| content4 = {{{duties|Unknown}}}
 
| heading5 = <hr>Supervisors
| content5 = {{{supervisors|Unknown}}}
 
| heading6 = <hr>Difficulty
| content6 = {{{difficulty|Unknown}}}
 
| heading7 = <hr>Job Guide(s)
| content7 = {{{guide|N/A}}}
 
}}
<noinclude></code>
 
View the source of this page to see how to use this sidebar.
Here's wikipedia's explanation: https://en.wikipedia.org/wiki/Template:Sidebar
 
'''An example:'''
{{SidebarJob
| jobname = Colony Director
| img_file = Colony_Director.png
| tagline = The Head Honcho
| alt_titles = Overseer, Captain
| department = Command
| access = Everything!
| duties = Ensure the station remains "afloat". Keep the crew alive, delegate effectively, and keep the research going.
| supervisors = Corporate Regulations, CentCom, and NanoTrasen Officials
| difficulty = Very Hard
| guide = [[Standard_Operating_Procedure#The_Council|Guide to Command]]
}}
<noinclude>
<templatedata>
{
"params": {
"jobname": {
"label": "Job Name",
"description": "The name of the job in question",
"type": "string",
"required": true
},
"img_file": {
"label": "Image",
"description": "The image to display on the job",
"example": "Colony_Director.png",
"type": "wiki-file-name",
"suggested": true
},
"tagline": {
"label": "Tagline",
"description": "Small blurb under the image",
"type": "string",
"suggested": true
},
"department": {
"label": "Department",
"description": "Which department the job is in",
"example": "Engineering",
"type": "string",
"suggested": true
},
"access": {
"label": "Access",
"description": "What access level/areas the job has",
"example": "Medical area & equipment",
"type": "string",
"suggested": true
},
"duties": {
"label": "Duties",
"description": "What are their responsibilities?",
"example": "Treating patient injuries",
"type": "string",
"suggested": true
},
"supervisors": {
"label": "Supervisors",
"description": "Who are they beholden to?",
"example": "Research Director",
"type": "string",
"suggested": true
},
"difficulty": {
"label": "Difficulty",
"description": "How hard is it to play them/how much attention?",
"example": "Very Hard",
"type": "string",
"suggested": true
},
"alt_titles": {
"label": "Alt-Titles",
"description": "Alternate job titles for this job",
"example": "Security Commander, Chief of Security",
"type": "string",
"suggested": true
},
"guide": {
"label": "Job Guides",
"description": "How do I do this job?",
"example": "[[Guide to Hacking]], [[Guide to Robotics]]",
"type": "string",
"suggested": true
}
},
"description": "This sidebar is for use on job pages.",
"paramOrder": [
"jobname",
"img_file",
"tagline",
"alt_titles",
"department",
"access",
"duties",
"supervisors",
"difficulty",
"guide"
],
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 00:11, 17 November 2020

Caption text
Header text
Example
Example
Example