Template:JobList: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
m (v1.3)
(Removed excess 'w'. Added details to documentation. Fixed behavious for missing title-parameter)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<tr>
<tr>
<th class="unsortable" bgcolor="#bbbbbb" align="center" colspan="3" scope="col">
<th class="unsortable" bgcolor="#bbbbbb" align="center" colspan="3" scope="col">
{{{title}}}
{{{title|}}}
</th>
</th>
<th class="unsortable" width="10%" bgcolor="#bbbbbb" align="center" colspan="3" scope="col">
<th class="unsortable" width="10%" bgcolor="#bbbbbb" align="center" colspan="3" scope="col">
Line 9: Line 9:
</tr>{{#if:{{{1|}}}|
</tr>{{#if:{{{1|}}}|
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td width="110px" align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{1}}}|img|Empty.png}}|link={{{1}}}}}
{{click|img={{Data|{{{1}}}|img|Empty.png}}|link={{{1}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td width="140px" align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
[[{{{1}}}]]
[[{{{1}}}]]
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{1}}}|duties|}}|{{Data|{{{1}}}|duties|Unknown duties, [{{fullurl:{{{1}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{1}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{1}}}|duties|}}|{{Data|{{{1}}}|duties|Unknown duties, [{{fullurl:Data:{{{1}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{1}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 24: Line 24:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{2}}}|img|Empty.png}}|link={{{2}}}}}
{{click|img={{Data|{{{2}}}|img|Empty.png}}|link={{{2}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 30: Line 30:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{2}}}|duties|}}|{{Data|{{{2}}}|duties|Unknown duties, [{{fullurl:{{{2}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{2}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{2}}}|duties|}}|{{Data|{{{2}}}|duties|Unknown duties, [{{fullurl:Data:{{{2}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{2}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 38: Line 38:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{3}}}|img|Empty.png}}|link={{{3}}}}}
{{click|img={{Data|{{{3}}}|img|Empty.png}}|link={{{3}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 44: Line 44:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{3}}}|duties|}}|{{Data|{{{3}}}|duties|Unknown duties, [{{fullurl:{{{3}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{3}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{3}}}|duties|}}|{{Data|{{{3}}}|duties|Unknown duties, [{{fullurl:Data:{{{3}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{3}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 52: Line 52:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{4}}}|img|Empty.png}}|link={{{4}}}}}
{{click|img={{Data|{{{4}}}|img|Empty.png}}|link={{{4}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 58: Line 58:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{4}}}|duties|}}|{{Data|{{{4}}}|duties|Unknown duties, [{{fullurl:{{{4}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{4}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{4}}}|duties|}}|{{Data|{{{4}}}|duties|Unknown duties, [{{fullurl:Data:{{{4}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{4}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 66: Line 66:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{5}}}|img|Empty.png}}|link={{{5}}}}}
{{click|img={{Data|{{{5}}}|img|Empty.png}}|link={{{5}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 72: Line 72:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{5}}}|duties|}}|{{Data|{{{5}}}|duties|Unknown duties, [{{fullurl:{{{5}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{5}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{5}}}|duties|}}|{{Data|{{{5}}}|duties|Unknown duties, [{{fullurl:Data:{{{5}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{5}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 80: Line 80:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{6}}}|img|Empty.png}}|link={{{6}}}}}
{{click|img={{Data|{{{6}}}|img|Empty.png}}|link={{{6}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 86: Line 86:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{6}}}|duties|}}|{{Data|{{{6}}}|duties|Unknown duties, [{{fullurl:{{{6}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{6}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{6}}}|duties|}}|{{Data|{{{6}}}|duties|Unknown duties, [{{fullurl:Data:{{{6}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{6}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 94: Line 94:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{7}}}|img|Empty.png}}|link={{{7}}}}}
{{click|img={{Data|{{{7}}}|img|Empty.png}}|link={{{7}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 100: Line 100:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{7}}}|duties|}}|{{Data|{{{7}}}|duties|Unknown duties, [{{fullurl:{{{7}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{7}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{7}}}|duties|}}|{{Data|{{{7}}}|duties|Unknown duties, [{{fullurl:Data:{{{7}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{7}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 108: Line 108:
<tr>
<tr>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
{{click|img={{Data|{{{8}}}|img|Empty.png}}|link={{{8}}}}}
{{click|img={{Data|{{{8}}}|img|Empty.png}}|link={{{8}}}|size=64px}}
</td>
</td>
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<td align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 114: Line 114:
</td>
</td>
<td align="left">
<td align="left">
{{#if:{{Data|{{{8}}}|duties|}}|{{Data|{{{8}}}|duties|Unknown duties, [{{fullurl:{{{8}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:{{{8}}}|action=edit}} click here to add it!]}}
{{#if:{{Data|{{{8}}}|duties|}}|{{Data|{{{8}}}|duties|Unknown duties, [{{fullurl:Data:{{{8}}}|action=edit}} click here to add it!]}}|Unknown duties, [{{fullurl:Data:{{{8}}}|action=edit}} click here to add it!]}}
</td>
</td>
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
<th align="center" bgcolor="{{{imagebgcolor|#cccccc}}}">
Line 121: Line 121:
</tr>|}}
</tr>|}}
</table></includeonly><noinclude>
</table></includeonly><noinclude>
{{Needs revision
|reason = Is this template in use? Contains quite a bit of copypasta for each parameter.
|user = [[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 19:15, 24 April 2020 (UTC)
}}
== About ==
Displays a list of jobs in a table. Unsure about use-context.
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Description
|-
!title
|Title to be displayed in the table-top.
|-
! 1-8
| Name of the Data-Entry. For example 'Assistant' for [[Data:Assistant]]
|}
== Examples ==
=== Bare ===
<pre>{{JobList}}</pre>
{{JobList}}


{{JobList|title=Random Jobs|Waiter|Chef|Assistant|AI|Recovery Agent}}
{{Clear}}
=== Normal ===
<pre>{{JobList|title=Random Jobs|Chef|Assistant|AI}}</pre>
{{JobList|title=Random Jobs|Chef|Assistant|AI}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 19:15, 24 April 2020


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Is this template in use? Contains quite a bit of copypasta for each parameter."
Marked by: "Helpful Herbert (talk) 19:15, 24 April 2020 (UTC)"



About

Displays a list of jobs in a table. Unsure about use-context.

Parameter-Usage

Parameter Description
title Title to be displayed in the table-top.
1-8 Name of the Data-Entry. For example 'Assistant' for Data:Assistant

Examples

Bare

{{JobList}}

Difficulty

Normal

{{JobList|title=Random Jobs|Chef|Assistant|AI}}

Random Jobs

Difficulty

Chef.png

Chef

Make food for the crew. Have bloodfeuds with the waiters. Do ghetto surgery on people to extract those sweet, sweet appendixes. Replace surgery entirely.

Easy

Assistant.png

Assistant

Steal everything not bolted down, deconstruct everything that is. Get arrested for stealing claim that they are gifts for your "Assistance". Beg HoP for full access

Easy

AI.gif

AI

Help the crew by monitoring the cameras and alarms, or end up being a doorknob.

Very Hard