Template

Infobox Group

From Dogcraft Wiki

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


Line 103: Line 103:
"type": "wiki-template-name",
"type": "wiki-template-name",
"required": true
"required": true
},
"founded": {
"label": "Founded",
"description": "The date of the founding of the group.",
"type": "date"
},
"startworld": {
"label": "World of Founding",
"description": "The world on which the group was founded.",
"example": "Survial 4",
"type": "string",
"suggested": true
},
"disolved": {
"label": "Dissolved",
"description": "The date of the founding of the group. Leave blank if group is still active.",
"type": "date"
},
"endworld": {
"label": "World of Dissolution",
"description": "The world on which the group was disolved",
"example": "Survival 7",
"type": "string",
"suggested": true
}
}
},
},
Line 114: Line 138:
"status",
"status",
"leader",
"leader",
"members"
"members",
"founded",
"startworld",
"disolved",
"endworld"
],
],
"format": "block"
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 13:10, 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

The world on which the group was founded.

Example
Survial 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:10. (19 months ago)