ATTENTION! The process of updating WiKi to version Eco 10.x has begun. Those wishing to participate can find out more Information on our ECO Contribution Wiki Discord.
From April 26 to May 12, errors may occur in the Wiki, as we will be carrying out a major update to the information processing modules.

Template:IconFrame

From Eco - English Wiki
Revision as of 21:55, 21 March 2021 by Avaren (talk | contribs) (Fix white space issue)


Usage

{{IconFrame
    |file = WoodenHoe_Icon.png
    |link = Agriculture
    |text = <h3>[[Agriculture]]</h3>
}}

Parameters

First Parameter - File Name - file
File page title for an image.
You can use spaces or underscores. Do not include the "File:" part of the page title.
This uses MediaWiki:Common.css to create An Icon Background and Frame for the file chosen. [Current .iconBlue for the Background]
Second Parameter - Page Name - link
Name of the page you wish to create a link to.
Use spaces instead of underscores, otherwise the underscores will show up in the link text.
Third Parameter - Text Displayed - text
The text you want to be displayed under the Image.
Forth Parameter - Icon Style - iconBlue, iconWhite etc
The background style of the icon, defaults to iconBlue.

Example