Template:Tilde Infobox: Difference between revisions

Template page
(add to templatedata)
No edit summary
Line 3: Line 3:
{{#cargo_declare:_table=Tildes|name=String|link=URL|admins=List (,) of String|location=String|created=Date|description=String|irc=List (,) of String|image=File}}
{{#cargo_declare:_table=Tildes|name=String|link=URL|admins=List (,) of String|location=String|created=Date|description=String|irc=List (,) of String|image=File}}
</noinclude><includeonly>{{#cargo_store:_table=Tildes}}
</noinclude><includeonly>{{#cargo_store:_table=Tildes}}
{| class="wikitable" style="float:right; margin-left: 10px;"
{| class="wikitable" style="float:right; margin-left: 10px; width: 30%;"
{{#if:{{{image|}}}|{{!}} colspan=2{{!}}[[{{{image}}}{{!}}thumb{{!}}150px]]}}
{{#if:{{{image|}}}|{{!}} colspan=2{{!}}[[{{{image}}}{{!}}thumb{{!}}150px]]}}
|-
|-
|colspan=2 | {{{name}}}
|colspan="2"|{{{name}}}
|-
|-
{{#if:{{{description|}}}|{{!}}}}
{{#if:{{{description|}}}|{{!}}}}
{{#if:{{{description|}}}|colspan=2{{!}}{{{description}}}}}
{{#if:{{{description|}}}|colspan="2"{{!}}{{{description}}}}}
|-
|-
|Created
|Created

Revision as of 22:00, 3 June 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=
}}

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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename

this tilde's name

Example
very cool tilde
Unknownrequired
Descriptiondescription

a short summary of this tilde

Example
this is my really cool tilde that i made :))
Unknownsuggested
Createdcreated

when this tilde was created.

Example
never
Daterequired
Locationlocation

where this tilde is hosted

Example
detroit
Stringsuggested
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