Template:JobList: Difference between revisions

649 bytes added ,  19:15, 24 April 2020
Removed excess 'w'. Added details to documentation. Fixed behavious for missing title-parameter
(removed waiter and recovery agent)
(Removed excess 'w'. Added details to documentation. Fixed behavious for missing title-parameter)
 
Line 1: Line 1:
<includeonly><table class="infobox" cellpadding="2" style="width: 85%;  font-size: 90%; border: 1px solid #AAAAAA;  margin-left:0.5em;">w
<includeonly><table class="infobox" cellpadding="2" style="width: 85%;  font-size: 90%; border: 1px solid #AAAAAA;  margin-left:0.5em;">
<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 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}}
{{Clear}}
=== Normal ===
<pre>{{JobList|title=Random Jobs|Chef|Assistant|AI}}</pre>
{{JobList|title=Random Jobs|Chef|Assistant|AI}}
{{JobList|title=Random Jobs|Chef|Assistant|AI}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
1,133

edits