Template:Infobox/Startbox/doc: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
Created page with "{{Documentation subpage}} <!-- Please place categories and interwikis where indicated at the bottom of this page --> This template allow the opening of an infobox and to writ..."
 
mNo edit summary
Line 2: Line 2:
<!-- Please place categories and interwikis where indicated at the bottom of this page -->
<!-- Please place categories and interwikis where indicated at the bottom of this page -->


This template allow the opening of an infobox and to write the title inside it. Il shall be accompanied by the {{tl|Infobox/Endbox}} template.
This template allow the opening of an infobox and to write the title inside it. It shall be accompanied by the {{tl|Infobox/Endbox}} template.


== Syntax ==
== Syntax ==

Revision as of 20:20, 7 October 2017

This template allow the opening of an infobox and to write the title inside it. It shall be accompanied by the {{Infobox/Endbox}} template.

Syntax

Basic syntax:

{{Infobox/Starbox}}

Full syntax with all optional parameters:

{{Infobox/Starbox|class=|width=|icon=|background=|color=|border-color=|text=}}

Parameters

All parameters are optional.

Paramèters
Parameter Example Format Purpose Default value
text lorem ipsum infobox title text {{PAGENAME}}
class bordered allows the table pattern with horizontal borders no border
large allow the text to be above a title icon the text doesn't cover the icon
width 20 em infobox width 25em
icon hockey title icon managed through Common.css (list) no default icon
background #003399 hexadecimal or any other standart format title background color #b32425

If the background parameter is present, the following parameters can be used as well:

Paramèters
Parameter Example Format Purpose Default value
color #003399 hexadecimal or any other standart format title text's color Default title color
border-color #003399 hexadecimal or any other standart format infobox's title border color no visible border

Examples

Minimal code (default colors, the default infobox title is the page's title):

Infobox/Startbox/doc

Lorem ipsum

{{Infobox/Startbox}}

Title as parameter:

Foo

Lorem ipsum

{{Infobox/Startbox|text=Foo}}