Template:Tilde Infobox: Difference between revisions

Template page
(add location param)
(update templatedata)
Line 70: Line 70:
"required": true
"required": true
},
},
                "irc": {
"irc": {
                      "label": "IRC",
"label": "IRC",
                      "description": "a name of irc channel on tilde.chat",
"description": "a name of irc channel on tilde.chat",
                      "example": "#meta",
"example": "#meta",
                      "type": "string",
"type": "string",
                      "suggested": true
"suggested": true
                }
},
"location": {
"label": "Location",
"description": "where this tilde is hosted",
"example": "detroit",
"type": "string",
"suggested": true
}
},
},
"description": "lil infobox for tildes",
"description": "lil infobox for tildes",
Line 85: Line 92:
"admins",
"admins",
"link",
"link",
                "irc"
"irc",
"location"
],
],
"format": "inline"
"format": "inline"

Revision as of 20:18, 3 June 2021

This is the "Tilde Infobox" template.

It should be called in the following format:

{{Tilde Infobox
|name=
|link=
|admins=
|location=
|created=
|irc=
|image=
}}

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename

this tilde's name

Example
very cool tilde
Unknownrequired
Createdcreated

when this tilde was created.

Example
never
Daterequired
Imageimage

an image to represent this tilde

Example
File:CoolTilde.midi
Filesuggested
Adminsadmins

who runs/ran this tilde

Example
danny devito
Stringsuggested
Linklink

a link to this tilde

Example
https://example.org
URLrequired
IRCirc

a name of irc channel on tilde.chat

Example
#meta
Stringsuggested
Locationlocation

where this tilde is hosted

Example
detroit
Stringsuggested