Template:IconFrame: Difference between revisions
From Eco - English Wiki
[checked revision] | [checked revision] |
(Fix white space issue) |
No edit summary Tag: 2017 source edit |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 34: | Line 34: | ||
===Example=== | ===Example=== | ||
{{IconFrame | {{IconFrame | ||
|file = | |file = WoodenHoeItem_Icon.png | ||
|link = Agriculture | |link = Agriculture | ||
|text = <h3>[[Agriculture]]</h3> | |text = <h3>[[Agriculture]]</h3> | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 07:16, 21 May 2024
Usage[edit source]
{{IconFrame |file = WoodenHoe_Icon.png |link = Agriculture |text = <h3>[[Agriculture]]</h3> }}
Parameters[edit source]
- 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.