Difference between revisions of "Template:Border"

From Moegirlpedia
Jump to: navigation, search
(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=显示...")
 
(the effect)
Line 10: Line 10:
 
*width:you can set the border's width,,the default value is 1px
 
*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(参考[https://zh.wikipedia.org/wiki/%E7%BD%91%E9%A1%B5%E9%A2%9C%E8%89%B2 网页颜色])
 
*color:the default value is #ddd,or you can type in #F3F3F3、Pink etc. value(参考[https://zh.wikipedia.org/wiki/%E7%BD%91%E9%A1%B5%E9%A2%9C%E8%89%B2 网页颜色])
 
== the effect ==
 
<nowiki>{{border|[[File:白鼠.jpg]]}}</nowiki>
 
:{{border|[[File:白鼠.jpg]]}}
 
<nowiki>{{border|text is here|width=2px|style=dotted |color=red}}</nowiki>
 
:{{border|text is here|width=2px|style=dotted |color=red}}
 

Revision as of 09:25, 26 August 2017

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(参考网页颜色