(make admins optional) |
(Added irc to template) |
||
Line 15: | Line 15: | ||
|Link | |Link | ||
|[{{{link}}} {{{name}}}] | |[{{{link}}} {{{name}}}] | ||
|- | |||
|IRC | |||
|{{{irc}}} | |||
|} | |} | ||
Line 20: | Line 23: | ||
== Usage == | == Usage == | ||
todo: move this to its own page, this is real messy. | todo: move this to its own page, this is real messy. | ||
<nowiki>{{Tilde Infobox|name=Tilde Name|created=whenever|admins=Guy Standing|link=https://example.com|image=File:ExampleTilde.bmp}}</nowiki> | <nowiki>{{Tilde Infobox|name=Tilde Name|created=whenever|admins=Guy Standing|link=https://example.com|image=File:ExampleTilde.bmp|irc=#wiki}}</nowiki> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 57: | Line 60: | ||
"type": "url", | "type": "url", | ||
"required": true | "required": true | ||
} | }, | ||
"irc": { | |||
"label": "IRC", | |||
"description": "a name of irc channel on tilde.chat", | |||
"example": "#meta", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | }, | ||
"description": "lil infobox for tildes", | "description": "lil infobox for tildes", | ||
Line 65: | Line 75: | ||
"image", | "image", | ||
"admins", | "admins", | ||
"link" | "link", | ||
"irc" | |||
], | ], | ||
"format": "inline" | "format": "inline" |
Revision as of 11:44, 3 June 2021
Name | {{{name}}} |
Created | {{{created}}} |
Link | [{{{link}}} {{{name}}}] |
IRC | {{{irc}}} |
Usage
todo: move this to its own page, this is real messy.
{{Tilde Infobox|name=Tilde Name|created=whenever|admins=Guy Standing|link=https://example.com|image=File:ExampleTilde.bmp|irc=#wiki}}
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 | suggested |
Admins | admins | who runs/ran this tilde
| String | suggested |
Link | link | a link to this tilde
| URL | required |
IRC | irc | a name of irc channel on tilde.chat
| String | suggested |