Template
Infobox Group
From Dogcraft Wiki
m ((re-)added optional world parameter. this one support more then 1 world/server for groups but not subworlds (So Survival 3, Survival 4 and Skyblock but not Survival 2, Husky, Akita and Corgi)) |
m (Added automatic categorisation) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox2 | <includeonly>{{Infobox2 | ||
|above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
|subheader = {{WorldPills|multi=1|{{{world|}}}}} | |subheader = {{WorldPills|multi={{{crossworld|1}}}|{{{world|}}}|{{{sur4subworld|}}}}} | ||
|image = {{#if:{{{image2|}}}|{{#tag:gallery | |image = {{#if:{{{image2|}}}|{{#tag:gallery | ||
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | |{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | ||
Line 9: | Line 9: | ||
|caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | |caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | ||
|header1 = Group | |header1 = Group | ||
|label2 | |label2 = Type | ||
|data2 | |data2 = {{{type|}}} | ||
|label3 | |label3 = Purpose | ||
|data3 | |data3 = {{{purpose|}}} | ||
|label4 | |label4 = World(s) | ||
|data4 | |data4 = {{{world|}}} | ||
|label5 | |label5 = Leader | ||
|data5 | |data5 = {{{leader|}}} | ||
|label6 | |label6 = Members | ||
|data6 | |data6 = {{{members|}}} | ||
|label7 | |label7 = Active | ||
|data7 | |data7 = {{#if: {{{founded|}}}|{{{founded|}}}–{{{dissolved|}}}|}} | ||
}}[[Category:Groups]] | }}[[Category:Groups]]{{WorldSwitch|mode=MultiCategory|{{{crossworld|1}}}{{{world|}}}{{{sur4subworld|}}}{{{subworld|}}}}}</includeonly><noinclude> | ||
</includeonly><noinclude> | |||
{{Infobox Group | {{Infobox Group | ||
|image = Egg.png | |image = Egg.png | ||
Line 28: | Line 27: | ||
|type = Infobox showcase | |type = Infobox showcase | ||
|purpose = To show off all the fields in this infobox | |purpose = To show off all the fields in this infobox | ||
|world = Survival 3, Survival 4, Survival 5, Creative | |||
|leader = {{Player|Renthedog}} | |leader = {{Player|Renthedog}} | ||
|members = {{Player|Renthedog}},<br>{{Player|Steve}},<br>{{Player|Alex}} | |members = {{Player|Renthedog}},<br>{{Player|Steve}},<br>{{Player|Alex}} | ||
Line 155: | Line 155: | ||
} | } | ||
</templatedata> | </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 |