Template

Infobox Group

From Dogcraft Wiki

m (typo)
mNo edit summary
Line 23: Line 23:
|data6  = {{{status|Unknown}}}
|data6  = {{{status|Unknown}}}
|label7  = Founded
|label7  = Founded
|data7  = {{{founded|}}}  {{#if: {{{startworld|}}}|({{Infobox/World link|{{{startworld|}}} }})|}}
|data7  = {{{founded|}}}  {{#if: {{{world|}}}|({{Infobox/World link|{{{world|}}} }})|{{#if: {{{startworld|}}}|({{Infobox/World link|{{{startworld|}}} }})|}} }}
|label7  = Disolved
|label7  = Disolved
|data7  = {{{disolved|}}}  {{#if: {{{endworld|}}}|({{Infobox/World link|{{{endworld|}}} }})|}}
|data7  = {{{disolved|}}}  {{#if: {{{world|}}}|({{Infobox/World link|{{{world|}}} }})|{{#if: {{{endworld|}}}|({{Infobox/World link|{{{endworld|}}} }})|}} }}
}}
}}


Line 114: Line 114:
"example": "Survival 4",
"example": "Survival 4",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"aliases": [
"world"
]
},
},
"disolved": {
"disolved": {

Revision as of 13:14, 12 January 2021


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

Unknownoptional
Purposepurpose

The purpose or aim of the group.

Example
Collecting snowlayers
Stringoptional
Statusstatus

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

Example
{{Active}}
Templaterequired
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
World of Foundingstartworld world

The world on which the group was founded.

Example
Survival 4
Stringsuggested
Dissolveddisolved

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

Dateoptional
World of Dissolutionendworld

The world on which the group was disolved

Example
Survival 7
Stringsuggested
This page was last modified on 12 January 2021, at 13:14. (3 months ago)