This series of templates is used to manually show/hide specific strings and to specify strings and button styles in bulk.
'
, "
, <
, >
, \
, /
, |
, do not start with @
at the beginning; otherwise it will be ignored;{{Switch/Button |span1=Switch gifts }}{{Switch|span1| {{bilibiliVideo|id=BV1nC4y147iy|page=1|width=600|height=421|autoplay=yes}}<nowiki/> |span}}Switch giftsSwitch giftsspan1span1
div
: {{Switch/Button |div1=Switch gifts }}{{Switch|div1| {{bilibiliVideo|id=BV1nC4y147iy|page=1|width=600|height=421|autoplay=yes}}<nowiki/> |div}}Switch giftsSwitch gifts
span
: {{Switch/Button |span2=Switch Ruby }}{{Switch|span2| {{颜文字|丘比}}<nowiki/> |span}}
Switch RubySwitch Ruby Template:颜文字
div
: {{Switch/Button |div2=Switch Ruby }}{{Switch|div2| {{颜文字|Ruby}}<nowiki/> |div}}Switch RubySwitch Ruby
|
的格式符号都需要进行替换。=
都需要替换。<nowiki/>
与wikitext之间应换行,否则wikitext会失效。