(→Usage) |
(→Usage) |
||
Line 23: | Line 23: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"name: { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": " | "description": "this tilde's name", | ||
"example": "very cool tilde", | |||
"example": " | |||
"required": true | "required": true | ||
}, | }, | ||
"created": { | "created": { | ||
"label": "Created", | "label": "Created", | ||
"description": " | "description": "when this tilde was created.", | ||
"example": "never", | |||
"type": "date", | "type": "date", | ||
"required": true | "required": true | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": " | "description": "an image to represent this tilde", | ||
" | "example": "File:CoolTilde.midi", | ||
" | "type": "wiki-file-name" | ||
}, | }, | ||
"admins": { | "admins": { | ||
"label": "Admins" | "label": "Admins", | ||
"description": " | "description": "who runs/ran this tilde", | ||
"example": "danny devito", | |||
"type": "string", | "type": "string", | ||
"required": true | |||
}, | |||
"link": { | |||
"label": "Link", | |||
"description": "a link to this tilde", | |||
"example": "https://example.org", | |||
"type": "url", | |||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"description": "lil infobox for tildes", | |||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"created", | "created", | ||
"admins" | "image", | ||
] | "admins", | ||
"link" | |||
], | |||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 22:20, 2 June 2021
[[{{{image}}}|thumb|150px]] | |
Name | {{{name}}} |
Created | {{{created}}} |
Admins | {{{admins}}} |
Link | [{{{link}}} {{{name}}}] |
Usage
todo: move this to it's own page, this is real messy.
{{Tilde Infobox|name=Tilde Name|created=whenever|admins=Guy Standing|link=https://example.com|image=File:ExampleTilde.bmp}}
lil infobox for tildes
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | this tilde's name
| Unknown | required |
Created | created | when this tilde was created.
| Date | required |
Image | image | an image to represent this tilde
| File | optional |
Admins | admins | who runs/ran this tilde
| String | required |
Link | link | a link to this tilde
| URL | required |