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.
| 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 | Unknown | optional |
| Purpose | purpose | The purpose or aim of the group.
| String | optional |
| Status | status | Expects one of the [[Status|status templates]]. Use {{Defunct}} for disbanded groups.groups.
| Template | 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 |
| World of Founding | startworld | The world on which the group was founded.
| String | suggested |
| Dissolved | disolved | The date of the founding of the group. Leave blank if group is still active. | Date | optional |
| World of Dissolution | endworld | The world on which the group was disolved
| String | suggested |