Template:IconFrame: Difference between revisions

From Eco - Global Wiki
[unchecked revision][unchecked revision]
(Created page with "<includeonly><div style="border: 5px outset #A9A9A9; background: #DCDCDC; display:inline-block; width: auto; padding: 10px; margin: 10px; text-align: center; vertical-align: m...")
 
No edit summary
Line 47: Line 47:


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
<templatedata>
{
"params": {
"file": {},
"style": {},
"link": {},
"text": {}
}
}
</templatedata></noinclude>

Revision as of 10:08, 12 October 2021


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


No description.

Template parameters

ParameterDescriptionTypeStatus
filefile

no description

Unknownoptional
stylestyle

no description

Unknownoptional
linklink

no description

Unknownoptional
texttext

no description

Unknownoptional