个人工具

模板:Anno

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
 
<includeonly><div class="block" style="background-color: #eef7fb; color: #333333;">
 
<includeonly><div class="block" style="background-color: #eef7fb; color: #333333;">
<div class="blockContent" style="{{{textstyle|}}}">
+
<div class="blockContent" style="width: calc(100% - {{{indent|0}}}em); margin-left: {{{indent|0}}}em; {{{textstyle|}}}">
 
{{{1|{{{text|}}}}}}</div></div></includeonly><noinclude>[[category:模板]]
 
{{{1|{{{text|}}}}}}</div></div></includeonly><noinclude>[[category:模板]]
 
生成一段注解文字,这段文字被包含在一个虚线框内。
 
生成一段注解文字,这段文字被包含在一个虚线框内。
第10行: 第10行:
 
{{block|textstyle|
 
{{block|textstyle|
 
正文区追加的css样式,可自定义
 
正文区追加的css样式,可自定义
 +
}}
 +
 +
{{block|indent|
 +
这个区块的缩进尺寸,单位是em。填写1即等于缩进1em。
 +
*默认为0
 
}}
 
}}
  

在2018年3月29日 (四) 10:08所做的修订版本

生成一段注解文字,这段文字被包含在一个虚线框内。

1 或 text

这段文字的具体内容

textstyle

正文区追加的css样式,可自定义

indent

这个区块的缩进尺寸,单位是em。填写1即等于缩进1em。

  • 默认为0
{{anno|
注解文本内容……
}}