Actions

Template

Difference between revisions of "GroupInfoBox"

m (Spacing)
(Fixed maximum height of images to 400px)
 
Line 1: Line 1:
<includeonly>{{InfoBox|title={{{title|}}}|infoBoxTable={{#if: {{{image|}}}|<tr><td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{image}}}|frameless|center|375px]]</td></tr>}}{{#if: {{{aliases|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Aliases</b>:</td><td>{{{aliases}}}</td></tr>}}{{#if: {{{members|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Current Members</b>:</td><td>{{{members}}}</td></tr>}}{{#if: {{{origins|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Origins</b>:</td><td>{{{origins}}}</td></tr>}}{{#if: {{{foundedDate|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Founded date</b>:</td><td>{{{foundedDate}}}</td></tr>}}{{#if: {{{status|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Current Status</b>:</td><td>{{{status}}}</td></tr>}}{{#if: {{{extraContent|}}}|{{{extraContent}}}}}}}</includeonly><noinclude>{{GroupInfoBox|title=Test Group|image=byAllah.jpg|aliases=Some alias, Another Alias|members=[[Test Group]], Thoradin|origins=Founded by Test Group to combat the infoboxes|foundedDate=6/9/42|extraContent=<tr><td>The extra content</td><td>This is used by other templates to add stuff in here</td>}}<templatedata>{"params": {"title": {"label": "Title","description": "The name of the group/organisation","type": "string","required": true},"image": {"label": "Image","description": "An image that summarises the group","type": "wiki-page-name"},"aliases": {"label": "Alias(es)","description": "Any aliases the group has","type": "string"},"members": {"label": "Members","description": "Any groups or individuals that are a member of the group","type": "string"},"origins": {"label": "Origin","description": "A brief overview of how the group was started","type": "string","suggested": true},"foundedDate": {"label": "Founded Date","description": "The date the group was founded","type": "string"},"status": {"label": "Status","description": "The current status of the group","type": "string","suggested": true},"extraContent": {}},"description": "The group infobox, try to use a more specific group infobox"}</templatedata></noinclude>
+
<includeonly>{{InfoBox|title={{{title|}}}|infoBoxTable={{#if: {{{image|}}}|<tr><td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{image}}}|frameless|center|375px|x400px]]</td></tr>}}{{#if: {{{aliases|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Aliases</b>:</td><td>{{{aliases}}}</td></tr>}}{{#if: {{{members|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Current Members</b>:</td><td>{{{members}}}</td></tr>}}{{#if: {{{origins|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Origins</b>:</td><td>{{{origins}}}</td></tr>}}{{#if: {{{foundedDate|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Founded date</b>:</td><td>{{{foundedDate}}}</td></tr>}}{{#if: {{{status|}}}|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Current Status</b>:</td><td>{{{status}}}</td></tr>}}{{#if: {{{extraContent|}}}|{{{extraContent}}}}}}}</includeonly><noinclude>{{GroupInfoBox|title=Test Group|image=byAllah.jpg|aliases=Some alias, Another Alias|members=[[Test Group]], Thoradin|origins=Founded by Test Group to combat the infoboxes|foundedDate=6/9/42|extraContent=<tr><td>The extra content</td><td>This is used by other templates to add stuff in here</td>}}<templatedata>{"params": {"title": {"label": "Title","description": "The name of the group/organisation","type": "string","required": true},"image": {"label": "Image","description": "An image that summarises the group","type": "wiki-page-name"},"aliases": {"label": "Alias(es)","description": "Any aliases the group has","type": "string"},"members": {"label": "Members","description": "Any groups or individuals that are a member of the group","type": "string"},"origins": {"label": "Origin","description": "A brief overview of how the group was started","type": "string","suggested": true},"foundedDate": {"label": "Founded Date","description": "The date the group was founded","type": "string"},"status": {"label": "Status","description": "The current status of the group","type": "string","suggested": true},"extraContent": {}},"description": "The group infobox, try to use a more specific group infobox"}</templatedata></noinclude>

Latest revision as of 17:00, 30 August 2021

Test Group
ByAllah.jpg
Aliases:Some alias, Another Alias
Current Members:Test Group, Thoradin
Origins:Founded by Test Group to combat the infoboxes
Founded date:6/9/42
The extra contentThis is used by other templates to add stuff in here

The group infobox, try to use a more specific group infobox

Template parameters

ParameterDescriptionTypeStatus
Titletitle

The name of the group/organisation

Stringrequired
Imageimage

An image that summarises the group

Pageoptional
Alias(es)aliases

Any aliases the group has

Stringoptional
Membersmembers

Any groups or individuals that are a member of the group

Stringoptional
Originorigins

A brief overview of how the group was started

Stringsuggested
Founded DatefoundedDate

The date the group was founded

Stringoptional
Statusstatus

The current status of the group

Stringsuggested
ExtraContentextraContent

no description

Unknownoptional