Template:Infobox tool/doc: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(just testing)
mNo edit summary
 
Line 13: Line 13:
* <code>releasedate</code> - The date the tool was first released.
* <code>releasedate</code> - The date the tool was first released.
* <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.
* <code>download</code> - The link for the download, if there isn't a github repo.
** 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 ==

Latest revision as of 06:23, 15 June 2023

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.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Stringoptional
imageimage

no description

Fileoptional
captioncaption

no description

Stringoptional
widthwidth

no description

Unknownoptional
creatorcreator

no description

Stringoptional
releasedatereleasedate

no description

Dateoptional
githubgithub

no description

Stringoptional
downloaddownload

no description

Stringoptional