Difference between revisions of "Template:Infobox character"

From The Lion King Wiki
Jump to: navigation, search
(Created page with '<includeonly>{| class="infobox" style="width:23em; font-size:0.9em; line-height:1.4em; text-align:left;" ! style="text-align:center; font-size:1.4em; line-height:1.3em; backgroun…')
 
 
(15 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|-
 
|-
 
{{#if:{{{Img|}}}|
 
{{#if:{{{Img|}}}|
{{!}} style="text-align:center;" colspan="2" {{!}} [[Image:{{{Img}}}|{{#ifeq:{{lc:{{{Landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}x200|{{min|220|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}}}px|{{{Img_capt|}}}]]<br /><div><small>{{{Img_capt|}}}</small></div>
+
{{!}} style="text-align:center;" colspan="2" {{!}} [[File:{{{Img|}}}|frameless|center|220px||caption]]
{{!}}-
+
<div><small>{{{Img_capt|}}}</small></div>
}}
+
{{#if:{{{First_appearance|}}}|
+
! style="white-space:nowrap;" {{!}} First appearance
+
{{!}} {{{First_appearance}}}
+
{{!}}-
+
}}
+
{{#if:{{{Portrayed_by|}}}|
+
! style="white-space:nowrap;" {{!}} Portrayed by
+
{{!}} {{{Portrayed_by}}}
+
{{!}}-
+
}}
+
{{#if:{{{Img|}}}|
+
! style="text-align:center; line-height:1.5em; background:#b0c4de;" colspan="2" {{!}} Information
+
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 23: Line 10:
 
! style="white-space:nowrap;" {{!}} Nickname(s)
 
! style="white-space:nowrap;" {{!}} Nickname(s)
 
{{!}} {{{Nicknames}}}
 
{{!}} {{{Nicknames}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Meaning|}}}|
 +
! style="white-space:nowrap;" {{!}} Meaning
 +
{{!}} {{{Meaning}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 35: Line 27:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Family|}}}|
+
{{#if:{{{Close_Relations|}}}|
! style="white-space:nowrap;" {{!}} Family
+
! style="white-space:nowrap;" {{!}} Close Relations
{{!}} {{{Family}}}
+
{{!}} {{{Close_Relations}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|}</includeonly><noinclude>All fields are optional.
+
{{#if:{{{Close_relations|}}}|
<pre>{{Infobox Character
+
! style="white-space:nowrap;" {{!}} Close relations
| Img                =
+
{{!}} {{{Close_relations}}}
| Img_capt            =
+
{{!}}-
| Img_size            =
+
}}
| First_appearance    =  
+
{{#if:{{{Img|}}}|
| Portrayed_by        =  
+
! style="text-align:center; line-height:1.5em; background:#ffb92e;" colspan="2" {{!}} Information
| Nicknames          =  
+
{{!}}-
| Species            =  
+
}}
| Gender              =  
+
{{#if:{{{Appearances|}}}|
| Family              =  
+
! style="white-space:nowrap;" {{!}} Appearances
 +
{{!}} {{{Appearances}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Voice_Actors|}}}|
 +
! style="white-space:nowrap;" {{!}} Voice Actor(s)
 +
{{!}} {{{Voice_Actors}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Voice_actors|}}}|
 +
! style="white-space:nowrap;" {{!}} Voice actor(s)
 +
{{!}} {{{Voice_actors}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Named_By|}}}|
 +
! style="white-space:nowrap;" {{!}} Named by
 +
{{!}} {{{Named_By}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Named_by|}}}|
 +
! style="white-space:nowrap;" {{!}} Named by
 +
{{!}} {{{Named_by}}}
 +
{{!}}-
 
}}
 
}}
</pre></noinclude>
+
|}</includeonly><noinclude>
 +
{{/doc}}
 +
[[Category:Infobox templates|C]]</noinclude>

Latest revision as of 14:31, 3 April 2011

Template-info.png Documentation

All fields are optional.

{{Infobox character
| Img = 
| Img_capt = 
| Nicknames = 
| Meaning = 
| Species = 
| Gender =
| Close_relations = 
| Appearances = 
| Voice_actors = 
| Named_by = 
}}

The above documentation is transcluded from Template:Infobox character/doc. (edit | history)