FANDOM


(changed category)
(move dependencies up)
 
Line 1: Line 1:
 
;Description
 
;Description
 
:This template is used to create a small portrait box with rounded corners for character/actor combinations.
 
:This template is used to create a small portrait box with rounded corners for character/actor combinations.
  +
;Dependencies
  +
* Requires image: [[:File:Under construction icon.png]]
 
;Syntax
 
;Syntax
 
:Type <code>{{t|Portalportrait|...}}</code> somewhere, with parameters as shown below.
 
:Type <code>{{t|Portalportrait|...}}</code> somewhere, with parameters as shown below.
Line 110: Line 112:
 
}}
 
}}
 
|}
 
|}
+
<includeonly>
;Dependencies
 
* Requires image: [[:File:Under construction icon.png]]<includeonly>
 
 
[[Category:Portal templates|{{PAGENAME}}]]</includeonly><noinclude>
 
[[Category:Portal templates|{{PAGENAME}}]]</includeonly><noinclude>
 
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:24, September 4, 2018

Description
This template is used to create a small portrait box with rounded corners for character/actor combinations.
Dependencies
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
}}
Under construction icon
 Po
Community content is available under CC-BY-SA unless otherwise noted.