Difference between revisions of "Template:Creature"

From Gamehiker Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; width: 22em; font-size: 95%;"
+
<includeonly>
!colspan=0 style="text-align:center; background-color:{{{bgcolor}}}; width:300px; color:{{{fgcolor}}}; border:{{{border|0}}}px solid;" | <span style="font-size: 120%">{{{name}}}</span>
+
{| class="infobox" style="width: 25em; text-align: left; font-size: 90%" cellspacing="2"
 +
! style="font-size: 110%; background: {{{bgcolour|transparent}}}; text-align: center;" colspan="2" align="right" |
 
|-
 
|-
{{#if:{{{image|}}}|
+
{{#if: {{{image|<noinclude>-</noinclude>}}} |  
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{image}}}
 
{{!}}-
 
{{!}}-
{{!}} align="center" colspan="2" {{!}} {{{image}}}
 
 
}}
 
}}
 +
{{#if: {{{caption|<noinclude>-</noinclude>}}} |
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{caption}}}
 +
{{!}}-
 +
}}
 +
! colspan="2" style="background-color: {{{bgcolor}}}; text-align: center; color:{{{fgcolor}}}; font-size: 110%;" | {{{name}}}
 
|-
 
|-
{{#if:{{{caption|}}}|
+
{{#if: {{{real name|<noinclude>-</noinclude>}}} |
{{!}}- style="text-align: center; font-size: smaller;"
+
! '''Real&nbsp;Name'''
{{!}} align="center" colspan="2" {{!}} {{{caption}}}
+
{{!}} {{{real name}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{origin|<noinclude>-</noinclude>}}} |
 +
! '''Origin'''
 +
{{!}} {{{origin}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{affiliation|<noinclude>-</noinclude>}}} |
 +
! '''Type'''
 +
{{!}} {{{type}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{size|<noinclude>-</noinclude>}}} |
 +
! '''Size'''
 +
{{!}} {{{size}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{debut|<noinclude>-</noinclude>}}} |
 +
! '''Debut'''
 +
{{!}} {{{debut}}}
 +
{{!}}-
 
}}
 
}}
|-
+
|}</includeonly><noinclude>
!colspan=2 style="text-align:center; background-color:{{{bgcolor}}}; width:300px; color:{{{fgcolor}}}; border:{{{border|0}}}px solid;" | <span style="font-size: 115%">'''Information'''</span>
 
|-
 
{{#if:{{{real name|}}}|
 
{{!}}- style="vertical-align: top;"
 
{{!}} {{!}} '''Real name:'''
 
{{!}} {{!}} {{{real name}}}}}
 
|-
 
{{#if:{{{origin|}}}|
 
{{!}}- style="vertical-align: top;"
 
{{!}} {{!}} '''Origin:'''
 
{{!}} {{!}} {{{origin}}}}}
 
|-
 
{{#if:{{{type|}}}|
 
{{!}}- style="vertical-align: top;"
 
{{!}} {{!}} '''Type:'''
 
{{!}} {{!}} {{{type}}}}}
 
|-
 
{{#if:{{{size|}}}|
 
{{!}}- style="vertical-align: top;"
 
{{!}} {{!}} '''Size:'''
 
{{!}} {{!}} {{{size}}}}}
 
|-
 
{{#if:{{{debut|}}}|
 
{{!}}- style="vertical-align: top;"
 
{{!}} {{!}} '''Debut:'''
 
{{!}} {{!}} {{{debut}}}}}
 
  
|}</includeonly><noinclude>
+
== Usage ==
{| style="float: left; background: transparent;"
+
<div style="width: 40%;"><pre>
|<pre>
 
 
{{Creature
 
{{Creature
 
| name=
 
| name=
Line 55: Line 55:
 
</pre>
 
</pre>
 
|}
 
|}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
</pre></div>
 +
[[Category:Infobox templates|{{PAGENAME}}]]
 +
</noinclude>
 +
 
 +
<includeonly>[[Category: Creatures]]</includeonly>

Revision as of 07:45, 3 April 2007


Usage

{{Creature
| name=
| image=
| bgcolor=
| fgcolor=
| real name=
| origin=
| type=
| size=
| debut=
|}}

|}