Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.

Difference between revisions of "Template:Infobox stage"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
m (Text replacement - "{{cass|" to "{{class|")
Line 1: Line 1:
{{InfoboxBegin
{{Infobox Begin
| class = {{{class|}}} Stage color10  
| class = {{{class|}}} Stage color10 infobox
| border = {{Stage color border}}
| style1 = {{Stage color 1}}
| style2 = {{Stage color 2}}
| title = {{{title|{{PAGENAME}}}}}
| title = {{{title|{{PAGENAME}}}}}
| image = {{{image|}}}
| caption = {{{caption|}}}
| subject = character
| style= {{{style|}}}
| style= {{{style|}}}
| colors = Stage  
| colors = Stage  
| picture = {{{picture|}}}
| picture = {{{picture|}}}
| picture_size = {{{picture_size|}}}
| picture_size = {{{picture_size|}}}
| caption = {{{caption|}}}
}}
| Info1name = Stage type
{{Infobox Table
| Info1details = {{{stage_type|}}}
| class = infobox
| Info2name = Games
| border = {{Stage color border}}
| Info2details = ''{{{games|}}}''
| style1 = {{Stage color 1}}
| style2 = {{Stage color 2}}  
| title = Details
| Info1name = {{#if:{{{stage_type|}}}|Stage type}}
| Info1details = {{#if:{{{stage_type|}}}|<span style="color: black;">{{{stage_type|}}}</span>}}
| Info2name = {{#if:{{{games|}}}|Games}}
| Info2details = {{#if:{{{games|}}}|<span style="color: black;">{{{games|}}}</span>}}
}}
}}
{{!-}}
{{!-}}
{{!}} {{tablebegin}} class="color10 mw-collapsible {{{state|autocollapse}}}"  style = "{{stage-bg-color}}{{stage-border}}" width=100%
{{!}} {{tablebegin}} class="color10 mw-collapsible {{{state|autocollapse}}}"  style = "{{stage-bg-color}}{{Stage color border}}" width=100%
{{!-}}   
{{!-}}   
! style = "{{stage-th-bg-color}}" | Music  
! style = "{{Stage color 2}}" | Music  
{{!-}}
{{!-}}
{{!}} style = "{{stage-td-bg-color}}" | {{#if: {{{filename|}}} | {{Listen|filename    = {{{filename}}}|title        = {{{title}}}|description  = {{{description}}}}}| No music provided }}  
{{!}} style = "{{Stage color 1}}" | {{#if: {{{filename|}}} | {{Listen|filename    = {{{filename}}}|title        = {{{title}}}|description  = {{{description}}}}}| No music provided }}  
{{tableend}}
{{tableend}}
{{!-}}  
{{!-}}  
{{#ifeq: {{{sf64}}} | true |
{{#ifeq: {{{sf64}}} | true |
{{!}}  
{{!}}  
{{tablebegin}} class="color10 mw-collapsible {{{state|autocollapse}}}" style="{{stage-bg-color}}{{stage-border}}" border=1 width=100%
{{tablebegin}} class="color10 mw-collapsible {{{state|autocollapse}}}" style="{{stage-bg-color}}{{Stage color border}}" width=100%
{{!-}}  
{{!-}}  
! colspan=4 style="{{stage-th-bg-color}}"  {{!}} Star Fox 64 info
! colspan=4 style="{{Stage color 2}} "  {{!}} Star Fox 64 info
{{!-}}
{{!-}}
! colspan=2 {{!}} Bronze Medal  
! colspan=2 {{!}} Bronze Medal  
Line 38: Line 50:
{{!}} colspan=2 {{!}} [[{{{vehicle}}}]]
{{!}} colspan=2 {{!}} [[{{{vehicle}}}]]
{{!-}}
{{!-}}
! colspan=4 style="{{stage-th-bg-color}}" {{!}} Navigation info
! colspan=4 style="{{Stage color 2}}" {{!}} Navigation info
{{!-}}
{{!-}}
{{!}} {{#if: {{{prev_2|}}} | | rowspan="2" }}  {{!}} {{#if: {{{prev_1|}}} | <-- {{{prev_1|}}} | First One }}
{{!}} {{#if: {{{prev_2|}}} | | rowspan="2" }}  {{!}} {{#if: {{{prev_1|}}} | <-- {{{prev_1|}}} | First One }}
Line 52: Line 64:
{{#ifeq: {{{sf:a}}} | true |
{{#ifeq: {{{sf:a}}} | true |
{{!}}
{{!}}
{{tablebegin}} class="color10 mw-collapsible {{{state|autocollapse}}}" style="{{stage-bg-color}}{{stage-border}}" border=1 width=100%
{{tablebegin}} class="color10 mw-collapsible {{{state|autocollapse}}}" style="{{stage-bg-color}}{{Stage color border}}" width=100%
{{!-}}  
{{!-}}  
! colspan=4 style="{{stage-th-bg-color}}"  {{!}} Star Fox: Assault info
! colspan=4 style="{{Stage color 2}}"  {{!}} Star Fox: Assault info
{{!-}}
{{!-}}
! colspan=2 {{!}}  Bronze Medal  
! colspan=2 {{!}}  Bronze Medal  
Line 65: Line 77:
{{!}} colspan=2 {{!}} {{{medal3}}}
{{!}} colspan=2 {{!}} {{{medal3}}}
{{!-}}
{{!-}}
! colspan=4 style="{{stage-th-bg-color}}" {{!}} Navigation info
! colspan=4 style="{{Stage color 2}}" {{!}} Navigation info
{{!-}}
{{!-}}
{{!}} <-- {{{prev}}}
{{!}} <-- {{{prev}}}
Line 90: Line 102:
| icaruspedia-pagename = {{{icaruspedia-pagename|}}}
| icaruspedia-pagename = {{{icaruspedia-pagename|}}}
}}
}}
{{!-}}
{{Infobox End
{{!}} {{InfoboxEnd
| class = color10
| class = color10
| border = {{Stage color border}}
| style1 = {{Stage color 1}}
| style2 = {{Stage color 2}}
| name = Infobox stage  
| name = Infobox stage  
| colors = Stage
| colors = Stage
}}
}}<noinclude>{{clear}}{{doc}}{{auto-cat2|Infobox Templates|Stage Templates}}</noinclude>
{{tableend}}<noinclude>{{clear}}{{doc}}{{auto-cat2|Infobox Templates|Stage Templates}}</noinclude>

Revision as of 02:37, 10 January 2019

Infobox stage
Needed.png

Have an image of this character? Why not upload it?
Details
Music
No music provided
Name Infobox stage
Link {{Infobox stage}}
Info An infobox with basic information on a stage. See Infoboxes for more info.
Peppy Hare SF0 headshot icon.png Peppy Hare: "Falco, this template's documentation needs to be improved to meet LW:TS."
Falco Lombardi: "Why are you asking me? Isn't that Slippy's job?"
.....
"Fine. I'll do it."
Falco Lombardi SF0 headshot icon.png

Purpose

Usage

Parameters

Name Description Value information
name name of the character
class special css class
style custom style
picture have a picture? upload it, and then post it here.
caption caption for character
stage_type is it a planet?
filename the name of this stage's music file
  • does not show up if no_music is true
title the title of this stage's music file
  • does not show up if no_music is true
description any additional of this stage's music file
  • does not show up if no_music is true
no_music if there is no music for a stage
sf64 if true, adds a table that details information
medal
  • does not show up if sf64 is false or not given
vehicle what vehicles appear in this stage?
  • does not show up if sf64 is false or not given
prev_1 what stage do you come from if you do not meet specific conditions
  • does not show up if sf64 is false or not given
next_1 what stage do you got to if you do not meet specific conditions
  • does not show up if sf64 is false or not given
prev_2 what stage do you come from if you meet specific conditions
  • does not show up if sf64 is false or not given
next_2 what stage do you go to if you meet specific conditions
  • does not show up if sf64 is false or not given

Notes:

  1. Required parameters are in bold, followed by explanation of usage. Italicized parameters have a related behavior change, when a certain value is inserted.
  2. For if anything happens because a specific related value is not entered.

Example

{{Infobox stage
| name = 
| image = 
| caption = 
| stage_type = 

| filename = 
| title = 
| description = <!-- change to fit information of your file -->
* Title : 
* Game : 
* File retrieved from [http://www.arwinglanding.net/music/index.php?page=sfmusic] as a MP3
* File converted to OGG with [http://audacity.sourceforge.net/]

| sf64 = true
| medal = 
| vehicle = 
| prev_1 =
| next_1 = 
| prev_2 = 
| next_2 = 
}}

Template:Auto-cat2