Difference between revisions of "GroupInfoBox"
m (Fixed demo title) |
(Fixed maximum height of images to 400px) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <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> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </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> | ||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | </templatedata> | ||
− | </noinclude> |
Latest revision as of 17:00, 30 August 2021
Test Group | |
---|---|
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 content | This is used by other templates to add stuff in here |
The group infobox, try to use a more specific group infobox
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The name of the group/organisation | String | required |
Image | image | An image that summarises the group | Page | optional |
Alias(es) | aliases | Any aliases the group has | String | optional |
Members | members | Any groups or individuals that are a member of the group | String | optional |
Origin | origins | A brief overview of how the group was started | String | suggested |
Founded Date | foundedDate | The date the group was founded | String | optional |
Status | status | The current status of the group | String | suggested |
ExtraContent | extraContent | no description | Unknown | optional |