Difference between revisions of "Template:Creature"

From Gamehiker Wiki
Jump to navigation Jump to search
(New page: <includeonly>{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; width: 22em; font-size: 95%;" !colspan=0 style="text-align:center; background-color:{{{bgcolor}}}...)
 
 
(5 intermediate revisions by 2 users not shown)
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: {{{type|<noinclude>-</noinclude>}}} |
 +
! '''Type'''
 +
{{!}} {{{type}}}
 +
{{!}}-
 
}}
 
}}
|-
+
{{#if: {{{size|<noinclude>-</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>
+
! '''Size'''
|-
+
{{!}} {{{size}}}
{{#if:{{{real name|}}}|
+
{{!}}-
{{!}}- style="vertical-align: top;"
+
}}
{{!}} {{!}} '''Real name:'''
+
{{#if: {{{debut|<noinclude>-</noinclude>}}} |
{{!}} {{!}} {{{real name}}}}}
+
! '''Debut'''
|-
+
{{!}} {{{debut}}}
{{#if:{{{origin|}}}|
+
{{!}}-
{{!}}- style="vertical-align: top;"
+
}}
{{!}} {{!}} '''Origin:'''
+
|}</includeonly><noinclude>
{{!}} {{!}} {{{origin}}}}}
 
|-
 
{{#if:{{{type|}}}|
 
{{!}}- style="vertical-align: top;"
 
{{!}} {{!}} '''Type:'''
 
{{!}} {{!}} {{{type}}}}}
 
|-
 
{{#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 45: Line 50:
 
| origin=
 
| origin=
 
| type=
 
| type=
 +
| size=
 
| debut=
 
| debut=
 
|}}
 
|}}
</pre>
+
</pre></div>
|}
+
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
</noinclude>
 +
 
 +
<includeonly>[[Category: Creatures]]</includeonly>

Latest revision as of 13:46, 24 February 2008


Usage[edit]

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