Template:Border

From Moegirlpedia
Revision as of 16:01, 25 August 2017 by 月見空 (talk | contribs) (Created page with "This mould can be use to add a border next to a picture or a sentence. == Instruction == ;Paramaters <nowiki>{{border|</nowiki>text or picture(necessity)|display=显示...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This mould can be use to add a border next to a picture or a sentence.

Instruction

Paramaters
{{border|text or picture(necessity)|display=显示方式 |width=宽度 |style=边框样式 |style2=额外样式 |color=边框颜色 |lh=行高}}


Description
  • display:you can type in inline、block、table etc. value.
  • width:you can set the border's width,,the default value is 1px
  • color:the default value is #ddd,or you can type in #F3F3F3、Pink etc. value(参考网页颜色

the effect

{{border|[[File:白鼠.jpg]]}}
白鼠.jpg
{{border|text is here|width=2px|style=dotted |color=red}}
text is here