Difference between revisions of "Template:Species-infobox"

From Marioverse Wiki
Jump to navigationJump to search
m
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
|name        = Species-infobox
|bodystyle    =  


|titlestyle  =  
| align="center" colspan="2" bgcolor="#ff6666" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
|abovestyle  = background:#cfc;
|-
|subheaderstyle =
|align="center" colspan="2" | {{{image|}}}
|title        = Test Infobox
|above        = Above text
|subheader    = Subheader above image
|subheader2  = Second subheader


|imagestyle  =  
|- style="vertical-align: top"
|captionstyle =
{{#if:{{{names|}}}|{{!}}- style="vertical-align:top"
| image      = [[File:Example-serious.jpg|200px|alt=Example alt text]]
{{!}} '''Other Names'''
|caption      = Caption displayed below Example-serious.jpg
{{!}} {{{names}}}
|}}


|headerstyle  = background:#ccf;
|- style="vertical-align: top"
|labelstyle  = background:#ddf;
{{#if:{{{habitat|}}}|{{!}}- style="vertical-align:top"
|datastyle    =
{{!}} '''Habitat'''
{{!}} {{{habitat}}}
|}}


|header1 = Header defined alone
|- style="vertical-align: top"
| label1 =  
{{#if:{{{related_species|}}}|
| data1 =
{{!}} colspan="2" style="padding:0" {{!}}
|header2 =  
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
| label2 = Label defined alone does not display (needs data, or is suppressed)
! style="background:{{{secbg|#ff6666}}}; padding:2px;" {{!}} Related Species
|  data2 =  
{{!}}-
|header3 =
{{!}} style="padding:0 2px;" {{!}} {{{related_species|}}}
| label3 =  
{{!}}}
|  data3 = Data defined alone
|}}
|header4 = All three defined (header, label, data, all with same number)
| label4 = does not display (same number as a header)
|  data4 = does not display (same number as a header)
|header5 =
| label5 = Label and data defined (label)
| data5 = Label and data defined (data)


|belowstyle = background:#ddf;
|- style="vertical-align: top"
|below      = Below text
{{#if:{{{notable|}}}|
}}<noinclude>
{{!}} colspan="2" style="padding:0" {{!}}
Test
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
</noinclude>
! style="background:{{{secbg|#ff6666}}}; padding:2px;" {{!}} Notable members
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{notable}}}
{{!}}}
|}}
 
 
|}</includeonly><noinclude><div style="float:right"><pre>{{species-infobox
|title=
|image=
|habitat=
|related_species=
|notable=
|expand=
}}</pre></div>
*image &ndash;
*title &ndash;
*habitat &ndash;
*related_species &ndash;
*notable &ndash;
*expand &ndash;
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:20, 9 June 2021

{{species-infobox
|title=
|image=
|habitat=
|related_species=
|notable=
|expand=
}}
  • image –
  • title –
  • habitat –
  • related_species –
  • notable –
  • expand –