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 (tweak)
Line 9: Line 9:
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
|header1      = Group
|header1      = Group
|label2 = Type
|label2       = Type
|data2   = {{{type|}}}
|data2       = {{{type|}}}
|label3 = Purpose
|label3       = Purpose
|data3   = {{{purpose|}}}
|data3       = {{{purpose|}}}
|label4 = World(s)
|label4       = World(s)
|data4   = {{{world|}}}
|data4       = {{{world|}}}
|label5 = Leader
|label5       = Leader
|data5   = {{{leader|}}}
|data5       = {{{leader|}}}
|label6 = Members
|label6       = Members
|data6   = {{{members|}}}
|data6       = {{{members|}}}
|label7 = Active
|label7       = Active
|data7   = {{#if: {{{founded|}}}|{{{founded|}}}–{{{dissolved|}}}|}}
|data7       = {{#if: {{{founded|}}}|{{{founded|}}}–{{{dissolved|}}}|}}
}}[[Category:Groups]]
}}[[Category:Groups]]
</includeonly><noinclude>
</includeonly><noinclude>
Line 28: Line 28:
|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}}

Revision as of 02:05, 29 June 2022

Infobox Group
Survival 3 Survival 4 Survival 5 Creative
Egg.png
Test
Group
TypeInfobox showcase
PurposeTo show off all the fields in this infobox
World(s)Survival 3, Survival 4, Survival 5, Creative
Leader20.png Renthedog
Members20.png Renthedog,
20.png Steve,
20.png Alex
Active1st 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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Headertitle

Infobox header, for use when it should be different from the pagename.

Auto value
{{subst:PAGENAME}}
Stringoptional
Imageimage picture file img

The name of an image (without "File:") to display at the top of the infobox.

Example
Examplet.png
Auto value
Filerequired
Captioncaption

Description of the Image parameter

Stringsuggested
Typetype

no description

Stringsuggested
Purposepurpose

The purpose or aim of the group.

Example
Collecting snowlayers
Stringsuggested
Statusstatus

Expects one of the [[Status|status templates]]. Use {{Defunct}} for disbanded groups.groups.

Example
{{Active}}
Templaterequired
World(s)world

The world(s) on which the group was active.

Example
Survival 4
Stringrequired
Leader(s)leader

The leader(s) of the group. Use {{Player|<playername>}}

Example
{{Player|Example}}
Stringsuggested
Membersmembers

Members of the group. Use {{Player|<playername>}}

Example
{{Player|Example}}
Stringsuggested
Foundedfounded

The date of the founding of the group.

Dateoptional
Dissolveddissolved

The date of the founding of the group. Leave blank if group is still active.

Dateoptional
Founding Worldstartworld

Includes the world of founding after the date of founding.

Example
Survival 4
Stringoptional
Dissolution Worldendworld

Includes the world of dissulution after the date of dissolution.

Example
Survival 7
Stringoptional
This page was last modified on 29 June 2022, at 02:05. (3 months ago)
Background Takeshi by Edo