Template:Tilde Infobox: Difference between revisions

Template page
(add usage)
(add templatedata)
Line 20: Line 20:
== Usage ==
== Usage ==
  <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}}</nowiki>
<templatedata>
{
"description": "Use this template to provide information about various tildes.",
"format": "inline",
"params": {
"name: {
"label": "Name",
"description": "The name of this tilde.",
"type": "string",
"example": "Very Cool Tilde",
"required": true
},
"created": {
"label": "Created",
"description": "The date the tilde was created.",
"type": "date",
"required": true
},
"link": {
"label": "Link",
"description": "The link to this tilde.",
"type": "URL",
"required": true
},
"image": {
"label": "Image",
"description": "The image to represent this tilde.",
"type": "file",
"required": true
},
"admins": {
"label": "Admins"
"description": "Who owns/owned this tilde."
"type": "string",
"required": true
}
},
"paramOrder": [
"name",
"link",
        "image",
"created",
"admins"
]
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 22:10, 2 June 2021

{{{name}}}
[[{{{image}}}|thumb|150px]]
Name {{{name}}}
Created {{{created}}}
Admins {{{admins}}}
Link [{{{link}}} {{{name}}}]


Usage

{{Tilde Infobox|name=Tilde Name|created=whenever|admins=Guy Standing|link=https://example.com|image=File:ExampleTilde.bmp}}

Syntax error in JSON.