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

Материал из Celadon | Wiki Shiptest
Перейти к навигации Перейти к поиску
(Новая страница: «<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...»)
 
м (исправлено древо страниц.)
Строка 66: Строка 66:
}}
}}


[[Category:Templates]]
[[Категория:Шаблоны]]
<templatedata>
<templatedata>
{
{

Версия от 00:54, 18 сентября 2023

Шаблон:Needs revision

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}}
[[file:{{{image}}}|left|24px]]{{{title}}}[[file:{{{image}}}|right|24px]]
{{{content}}}

Bare 2

{{FrameBox
|color=
|image=
|title=
|content=
}}
[[file:|left|24px]]'[[file:|right|24px]]

Normal

{{FrameBox
| color      = BBA0DD
| image      = Generic botanist.png
| title      = Departments and Roles
| content    = {{pagejobs}}
}}

Нет описания.

[Править данные шаблона]

Параметры шаблона

ПараметрОписаниеТипСтатус
colorcolor

без описания

Строковый (без форматирования)необязательный
imageimage

без описания

Имя файланеобязательный
titletitle

без описания

Строковый (без форматирования)обязательный
contentcontent

без описания

Содержимое (контент)обязательный