Template:Tilde Infobox: Difference between revisions

Template page
(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 {{{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

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