Template:Infobox tool/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Created infobox doc) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
* <code>github</code> - The name of the github repo, if there is one. |
* <code>github</code> - The name of the github repo, if there is one. |
||
** Use '''just the name of the repo''', not the URL, e.g. {{Color|limegreen|theonlyzac/dagviz}}, not {{Color|red|<nowiki>https://github.com/theonlyzac/dagviz</nowiki>}} |
** Use '''just the name of the repo''', not the URL, e.g. {{Color|limegreen|theonlyzac/dagviz}}, not {{Color|red|<nowiki>https://github.com/theonlyzac/dagviz</nowiki>}} |
||
* <code>download</code> - The link for the download, if there isn't a github repo. |
|||
== TemplateData == |
|||
{{TemplateData header}} |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"width": {}, |
|||
"name": { |
|||
"type": "string" |
|||
}, |
|||
"image": { |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"caption": { |
|||
"type": "string" |
|||
}, |
|||
"creator": { |
|||
"type": "string" |
|||
}, |
|||
"releasedate": { |
|||
"type": "date" |
|||
}, |
|||
"github": { |
|||
"type": "string" |
|||
}, |
|||
"download": { |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"description": "An infobox for use on tool articles.", |
|||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"caption", |
|||
"width", |
|||
"creator", |
|||
"releasedate", |
|||
"github", |
|||
"download" |
|||
] |
|||
} |
|||
</templatedata> |
|||
<includeonly> |
<includeonly> |
Latest revision as of 06:23, 15 June 2023
This is a documentation subpage for Template:Infobox tool It contains usage information, categories and other content that is not part of the original template page. |
Use this template to add an Infobox to an article for a modding tool. It automatically adds the article to Category:Tools.
Usage
The template supports the following parameters.
name
- The title above the infobox. Default is the full page name.image
- An image to be displayed in the infobox. Default is {{No image}}.- Use just the name of the image, e.g. File:ITM anticrack firewall.png, not [[File:ITM anticrack firewall]]
caption
- The caption below the image.width
- Width of the image/infobox body. Default is 360px.creator
- The name of the person who created the tool.releasedate
- The date the tool was first released.github
- The name of the github repo, if there is one.- Use just the name of the repo, not the URL, e.g. theonlyzac/dagviz, not https://github.com/theonlyzac/dagviz
download
- The link for the download, if there isn't a github repo.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox tool
An infobox for use on tool articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | optional |
image | image | no description | File | optional |
caption | caption | no description | String | optional |
width | width | no description | Unknown | optional |
creator | creator | no description | String | optional |
releasedate | releasedate | no description | Date | optional |
github | github | no description | String | optional |
download | download | no description | String | optional |