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   = {{{status|Unknown}}}
|data6  = {{Infobox/World link|{{{world|}}}}}
|label7 = Founded
|label7 = [[Status]]
|data7   = {{#if: {{{founded|}}} | {{{founded|}}} {{#if: {{{world|}}}|({{Infobox/World link|{{{world|}}}}})|}} |{{Infobox/World link|{{{world|}}}}} }}
|data7   = {{{status|Unknown}}}
|label8 = Disolved
|label8 = Founded
|data8   = {{#if: {{{dissolved|}}} | {{{dissolved|}}} {{#if: {{{endworld|}}}|({{Infobox/World link|{{{endworld|}}} }})|}}|{{Infobox/World link|{{{endworld|}}}}} }}
|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": "The world on which the group was disolved. Optional. Use World unless the group was active over multiple worlds.",
"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 or founded. ",
"description": "The world(s) on which the group was active. ",
"example": "Survival 4",
"example": "Survival 4",
"type": "string",
"type": "string",
"suggested": true
"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",
"endworld",
"startworld",
"world"
"endworld"
],
],
"format": "block"
"format": "block"

Revision as of 13:54, 12 January 2021

Infobox Group
Egg.png

Test

Group
Type Infobox showcase
Purpose To show off all the fields in this infobox
Leader 20.png Renthedog
Members 20.png Renthedog,
20.png Steve,
20.png 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.

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 12 January 2021, at 13:54. (3 months ago)
Background Takeshi by Edo