Template:CrewInfobox: Difference between revisions

From LoadingReadyWiki
Jump to navigationJump to search
Here's to hoping this doesn't break everything. Reworked the whole thing with automatic first video detection, hiding of table rows as well as cells, adding DB section, probably other things
m Fix logic error
Line 89: Line 89:
All pages are added to the [[:Category:People|People]] category, unless you provide a non-blank value for <code>isPuppet</code>, in which case the page will be added to the [[:Category:Puppets|Puppets]] category instead.</noinclude>
All pages are added to the [[:Category:People|People]] category, unless you provide a non-blank value for <code>isPuppet</code>, in which case the page will be added to the [[:Category:Puppets|Puppets]] category instead.</noinclude>


{{ #if: {{{Picture|}}} || <includeonly>[[Category:Pages Needing Images]]</includeonly> }}{{ #if: {{{Duties|}}} || <includeonly>[[Category:Crew]]</includeonly> }}{{ #if: {{{DBDuties|}}} || <includeonly>[[Category:Desert Bus Volunteers]]</includeonly> }}{{ #if: {{{isPuppet|}}} | <includeonly>[[Category:Puppets]]</includeonly> | <includeonly>[[Category:People]]</includeonly> }}
{{ #if: {{{Picture|}}} || <includeonly>[[Category:Pages Needing Images]]</includeonly> }}{{ #if: {{{Duties|}}} | <includeonly>[[Category:Crew]]</includeonly> }}{{ #if: {{{DBDuties|}}} | <includeonly>[[Category:Desert Bus Volunteers]]</includeonly> }}{{ #if: {{{isPuppet|}}} | <includeonly>[[Category:Puppets]]</includeonly> | <includeonly>[[Category:People]]</includeonly> }}

Revision as of 00:41, 29 September 2019

CrewInfobox
CrewInfobox
CrewInfobox

Image Needed
Date of Birth: {{{DOB}}}
Family: {{{Family}}}
LRR
Duties: {{{Duties}}}
First Appearance: A Brief History of Lame (24 October 2003)
Last Appearance: The Long Game - Archipelago - Session 02 (26 November 2026)
Recurring Characters: {{{RecurringCharacters}}}
Desert Bus
Duties: {{{DBDuties}}}
First Appearance: Desert Bus for Hope 1 (22 November 2007)
Last Appearance: Desert Bus for Hope 2026 (23 October 2026)
Online
Website: {{{Website}}}
Twitter: {{{Twitter}}}
Mastodon: {{{Mastodon}}}
Instagram: {{{Instagram}}}
Twitch: {{{Twitch}}}
YouTube: {{{YouTube}}}
This template should be linked just above the first paragraph on pages that represent people (or puppets, see the last section).
{{CrewInfobox
|Name=
|Picture=
|PicDesc=
|DOB=
|Family=
|Duties=
|RecurringCharacters=
|DBDuties=
|Website=
|Twitter=
|Mastodon=
|Instagram=
|Twitch=
|YouTube=
}}

This template automatically hides elements and even whole sections if you leave parameters blank or omit them entirely, so do not provide placeholder values. It has also now been updated to automatically identify not just the latest appearance but the first one too, so the First and Appearance parameters are no longer required.

General Parameters

  • Name should only be provided with a value if you want to use something other than the page title.
  • Picture should be a filename for an image of the person. If not provided then the placeholder image will be used instead, and PicDesc will be ignored and replaced with "Image Needed".
  • PicDesc can be provided to add a caption below the image.
  • DOB is the date of birth in "Month Day, Year" format. You don't have to provide all of these if they are not known.
  • Family is mainly for the purposes of listing related pages in the format "Name (relation)".

LRR Properties

  • Duties - The subject's duties at LRR. If provided, the page is added to the Crew category.
  • RecurringCharacters - Names of, or links to pages for, characters this person regularly plays.

Desert Bus Properties

  • DBDuties - The subject's duties at Desert Bus. If provided, the page is added to the Desert Bus Volunteers category.

Social Medias

Each parameter should be a link to the social media page in question, with the name set to their handle on that platform.

Further Categories

All pages are added to the People category, unless you provide a non-blank value for isPuppet, in which case the page will be added to the Puppets category instead.