Template
Infobox Group
From Dogcraft Wiki
m (Added: Founded, Disolved, Startworld, Endworld) |
m (Template data p1) |
||
Line 23: | Line 23: | ||
|data6 = {{{status|Unknown}}} | |data6 = {{{status|Unknown}}} | ||
|label7 = Founded | |label7 = Founded | ||
|data7 = {{founded|}} {{#if: {{startworld|}}|({{startworld|}}|}} | |data7 = {{{founded|}}} {{#if: {{startworld|}}|({{{startworld|}}}|}} | ||
|label7 = Disolved | |label7 = Disolved | ||
|data7 = {{disolved|}} {{#if: {{endworld|}}|({{endworld|}}|}} | |data7 = {{{disolved|}}} {{#if: {{{endworld|}}}|({{{endworld|}}}|}} | ||
}} | }} | ||
Line 48: | Line 48: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"title": { | |||
"label": "Header", | |||
"description": "Infobox header, for use when it should be different from the pagename.", | |||
"type": "string", | |||
"autovalue": "{{subst:PAGENAME}}" | |||
}, | |||
"image": { | |||
"aliases": [ | |||
"picture", | |||
"file", | |||
"img" | |||
], | |||
"label": "Image", | |||
"description": "The name of an image (without \"File:\") to display at the top of the infobox.", | |||
"example": "Examplet.png", | |||
"type": "wiki-file-name", | |||
"autovalue": "", | |||
"required": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Description of the Image parameter", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"type": {}, | |||
"purpose": { | |||
"label": "Purpose", | |||
"description": "The purpose or aim of the group.", | |||
"example": "Collecting snowlayers", | |||
"type": "string" | |||
}, | |||
"leader": { | |||
"label": "Leader(s)", | |||
"description": "The leader(s) of the group. Use {{Player|<playername>}}", | |||
"example": "{{Player|Example}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"members": { | |||
"label": "Members", | |||
"description": "Members of the group. Use {{Player|<playername>}}", | |||
"example": "{{Player|Example}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Expects one of the [[Status|status templates]]. Use {{Defunct}} for disbanded groups.groups.", | |||
"example": "{{Active}}", | |||
"type": "wiki-template-name", | |||
"required": true | |||
} | |||
}, | |||
"description": "Infobox template to be used on groups in the community.", | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"type", | |||
"purpose", | |||
"status", | |||
"leader", | |||
"members" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata></noinclude> |
Revision as of 12:50, 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 |
This page was last modified on 12 January 2021, at 12:50. (3 months ago)