Файл:Imbox deletion.png Внимание! Начат процесс обновления Wiki до версии игры 10.x. Если у Вас есть желание принять участие, то Вы можете найти больше информации в нашем ECO Contribution Wiki Discord.

Шаблон:IconFrame: различия между версиями

Материал из Eco - Русская Wiki
Перейти к:навигация, поиск
[досмотренная версия][досмотренная версия]
(Новая страница: «==Usage== <pre> {{IconFrame |file = WoodenHoe_Icon.png |link = Agriculture |text = <h3>Agriculture</h3> }} </pre> ===Parameters=== ;First Paramete...»)
 
Строка 19: Строка 19:
;Third Parameter - Text Displayed - text
;Third Parameter - Text Displayed - text
:The text you want to be displayed under the Image.
:The text you want to be displayed under the Image.
 
<noinclude>
===Example===
===Example===
{{IconFrame
{{IconFrame

Версия от 07:53, 27 сентября 2020

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.

Example

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.