Template:Role infobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 53: | Line 53: | ||
{{#if:{{{duties|}}} | | {{#if:{{{duties|}}} | | ||
!width=100{{!}}Duties: | !width=100{{!}}Duties: | ||
!width=200{{! | !width=200{{!}}{{{duties|''Unknown''}}} | ||
}} | |||
|-valign="top" | |||
{{#if:{{{salary|}}} | | |||
!width=100{{!}}Salary: | |||
!width=200{{!}}{{{salary|''Unknown''}}} | |||
}} | |||
|- | |||
|} | |||
<!-- END OF FIRST SECTION --> | |||
|} | |||
<!-- END OF ACTUAL INFOBOX --> | |||
|} | |||
<!-- END OF PADDING AROUND INFOBOX --> | |||
</includeonly> | |||
<noinclude> | |||
<div><pre> | |||
{{Role infobox | |||
| title1=Example Role | |||
| image1=Example.jpg | |||
| caption-image1=Example Caption | |||
| released=January 1, 2025 | |||
| role_information=Oversees security enforcement | |||
| department=Department of Public Safety | |||
| requirements=Training, Certification | |||
| powers=Arrest, Investigation | |||
| reports_to=Director of Security | |||
| duties=Maintain law and order | |||
| salary=$75,000 per year | |||
}} | |||
</pre></div> | |||
==Usage & Example== | |||
### Notes: | |||
- Use `<br>` or `<br/>` in source mode to add line breaks within the table. | |||
- Leave fields blank if unknown; they will not be displayed. | |||
- The `image1` field requires a valid file extension (`.jpg`, `.png`, etc.). | |||
- **Do not** include `File:` in the `image1` field. | |||
- The title appearing at the top of the infobox will default to the page name if `title1` is not specified. | |||
</noinclude> |