Jump to content

Template:Infobox Person/doc: Difference between revisions

From Rolling Lounge Wiki
Updated formulations a bit
Removed documentation template
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<templatedata>
{{Documentation}}
</noinclude><templatedata>
{
{
  "description": "An infobox for user profiles, including personal and Rolling Lounge information.",
"description": "An infobox for user profiles, including personal and Rolling Lounge information.",
  "params": {
"params": {
    "embed": {
"embed": {
      "label": "Embed Mode",
"label": "Embed Mode",
      "description": "Set to 'yes' to remove header background (for embedded infoboxes).",
"description": "Set to 'yes' to remove header background. Leave empty for header backgrounds.",
      "type": "string",
"type": "string"
      "suggestedvalues": ["yes"],
},
      "default": ""
"name": {
    },
"label": "Title",
    "name": {
"description": "The title of the infobox (defaults to the page name).",
      "label": "Title",
"type": "string",
      "description": "The title of the infobox (defaults to the page name).",
"default": "{{PAGENAMEBASE}}"
      "type": "string",
},
      "default": "{{PAGENAMEBASE}}"
"image": {
    },
"label": "Image",
    "image": {
"description": "File name of the image",
      "label": "Image",
"type": "string",
      "description": "Filename of the image (without File:) (e.g., 'Example.jpg').",
"example": "Example.jpg",
      "type": "string"
"suggested": true
    },
},
    "alt": {
"alt": {
      "label": "Image Alt Text",
"label": "Image Alt Text",
      "description": "Alternative text for the image (defaults to the 'name' parameter).",
"description": "Alternative text for the image (defaults to the 'name' parameter).",
      "type": "string"
"type": "string"
    },
},
    "caption": {
"caption": {
      "label": "Image Caption",
"label": "Image Caption",
      "description": "Caption text for the image.",
"description": "Caption text for the image.",
      "type": "string"
"type": "string"
    },
},
    "username": {
"username": {
      "label": "Username",
"label": "Username",
      "description": "The user's primary username.",
"description": "The user's username on Discord. Should not include the @",
      "type": "string"
"type": "string"
    },
},
    "birthdate": {
"birthdate": {
      "label": "Birth Date",
"label": "Birth Date",
      "description": "The user's birth date (format as preferred).",
"description": "The user's birth date. The date format is recommended to be like in the example.",
      "type": "string"
"type": "string",
    },
"example": "January 1, 2000"
    "homecountry": {
},
      "label": "Home Country",
"homecountry": {
      "description": "The user's country of origin.",
"label": "Home Country",
      "type": "string"
"description": "The user's country of origin.",
    },
"type": "string"
    "highestrole": {
},
      "label": "Highest Role",
"highestrole": {
      "description": "The user's highest role in Rolling Lounge.",
"label": "Highest Role",
      "type": "string"
"description": "The user's highest role in Rolling Lounge.",
    },
"type": "string"
    "skillrole": {
},
      "label": "Skill Role",
"skillrole": {
      "description": "The user's specialized skill role.",
"label": "Skill Role",
      "type": "string"
"description": "The user's skill role in Rolling Lounge.",
    },
"type": "string"
    "youtube": {
},
      "label": "YouTube",
"youtube": {
      "description": "YouTube channel link.",
"label": "YouTube",
      "type": "string"
"description": "YouTube channel link.",
    },
"type": "string"
    "twitter": {
},
      "label": "X/Twitter",
"twitter": {
      "description": "Twitter/X profile link.",
"label": "X/Twitter",
      "type": "string"
"description": "Twitter/X profile link.",
    },
"type": "string"
    "discord": {
},
      "label": "Discord Server",
"discord": {
      "description": "Discord server invite link.",
"label": "Discord Server",
      "type": "string"
"description": "Discord server invite link.",
    }
"type": "string"
  },
}
  "format": "inline"
},
"format": "inline"
}
}
</templatedata>
</templatedata>

Latest revision as of 15:32, 9 June 2025

An infobox for user profiles, including personal and Rolling Lounge information.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Embed Modeembed

Set to 'yes' to remove header background. Leave empty for header backgrounds.

Stringoptional
Titlename

The title of the infobox (defaults to the page name).

Default
{{PAGENAMEBASE}}
Stringoptional
Imageimage

File name of the image

Example
Example.jpg
Stringsuggested
Image Alt Textalt

Alternative text for the image (defaults to the 'name' parameter).

Stringoptional
Image Captioncaption

Caption text for the image.

Stringoptional
Usernameusername

The user's username on Discord. Should not include the @

Stringoptional
Birth Datebirthdate

The user's birth date. The date format is recommended to be like in the example.

Example
January 1, 2000
Stringoptional
Home Countryhomecountry

The user's country of origin.

Stringoptional
Highest Rolehighestrole

The user's highest role in Rolling Lounge.

Stringoptional
Skill Roleskillrole

The user's skill role in Rolling Lounge.

Stringoptional
YouTubeyoutube

YouTube channel link.

Stringoptional
X/Twittertwitter

Twitter/X profile link.

Stringoptional
Discord Serverdiscord

Discord server invite link.

Stringoptional