Шаблон:FrameBox: различия между версиями
Материал из Celadon | Wiki Shiptest
Дополнительные действия
Voiko (обсуждение | вклад) Новая страница: «<includeonly><div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0.2em 1em 0.2em; padding: 1px;"> <div style="background: #{{{color|888}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>[[file:{{{image}}}|left|24px]]'''{{{title}}}'''[[file:{{{image}}}|right|24px]]</center></div> <div style="padding: 1em; background: #{{{color}}}3e">{{{content}}}</div></div></includeonly><noinclude> {{Needs revision |reason = Fix beha...» |
Voiko (обсуждение | вклад) м исправлено древо страниц. |
||
| Строка 66: | Строка 66: | ||
}} | }} | ||
[[ | [[Категория:Шаблоны]] | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Версия от 00:54, 18 сентября 2023
About
Infobox with title and content, intended use in Main Page and Administrators.
Parameter-Usage
| Parameter | Default | Description |
|---|---|---|
| color | 888 | RGB-color of the title-background (anything that would fit behind a '#' like 'BBA0DD' |
| image | Image to be displayed on the left and right of the titlebar | |
| title | Centered text in the title | |
| content | Content to be displayed in the infobox |
Examples
Bare 1
{{FrameBox}}
{{{content}}}
Bare 2
{{FrameBox
|color=
|image=
|title=
|content=
}}
Normal
{{FrameBox
| color = BBA0DD
| image = Generic botanist.png
| title = Departments and Roles
| content = {{pagejobs}}
}}
Нет описания.
| Параметр | Описание | Тип | Статус | |
|---|---|---|---|---|
| color | color | без описания | Строковый (без форматирования) | необязательный |
| image | image | без описания | Имя файла | необязательный |
| title | title | без описания | Строковый (без форматирования) | обязательный |
| content | content | без описания | Содержимое (контент) | обязательный |