Template
Infobox Group
From Dogcraft Wiki
imported>Domino No edit summary |
m (Added automatic categorisation) |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{Infobox2 | ||
| | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
|subheader = {{WorldPills|multi={{{crossworld|1}}}|{{{world|}}}|{{{sur4subworld|}}}}} | |||
|image = {{#if:{{{image2|}}}|{{#tag:gallery | |||
| | |{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | ||
|image = {{#if:{{{image|}}}| | {{{image2|}}}{{!}}{{{caption2|}}} | ||
| | {{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}} | ||
| | {{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}} | ||
| | |caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | ||
| | |header1 = Group | ||
| | |label2 = Type | ||
| | |data2 = {{{type|}}} | ||
| | |label3 = Purpose | ||
|label2 | |data3 = {{{purpose|}}} | ||
|data2 | |label4 = World(s) | ||
|label3 | |data4 = {{{world|}}} | ||
|data3 | |label5 = Leader | ||
|label4 | |data5 = {{{leader|}}} | ||
| | |label6 = Members | ||
| | |data6 = {{{members|}}} | ||
| | |label7 = Active | ||
|data7 = {{#if: {{{founded|}}}|{{{founded|}}}–{{{dissolved|}}}|}} | |||
}}[[Category:Groups]]{{WorldSwitch|mode=MultiCategory|{{{crossworld|1}}}{{{world|}}}{{{sur4subworld|}}}{{{subworld|}}}}}</includeonly><noinclude> | |||
{{Infobox Group | |||
|image = Egg.png | |||
|caption = Test | |||
|type = Infobox showcase | |||
|purpose = To show off all the fields in this infobox | |||
|world = Survival 3, Survival 4, Survival 5, Creative | |||
|leader = {{Player|Renthedog}} | |||
|members = {{Player|Renthedog}},<br>{{Player|Steve}},<br>{{Player|Alex}} | |||
|founded = 1st of January 2034 | |||
|dissolved = 2nd of January 2023 | |||
}} | }} | ||
Example usage:<pre> | Example usage:<pre> | ||
{{Infobox Group | {{Infobox Group | ||
|title= | |title= | ||
|image= | |image= | ||
|caption= | |caption= | ||
|type= | |type= | ||
|purpose= | |purpose= | ||
|leader= | |leader= | ||
|members= | |members= | ||
|founded= | |||
|disolved= | |||
}} | }} | ||
</pre> | </pre><templatedata> | ||
</ | { | ||
"params": { | |||
"title": { | |||
"label": "Header", | |||
"description": "Infobox header, for use when it should be different from the pagename.", | |||
"type": "string", | |||
"autovalue": "{{subst:PAGENAME}}" | |||
}, | |||
"image": { | |||
"aliases": [ | |||
"picture", | |||
"file", | |||
"img" | |||
], | |||
"label": "Image", | |||
"description": "The name of an image (without \"File:\") to display at the top of the infobox.", | |||
"example": "Examplet.png", | |||
"type": "wiki-file-name", | |||
"autovalue": "", | |||
"required": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Description of the Image parameter", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"purpose": { | |||
"label": "Purpose", | |||
"description": "The purpose or aim of the group.", | |||
"example": "Collecting snowlayers", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"leader": { | |||
"label": "Leader(s)", | |||
"description": "The leader(s) of the group. Use {{Player|<playername>}}", | |||
"example": "{{Player|Example}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"members": { | |||
"label": "Members", | |||
"description": "Members of the group. Use {{Player|<playername>}}", | |||
"example": "{{Player|Example}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Expects one of the [[Status|status templates]]. Use {{Defunct}} for disbanded groups.groups.", | |||
"example": "{{Active}}", | |||
"type": "wiki-template-name", | |||
"required": true | |||
}, | |||
"founded": { | |||
"label": "Founded", | |||
"description": "The date of the founding of the group.", | |||
"type": "date" | |||
}, | |||
"endworld": { | |||
"label": "Dissolution World", | |||
"description": "Includes the world of dissulution after the date of dissolution.", | |||
"example": "Survival 7", | |||
"type": "string" | |||
}, | |||
"world": { | |||
"label": "World(s)", | |||
"description": "The world(s) on which the group was active. ", | |||
"example": "Survival 4", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"dissolved": { | |||
"label": "Dissolved", | |||
"description": "The date of the founding of the group. Leave blank if group is still active.", | |||
"type": "date" | |||
}, | |||
"startworld": { | |||
"label": "Founding World", | |||
"description": "Includes the world of founding after the date of founding.", | |||
"example": "Survival 4", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Infobox template to be used on groups in the community.", | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"type", | |||
"purpose", | |||
"status", | |||
"world", | |||
"leader", | |||
"members", | |||
"founded", | |||
"dissolved", | |||
"startworld", | |||
"endworld" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> |
Latest revision as of 16:04, 29 July 2024
Infobox Group | |
---|---|
Survival 3 Survival 4 Survival 5 Creative | |
Group | |
Type | Infobox showcase |
Purpose | To show off all the fields in this infobox |
World(s) | Survival 3, Survival 4, Survival 5, Creative |
Leader | Renthedog |
Members | Renthedog, Steve, Alex |
Active | 1st of January 2034–2nd of January 2023 |
Example usage:
{{Infobox Group |title= |image= |caption= |type= |purpose= |leader= |members= |founded= |disolved= }}
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 |