(account for stub) |
(let's use the stub template instead) |
||
Line 3: | Line 3: | ||
{{#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)|os (label=OS)|git (label=Git)|tildeverse (label=Tildeverse)|dead (label=Inactive)}} | {{#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)|os (label=OS)|git (label=Git)|tildeverse (label=Tildeverse)|dead (label=Inactive)}} | ||
{{#cargo_declare:_table=Tildes|name=String|link=URL|admins=List (,) of String|location=String|created=Date|description=String|irc=List (,) of String|image=File|os=String|git=URL|tildeverse=Boolean|dead=boolean}} | {{#cargo_declare:_table=Tildes|name=String|link=URL|admins=List (,) of String|location=String|created=Date|description=String|irc=List (,) of String|image=File|os=String|git=URL|tildeverse=Boolean|dead=boolean}} | ||
</noinclude><includeonly>{{#ifeq:{{{stub|}}}|yes| | </noinclude><includeonly>{{#ifeq:{{{stub|}}}|yes|{{stub|tilde}}|[[Category:Known Tildes]]}}{{#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%;" | ||
{{#if:{{{image|}}}|{{!}} colspan=2{{!}}[[{{{image}}}{{!}}thumb{{!}}150px]]}} | {{#if:{{{image|}}}|{{!}} colspan=2{{!}}[[{{{image}}}{{!}}thumb{{!}}150px]]}} |
Revision as of 13:23, 21 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= |os= |git= |tildeverse= |dead= }}
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 |