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
(few things fixed)
Line 1: Line 1:
{{InfoBoxBegin  
{{InfoBoxBegin  
| class = {{{class|}}} Stage color10  
| class = {{{class|}}} Stage color10  
| title = {{{title|{{PAGENAME}}}}}
| style= {{{style|}}}
| style= {{{style|}}}
| title = Stages
| colors = Stage  
| colors = Stage  
| picture = {{{picture|}}}
| picture = {{{picture|}}}
| picture_size = {{{picture_size|}}}
| picture_size = {{{picture_size|}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| Info1name = Name
| Info1name = Stage type
| Info1details = {{{name|}}}
| Info1details = {{{stage_type|}}}
| Info2name = [[Stage Type]]
| Info2name = Games
| Info2details = {{{stage_type}}}
| Info2details = ''{{{games|}}}''
| Info3name = [[Games]]
| Info3details = ''{{{games|}}}''
| Info4name = -
| Info4details = -
| Info5name = -
| Info5details = -
}}
}}
{{!-}}
{{!-}}
Line 23: Line 17:
! style = "{{stage-th-bg-color}}" | Music  
! style = "{{stage-th-bg-color}}" | Music  
{{!-}}
{{!-}}
{{!}} style = "{{stage-td-bg-color}}" | {{#if: {{{filename|}}} |  
{{!}} style = "{{stage-td-bg-color}}" | {{#if: {{{filename|}}} | {{Listen|filename    = {{{filename}}}|title        = {{{title}}}|description  = {{{description}}}}}| No music provided }}  
                                                                {{Listen
                                                                  |filename    = {{{filename}}}
                                                                  |title        = {{{title}}}
                                                                  |description  = {{{description}}}
                                                                }}  
                                          | no music given }}  
{{tableend}}
{{tableend}}
{{!-}}  
{{!-}}  
Line 36: Line 24:
{{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-border}}" border=1 width=100%
{{!-}}  
{{!-}}  
! colspan=4 style="{{stage-th-bg-color}}"  {{!}} Star Fox 64 Info
! colspan=4 style="{{stage-th-bg-color}}"  {{!}} Star Fox 64 info
{{!-}}
{{!-}}
! colspan=2 {{!}} Bronze Medal  
! colspan=2 {{!}} Bronze Medal  
Line 47: Line 35:
{{!}} colspan=2 {{!}} {{{SAGold}}}
{{!}} colspan=2 {{!}} {{{SAGold}}}
{{!-}}
{{!-}}
! colspan=2 {{!}} [[Vehicles|Vehicle]]
! colspan=2 {{!}} [[Vehicle]]
{{!}} colspan=2 {{!}} [[{{{vehicle}}}]]
{{!}} colspan=2 {{!}} [[{{{vehicle}}}]]
{{!-}}
{{!-}}
! colspan=4 style="{{stage-th-bg-color}}" {{!}} Navigation Info
! colspan=4 style="{{stage-th-bg-color}}" {{!}} 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 57: Line 45:
{{!-}}
{{!-}}
{{#if: {{{prev_2|}}} |{{!}} <-- {{{prev_2|}}} | }}
{{#if: {{{prev_2|}}} |{{!}} <-- {{{prev_2|}}} | }}
{{!}} colspan=2 {{!}} [[Star_Fox_64#Hidden_Routes|Hidden Route(s)]]
{{!}} colspan=2 {{!}} [[Star Fox 64#Hidden_Routes|Hidden Route(s)]]
{{#if: {{{next_2|}}} |{{!}} {{{next_2|}}} --> | }}
{{#if: {{{next_2|}}} |{{!}} {{{next_2|}}} --> | }}
{{tableend}}
{{tableend}}
Line 66: Line 54:
{{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-border}}" border=1 width=100%
{{!-}}  
{{!-}}  
! colspan=4 style="{{stage-th-bg-color}}"  {{!}} Star Fox: Assault Info
! colspan=4 style="{{stage-th-bg-color}}"  {{!}} Star Fox: Assault info
{{!-}}
{{!-}}
! colspan=2 {{!}}  Bronze Medal  
! colspan=2 {{!}}  Bronze Medal  
Line 77: Line 65:
{{!}} colspan=2 {{!}} {{{medal3}}}
{{!}} colspan=2 {{!}} {{{medal3}}}
{{!-}}
{{!-}}
! colspan=4 style="{{stage-th-bg-color}}" {{!}} Navigation Info
! colspan=4 style="{{stage-th-bg-color}}" {{!}} Navigation info
{{!-}}
{{!-}}
{{!}} <-- {{{prev}}}
{{!}} <-- {{{prev}}}

Revision as of 21:11, 26 September 2018

Template:InfoBoxBegin |-
|

style = "Template:Stage-th-bg-color" | Music
style = "Template:Stage-td-bg-color" | No music provided

|-

|-

|-
Template:InfoBox-External |-
| Template:InfoBoxEnd

|}

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