Template
Infobox Group
From Dogcraft Wiki
mNo edit summary Tag: Visual edit: switched |
No edit summary |
||
Line 20: | Line 20: | ||
|label5 = Members | |label5 = Members | ||
|data5 = {{{members|}}} | |data5 = {{{members|}}} | ||
|label6 = [[Status]] | |label6 = World(s) | ||
| | |data6 = {{Infobox/World link|{{{world|}}}}} | ||
| | |label7 = [[Status]] | ||
| | |data7 = {{{status|Unknown}}} | ||
| | |label8 = Founded | ||
| | |data8 = {{#if: {{{founded|}}} | {{{founded|}}} {{#if: {{{startworld|}}}|({{Infobox/World link|{{{startworld|}}}}})|}} |{{Infobox/World link|{{{startworld|}}}}} }} | ||
|label9 = Disolved | |||
|data9 = {{#if: {{{dissolved|}}} | {{{dissolved|}}} {{#if: {{{endworld|}}}|({{Infobox/World link|{{{endworld|}}} }})|}}|{{Infobox/World link|{{{endworld|}}}}} }} | |||
}} | }} | ||
Line 126: | Line 128: | ||
"endworld": { | "endworld": { | ||
"label": "Dissolution World", | "label": "Dissolution World", | ||
"description": " | "description": "Includes the world of dissulution after the date of dissolution.", | ||
"example": "Survival 7", | "example": "Survival 7", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"world": { | "world": { | ||
"label": "World", | "label": "World(s)", | ||
"description": "The world on which the group was active | "description": "The world(s) on which the group was active. ", | ||
"example": "Survival 4", | "example": "Survival 4", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
"dissolved": { | "dissolved": { | ||
Line 141: | Line 143: | ||
"description": "The date of the founding of the group. Leave blank if group is still active.", | "description": "The date of the founding of the group. Leave blank if group is still active.", | ||
"type": "date" | "type": "date" | ||
}, | |||
"startworld": { | |||
"label": "Founding World", | |||
"description": "Includes the world of founding after the date of founding.", | |||
"example": "Survival 4", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 151: | Line 159: | ||
"purpose", | "purpose", | ||
"status", | "status", | ||
"world", | |||
"leader", | "leader", | ||
"members", | "members", | ||
"founded", | "founded", | ||
"dissolved", | "dissolved", | ||
" | "startworld", | ||
" | "endworld" | ||
], | ], | ||
"format": "block" | "format": "block" |
Revision as of 13:54, 12 January 2021
Infobox Group | |
Test | |
Group | |
---|---|
Type | Infobox showcase |
Purpose | To show off all the fields in this infobox |
Leader | Renthedog |
Members | Renthedog, Steve, Alex |
World(s) | Template:Infobox/World link |
Status | Active |
Founded | Template:Infobox/World link |
Disolved | Template:Infobox/World link |
Example usage:
{{Infobox Group |title= |image= |caption= |type= |purpose= |leader= |members= |status= |founded= |disolved= |startworld= |endworld= }}
Infobox template to be used on groups in the community.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header | title | Infobox header, for use when it should be different from the pagename.
| String | optional |
Image | image picture file img | The name of an image (without "File:") to display at the top of the infobox.
| File | required |
Caption | caption | Description of the Image parameter | String | suggested |
Type | type | no description | String | suggested |
Purpose | purpose | The purpose or aim of the group.
| String | suggested |
Status | status | Expects one of the [[Status|status templates]]. Use {{Defunct}} for disbanded groups.groups.
| Template | required |
World(s) | world | The world(s) on which the group was active.
| String | required |
Leader(s) | leader | The leader(s) of the group. Use {{Player|<playername>}}
| String | suggested |
Members | members | Members of the group. Use {{Player|<playername>}}
| String | suggested |
Founded | founded | The date of the founding of the group. | Date | optional |
Dissolved | dissolved | The date of the founding of the group. Leave blank if group is still active. | Date | optional |
Founding World | startworld | Includes the world of founding after the date of founding.
| String | optional |
Dissolution World | endworld | Includes the world of dissulution after the date of dissolution.
| String | optional |