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 "Help:Infoboxes"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
No change in size ,  01:58, 29 October 2018
m
Text replacement - "InfoBox" to "Infobox"
m (Text replacement - "VehicleInfoBox" to "Infobox vehicle")
m (Text replacement - "InfoBox" to "Infobox")
Line 6: Line 6:
Our info box start off with 5 areas to be used, plus the ability to add more. For example:  
Our info box start off with 5 areas to be used, plus the ability to add more. For example:  
<pre>
<pre>
{{InfoBoxBegin
{{InfoboxBegin
| class = {{{cass|}}} Fruit  
| class = {{{cass|}}} Fruit  
| title = Fruits
| title = Fruits
Line 26: Line 26:
}}
}}
{{!-}}
{{!-}}
{{!}} {{InfoBoxEntry
{{!}} {{InfoboxEntry
| colors = Wiki
| colors = Wiki
| InfoName = Pie?
| InfoName = Pie?
| InfoDetails = {{{pie}}}
| InfoDetails = {{{pie}}}
}}
}}
<!-- {{InfoBoxEntry}} -->
<!-- {{InfoboxEntry}} -->
{{!-}}
{{!-}}
{{!}} {{InfoBoxEnd
{{!}} {{InfoboxEnd
| name = WkiInfoBox
| name = WkiInfobox
| colors = Wiki
| colors = Wiki
}} {{tableend}}
}} {{tableend}}
Line 40: Line 40:


comes out looking like:  
comes out looking like:  
{{InfoBoxBegin
{{InfoboxBegin
| class = {{{cass|}}} Fruit  
| class = {{{cass|}}} Fruit  
| title = Fruits
| title = Fruits
Line 60: Line 60:
}}
}}
{{!-}}
{{!-}}
{{!}} {{InfoBoxEntry
{{!}} {{InfoboxEntry
| colors = Wiki
| colors = Wiki
| InfoName = Pie?
| InfoName = Pie?
| InfoDetails = {{{pie}}}
| InfoDetails = {{{pie}}}
}}
}}
<!-- {{InfoBoxEntry}} -->
<!-- {{InfoboxEntry}} -->
{{!-}}
{{!-}}
{{!}} {{InfoBoxEnd
{{!}} {{InfoboxEnd
| name = WkiInfoBox
| name = WkiInfobox
| colors = Wiki
| colors = Wiki
}} {{tableend}}
}} {{tableend}}


Each row in the table has 2 cells: Info#name and Info#details, where # is the row number. [[Template:InfoBoxBegin]] has room for 5 rows, and [[Template:InfoBoxEntry]] can dynamically add a row for each time it's used. [[Template:InfoBoxBegin]] and [[Template:InfoBoxEnd ]] complete the box with all the needed info.  
Each row in the table has 2 cells: Info#name and Info#details, where # is the row number. [[Template:InfoboxBegin]] has room for 5 rows, and [[Template:InfoboxEntry]] can dynamically add a row for each time it's used. [[Template:InfoboxBegin]] and [[Template:InfoboxEnd ]] complete the box with all the needed info.  


== Parameters ==
== Parameters ==
Line 85: Line 85:


<pre>
<pre>
{{InfoBoxBegin
{{InfoboxBegin
| class = {{{cass|}}} Character color5  
| class = {{{cass|}}} Character color5  
| title = Characters
| title = Characters
Line 107: Line 107:
{{!-}}
{{!-}}
{{!}} {{#if: {{{alias|}}} |  
{{!}} {{#if: {{{alias|}}} |  
{{InfoBoxEntry
{{InfoboxEntry
| colors = Character
| colors = Character
| InfoName = Alais
| InfoName = Alais
Line 114: Line 114:
| }}
| }}
{{!-}}
{{!-}}
{{!}} {{InfoBoxEntry
{{!}} {{InfoboxEntry
| colors = Character
| colors = Character
| InfoName = Teams
| InfoName = Teams
Line 120: Line 120:
}}
}}
{{!-}}
{{!-}}
{{!}} {{InfoBoxEnd
{{!}} {{InfoboxEnd
| name = Infobox character  
| name = Infobox character  
| colors = Character
| colors = Character
Line 138: Line 138:




{{doc}}{{auto-cat2|InfoBox Usage Templates|Character Templates}}</noinclude>
{{doc}}{{auto-cat2|Infobox Usage Templates|Character Templates}}</noinclude>
and came out like this  
and came out like this  
{{InfoBoxBegin
{{InfoboxBegin
| class = {{{cass|}}} Character color5  
| class = {{{cass|}}} Character color5  
| title = Characters
| title = Characters
Line 162: Line 162:
{{!-}}
{{!-}}
{{!}} {{#if: {{{alias|}}} |  
{{!}} {{#if: {{{alias|}}} |  
{{InfoBoxEntry
{{InfoboxEntry
| colors = Character
| colors = Character
| InfoName = Alais
| InfoName = Alais
Line 169: Line 169:
| }}
| }}
{{!-}}
{{!-}}
{{!}} {{InfoBoxEntry
{{!}} {{InfoboxEntry
| colors = Character
| colors = Character
| InfoName = Teams
| InfoName = Teams
Line 175: Line 175:
}}
}}
{{!-}}
{{!-}}
{{!}} {{InfoBoxEnd
{{!}} {{InfoboxEnd
| name = Infobox character  
| name = Infobox character  
| colors = Character
| colors = Character
8,161

edits

Navigation menu