No edit summary |
(Add os and git labels) |
||
Line 1: | Line 1: | ||
<templatestyles src="Tilde Infobox/styles.css" /> | <templatestyles src="Tilde Infobox/styles.css" /> | ||
<noinclude> | <noinclude> | ||
{{#template_params:name (label=Name)|link (label=Link)|admins (label=Admins)|location (label=Location)|created (label=Created)|description (label=Description)|irc (label=IRC)|image (label=Image;namespace=File)}} | {{#template_params:name (label=Name)|link (label=Link)|os (label=OS) |git (label=Git)|admins (label=Admins)|location (label=Location)|created (label=Created)|description (label=Description)|irc (label=IRC)|image (label=Image;namespace=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}} | {{#cargo_declare:_table=Tildes|name=String|link=URL|os=String|git=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 infobox" style="float:right; margin-left: 10px; width: 30%;" | {| class="wikitable infobox" style="float:right; margin-left: 10px; width: 30%;" | ||
Line 19: | Line 19: | ||
|Link | |Link | ||
|[{{{link}}} {{{name}}}] | |[{{{link}}} {{{name}}}] | ||
|- | |||
|OS | |||
|[{{{os}}}] | |||
|- | |||
{{#if:{{{git|}}}|{{!}}Git}} | |||
{{#if:{{{git|}}}|{{!}}{{{git}}}}} | |||
|- | |- | ||
{{#if:{{{irc|}}}|{{!}}IRC}} | {{#if:{{{irc|}}}|{{!}}IRC}} | ||
Line 99: | Line 105: | ||
"description": "is this tilde a member of the tildeverse?", | "description": "is this tilde a member of the tildeverse?", | ||
"type": "boolean" | "type": "boolean" | ||
}, | |||
"Git": { | |||
"aliases": [ | |||
"git" | |||
], | |||
"label": "Git", | |||
"description": "Link to your tildegit organization or tilde sources repo", | |||
"example": "https://tildegit.org/team", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"OS": { | |||
"aliases": [ | |||
"os", | |||
"distro", | |||
"distribution" | |||
], | |||
"label": "OS", | |||
"description": "Your tilde running on", | |||
"example": "FreeBSD, Arch Linux", | |||
"type": "string", | |||
"required": true | |||
} | } | ||
}, | }, | ||
Line 110: | Line 138: | ||
"admins", | "admins", | ||
"link", | "link", | ||
"OS", | |||
"Git", | |||
"irc", | "irc", | ||
"dead", | "dead", |
Revision as of 13:46, 4 June 2021
This is the "Tilde Infobox" template.
It should be called in the following format:
{{Tilde Infobox |name= |link= |os= |git= |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
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 |
OS | OS os distro distribution | Your tilde running on
| String | required |
Git | Git git | Link to your tildegit organization or tilde sources repo
| URL | suggested |
IRC | irc | a name of irc channel on tilde.chat
| String | suggested |
Inactive | dead | is this tilde inactive? | Boolean | optional |
Tildeverse Member | tildeverse | is this tilde a member of the tildeverse? | Boolean | optional |