FANDOM


Unknown
模板文档 (上面的模板,有时可能不可见。) | 什么是模板?[编辑] [刷新]
Description
This template is used to create a small portrait box with rounded corners for character/actor combinations.
Syntax
Type {{Portalportrait|<...>}} somewhere, with parameters as shown below.
Parameters
{{Portalportrait
 | nochar       =
 | bgcolor      =
 | charcolor    =
 | actorcolor   =
 | chararticle  =
 | actorarticle = 
 | character    = 
 | actor        = 
 | image        = 
 | actorvspace  =
}}

These are optional:

 | nochar       =
 | bgcolor      =
 | charcolor    =
 | actorcolor   =
 | chararticle  =
 | actorarticle = 
 | actorvspace  =

nochar= hides the upper character name display (no value needed).
bgcolor= defaults to #888 (gray).
charcolor= defaults to #fff (white).
actorcolor= defaults to #fff (white).
actorvspace= defaults to 100px.

Examples
{{Portalportrait
 | bgcolor      = #840
 | charcolor    = #eb0
 | actorcolor   = #fc0
 | chararticle  = w:c:castle:Richard Castle
 | actorarticle = w:c:castle:Nathan Fillion
 | character    = Richard Castle
 | actor        = Nathan Fillion
}}
Output
Richard Castle
{{Portalportrait
 | bgcolor      = #800
 | charcolor    = #fdd
 | actorcolor   = #faa
 | chararticle  = w:c:trueblood:Sookie Stackhouse
 | actorarticle = w:c:trueblood:Anna Paquin
 | character    = Sookie <small>Stackhouse</small>
 | actor        = Anna Paquin
}}
Sookie Stackhouse
{{Portalportrait
 | bgcolor      = #880
 | actorcolor   = #ffa
 | nochar       =
 | actorarticle = w:c:kungfupanda:Po
 | actor        = Po
}}
 Po
Dependencies
进入 Template:Portalportrait/doc 页面来编辑这个模板的说明文档。(这个说明框是怎么回事?)
修改完毕后,请刷新上面的文本。(为什么?


除了特别提示,社区内容遵循CC-BY-SA 授权许可。