(document the new stub function in templatedata) |
m (preceded and superseded are not default) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
|- | |- | ||
{{#if:{{{irc|}}}|{{!}}IRC}} | {{#if:{{{irc|}}}|{{!}}IRC}} | ||
{{#if:{{{irc|}}}|{{!}}{{{irc}}}}} | {{#if:{{{irc|}}}|{{!}}[https://tilde.chat/kiwi/{{{irc}}} {{{irc}}}]}} | ||
|- | |- | ||
{{#if:{{{location|}}}|{{!}}Location}} | {{#if:{{{location|}}}|{{!}}Location}} | ||
Line 31: | Line 31: | ||
{{#if:{{{os|}}}|{{!}}OS}} | {{#if:{{{os|}}}|{{!}}OS}} | ||
{{#if:{{{os|}}}|{{!}}{{{os}}}}} | {{#if:{{{os|}}}|{{!}}{{{os}}}}} | ||
|- | |||
{{#if:{{{preceded|}}}|{{!}}Preceded by}} | |||
{{#if:{{{preceded|}}}|{{!}}{{{preceded}}}}} | |||
|- | |||
{{#if:{{{preceded|}}}|{{!}}Superseded by}} | |||
{{#if:{{{preceded|}}}|{{!}}{{{superseded}}}}} | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
Line 132: | Line 138: | ||
"description": "an optional parameter to input an optional message for the Stub template", | "description": "an optional parameter to input an optional message for the Stub template", | ||
"type": "string" | "type": "string" | ||
}, | |||
"preceded": { | |||
"label": "Preceded by", | |||
"description": "name of the tilde or service that this one replaced", | |||
"type": "string", | |||
"default": "no" | |||
}, | |||
"superseded": { | |||
"label": "Superseded by", | |||
"description": "name of the tilde or service that replaced this one", | |||
"type": "string", | |||
"default": "no" | |||
} | } | ||
}, | }, | ||
Line 149: | Line 167: | ||
"dead", | "dead", | ||
"stub", | "stub", | ||
"stubmessage" | "stubmessage", | ||
"preceded", | |||
"superseded" | |||
], | ], | ||
"format": "block" | "format": "block" |
Latest revision as of 20:32, 26 December 2021
This is the "Tilde Infobox" template.
It should be called in the following format:
{{Tilde Infobox |name= |link= |admins= |location= |created= |description= |irc= |image= |os= |git= |tildeverse= |dead= |stub= |stubmessage= }}
Edit the page to see the template text.
This template defines the table "Tildes". View table.
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 |
Description | description | a short summary of this tilde
| Unknown | suggested |
Created | created | when this tilde was created.
| Date | required |
Location | location | where this tilde is hosted
| String | suggested |
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 |
Git | git | link to a github/tildegit/other org | URL | optional |
OS | os | the os this tilde runs on
| String | suggested |
IRC | irc | a name of irc channel on tilde.chat
| String | suggested |
Tildeverse | tildeverse | is this one a member of the tildeverse?
| Boolean | suggested |
Inactive | dead | is this tilde dead?
| Boolean | optional |
Stub | stub | is this article about a tilde lacking information?
| Boolean | optional |
Stub Message | stubmessage | an optional parameter to input an optional message for the Stub template | String | optional |
Preceded by | preceded | name of the tilde or service that this one replaced
| String | optional |
Superseded by | superseded | name of the tilde or service that replaced this one
| String | optional |