Template:Infobox

From The C&C Wiki

Inserts the infobox with optional header, image, image caption, footer and allows insertion of arbitrary content.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Headerheader

Infobox header text

Stringsuggested
Imageimage

Infobox image

Page namesuggested
Image captiontagline

The text that appears below the image

Unbalanced wikitextsuggested
Use as page imagepageimage

Whether to use the infobox image as the page image (SEO).

Default
false
Booleansuggested
Image link targettarget

File name or URL to open on clicking the image.

Stringsuggested
Contentcontent

Arbitrary wiki content to display in the infobox body.

Unbalanced wikitextsuggested
Footer contentfooter

Arbitrary wiki content to display in the infobox footer.

Unbalanced wikitextsuggested
Center contentcenter-content

Whether to center the content horizontally.

Default
false
Booleanoptional
Example
{{Infobox
|header=Infobox
|image=Image Wanted.png
|tagline=Image caption ...
|target=Main Page
|content={{Infobox block
  |Infobox section
  |Modification date
}}{{Infobox block
  |Details
}}
Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext 
Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext
|footer=<span class="mw-ui-button mb-3">Arbitrary wikitext</span>
|center-content=true
}}
Result
Infobox
Image Wanted.png
Image caption ...
Infobox section
Modification date
Details

Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext Arbitrary wikitext

Simple
{{Infobox
|header=Infobox
|content=
Please note that all contributions to C&CPedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
}}
Result
Infobox

Please note that all contributions to C&CPedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.

Image with header and footer
{{Infobox
|header={{SITENAME}}
|image=Image Wanted.png
|footer=<span class="mw-ui-button mw-ui-progressive rounded-bottom rounded-top-0 w-100">Donate</span>
|center-content=true
}}
Result
The C&C Wiki
Image Wanted.png
Discord | Twitter