Navigation menu

User:Twentytwofiftyseven/Test: Difference between revisions

From Metroid Wiki
(Created page with '__NOTOC__ ----- {| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px s | align="center" colspan="2" {{!}} '''''{{PAGENAME}}''''' |- {{#if:{{{image|}}}| {{!-…')
 
(Blanked the page)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
-----
{|  class="infobox" cellpadding=2 cellspacing=2 align=right width=265px  s
|  align="center" colspan="2" {{!}}  '''''{{PAGENAME}}'''''
|-
{{#if:{{{image|}}}|
{{!-}}
! colspan="2"  {{!}}  {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
{{#if:{{{games|}}}|
{{!-}} valign="top"
! Games
{{!}}  {{{games|}}}
}}
{{#if:{{{location|}}}|
{{!-}} valign="top"
! Location
{{!}}  {{{location|}}}
}}
{{#if:{{{attacks|}}}|
{{!-}} valign="top"
! Attacks
{{!}}  {{{attacks|}}}
}}
{{#if:{{{weaknesses|}}}|
{{!-}} valign="top"
! Weakness(es)
{{!}}  {{{weaknesses|}}}
}}
{{#if:{{{rewards|}}}|
{{!-}} valign="top"
! Rewards
{{!}}  {{{rewards|}}}
}}
|}<noinclude>{{clear}}
==Usage==
To use this template copy the following and fill in the appropriate information.


<pre>{{Boss-infobox
|image=
|caption=
|games=
|location=
|attacks=
|weaknesses=
|rewards=
}}</pre>
[[:Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
-----
{{#vardefine:num|0}}
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; border:1px solid #3b587e; background-color:#1e1528"
| align="center" colspan="2" bgcolor="#3b587e" style="font-family:arial; font-size:13px" {{!}} '''''{{PAGENAME}}'''''
|-
{{#if:{{{image|}}}|
{{!-}}
! colspan="2" {{!}} {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
|- bgcolor="#3b587e" valign="top"
{{#if:{{{race|}}}|
{{!-}} bgcolor="#3b587e" valign="top"
! Race
{{!}} {{{race|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}  valign="top"
{{#if:{{{planet|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Home Planet
{{!}}  {{{planet|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{gender|}}}|
{{!-}}{{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Gender
{{!}} {{{gender|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{games|}}}|
{{!-}}{{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Games
{{!}} {{{games|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{family|}}}|
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Family
{{!}} {{{family|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{voice actor(s)|}}}|
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Voice Actor(s)
{{!}} {{{voice actor(s)|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
|}<includeonly>{{#if:{{{nocat|}}}||[[:Category:People]]}}</includeonly>{{#ifeq:{{NAMESPACE}}|User|--|{{Void}}}}{{#ifeq: {{NAMESPACE}}|User|>|{{Void}}}}<noinclude>
=== Usage ===
This template is used to display a character's vital information.<br>
To add this template to an article copy and paste the following code and then fill in the information (all fields are optional):
<pre>
{{Character
|image =          an image of the character
|caption =        a caption for the image should one be necessary (be brief)
|race =          the physiological race of the character (Human, Chozo, etc.)
|planet =        the planet on which the character was born
|gender =        the gender of the character, if applicable (Male, Female)
|games=          the most recent game the character appeared in
|family =        any family related to the character
|voice actor(s) = voice actors who have played the character
}}
</pre>
'''Blank code (paste onto page):'''
<pre>
{{Character
|image =
|caption =
|race =
|planet =
|gender =
|games=
|family =
|voice actor(s) =
}}
</pre>
[[:Category: Infobox Templates|{{PAGENAME}}]]
</noinclude>
-----
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; border:1px solid #3b587e; background-color:#1e1528"
| align="center" colspan="2" bgcolor="#3b587e" style="font-family:arial; font-size:13px" {{!}} '''''{{{title|{{PAGENAME}}}}}
|-
{{#if:{{{image|}}}{{{caption|}}}|{{!}}align="center" colspan="2" {{!}} {{{image|}}} <br><center>{{{caption}}}</center>
}}{{#if:{{{games|}}}|&nbsp;
{{!}}- bgcolor=#3b587e style="vertical-align: top"
{{!}} '''Game(s)'''
{{!}} {{{games}}}
}}{{#if:{{{habitats|}}}|&nbsp;
{{!}}- style="vertical-align: top"
{{!}} '''Habitat(s)'''
{{!}} {{{habitats}}}
}}{{#if:{{{speciesmimicked|}}}|&nbsp;
{{!}}- bgcolor=#3b587e style="vertical-align: top"
{{!}} '''Species Mimicked'''
{{!}} {{{speciesmimicked}}}
}}{{#if:{{{weaknesses|}}}|&nbsp;
{{!}}- style="vertical-align: top"
{{!}} '''Weakness(es)'''
{{!}} {{{weaknesses}}}
}}{{#if:{{{rewards|}}}|&nbsp;
{{!}}- bgcolor=#3b587e style="vertical-align: top"
{{!}} '''Rewards'''
{{!}} {{{rewards}}}
}}
|}<noinclude>{{clear}}
==Usage==
To use this template copy the following and fill in the appropriate information.
<pre>{{Enemy-infobox
|image=
|caption=
|games=
|habitats=
|speciesmimicked=
|weaknesses=
|rewards=
}}</pre>
[[:Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
-----
<!-- This vardefine thing is what allows the box to alternate between colors correctly. -->
{{#vardefine:num|0}}
{|  class="infobox" cellpadding=2 cellspacing=2 align=right width=265px  style="font-family:  arial, sans-serif;  padding: 4px; margin: 0 0 1em 1em; font-size: 11px; border:1px solid #3b587e;  background-color:#1e1528"
|  align="center" colspan="2" bgcolor="#3b587e" style="font-family:arial;  font-size:13px"  {{!}}  '''''{{PAGENAME}}'''''
|-
{{#if:{{{image|}}}|
{{!-}}
!  colspan="2"  {{!}}  {{{image|}}}}}
|-  bgcolor="#3b587e" valign="top"
{{#if:{{{developer|}}}|
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Developer(s)
{{!}}  {{{developer|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{publisher|}}}|
{{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Publisher
{{!}}  {{{publisher|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{platforms|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Platform(s)
{{!}}  {{{platforms|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{genre|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Released
{{!}}  {{{released|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{genre|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Genre
{{!}}  {{{genre|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{ratings|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Ratings
{{!}}  {{{ratings|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{modes|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Modes
{{!}}  {{{modes|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{media|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Media
{{!}}  {{{media|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|- {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
{{#if:{{{input|}}}|
{{!-}} {{#ifexpr:{{#var:num}}  mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}}
! Input
{{!}}  {{{input|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}}
|}<noinclude>{{clear}}
==Usage==
To use this template copy the following code and fill in the information:
<pre>
{{Game-infobox
|image=
|developer=
|publisher=
|platforms=
|released=
|genre=
|ratings=
|modes=
|media=
|input=
}}
</pre>
[[:Category:Infobox Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:09, 16 March 2010