Template:Content/Icon/doc

From Vintage Story Wiki
< Template:Content‎ | Icon
Revision as of 20:13, 6 August 2022 by FuzzyBot (talk | contribs) (FuzzyBot moved page Template:Navbox/Icon/doc to Template:Content/Icon/doc without leaving a redirect: Part of translatable page "Template:Navbox")
Description
This template is used only for editing Template:Navbox, to simplify the lists of icons with links.
Syntax
Use within a table row. The template takes two parameters: {{Navbox/Icon|Filename|Target page|Link text}}
Filename, required: The file name for the icon, which will always display at 25px.
Target page, required: The page to which both the icon and the link text will go to when clicked.
Link text, optional: The text that displays for the link text. Defaults to whatever is written as the target page.
Sample output
{{Navbox/Icon|Rawclay blue.png|Clay}} gives...
Template:Navbox/Icon
{{Navbox/Icon|Rawclay blue.png|Clay|Custom name}} gives...
Template:Navbox/Icon