Template:Infobox/Documentation: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m
Fixing two different uses of "type"
m (Fixing two different uses of "type")
Line 8: Line 8:
All available parameters:
All available parameters:
{{Float|left}}<pre>
{{Float|left}}<pre>
{{Infobox|type
{{Infobox|class
| name =  
| name =  
| logo =  
| logo =  
Line 228: Line 228:
}}
}}
</pre>{{Float|end}}
</pre>{{Float|end}}
{{Usage/Param|type|This defines the color of the title. See below for available types.|optional}}
{{Usage/Param|class|This defines the color of the title. See below for available classes.|optional}}
{{Usage/Param|name|This is only necessary if the title of the Infobox should be different from the title of the article. Examples include shortening game titles to their subtitles and removing parenthetical specifications (e.g. [[Hyrule Castle (Twilight Princess)]] has <nowiki>name=Hyrule Castle</nowiki>).|optional|article title}}
{{Usage/Param|name|This is only necessary if the title of the Infobox should be different from the title of the article. Examples include shortening game titles to their subtitles and removing parenthetical specifications (e.g. [[Hyrule Castle (Twilight Princess)]] has <nowiki>name=Hyrule Castle</nowiki>).|optional|article title}}
{{Usage/Param|boxart|Used only for games and consoles, this overrides the <code>image</code> parameter.}}
{{Usage/Param|boxart|Used only for games and consoles, this overrides the <code>image</code> parameter.}}
Line 1,074: Line 1,074:
}}
}}


==Types and Colors==
==Classes and Colors==
Common types of Infobox are associated with certain colors, as follows:
Common classes of Infobox are associated with certain colors, as follows:
{| class="wikitable"
{| class="wikitable"
! Types !! Color
! Class !! Color
|-
|-
| [default] || {{Infobox|name=Default|walkthrough=example}}
| [default] || {{Infobox|name=Default|walkthrough=example}}

Navigation menu