“模板:SideBox”的版本间差异

来自osdev
跳到导航 跳到搜索
(创建页面,内容为“<div class="PrettyTextBox" style="float:{{{float|right}}}; clear:{{{clear|right}}}; margin:1em; min-width:{{{min-width|200px}}}; width:{{{width|250px}}}; text-align:{{{text-align|center}}}; {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor}}};|}} {{#if:{{{font-size|}}}|font-size: {{{font-size}}};|}} {{#if:{{{higher|}}}|position:relative; top:-{{{higher}}};|}} {{{style|}}}">{{{1}}}</div><noinclude> The following parameters accept the same values as the HTML "st…”)
 
(没有差异)

2022年5月4日 (三) 02:13的最新版本

{{{1}}}

The following parameters accept the same values as the HTML "style" attribute properties with the same names.

e.g to change
float:{{{float|right}}} define '|float=left'.

Parameters:

The "style" parameter allows any other CSS attributes to be set. One of the previous parameters is preferable to using "style", as it makes the template syntax easier to read. The "higher" parameter positions the box by the given units higher than without the parameter (e.g. higher=1em).

de:Vorlage:SeitlicherKasten