FANDOM



Template documentation (for the above template, sometimes hidden or invisible)

Template:Info

Use

This template adds a large header to a page, incorporating the image and text provided by the editor. The cover can be used in place of an infobox, provided the infobox presents only a limited amount of information.

This template may be adapted to more specific uses over time.

Code

The full code of the template is provided here, for easy copy-and-paste:

{{Pagecover
|image    = 
|name     =
|pagetype =
|subtitle =
|width    =
|toc      =
|
}}
Parameters and functions
  • <Image> · Mandatory - The image selected should be close to, if not as large as, 670px (width) by 300px (height). Images smaller than 670 x 300px are stretched to fit, and images larger than 670 x 300px are cropped. The maximum height of the image may need to be adjusted if large amounts of text are included in the Subtitle parameter.
  • <Name> · Optional - The name shown on the title line of the cover can be changed by filling in this parameter. If the parameter is left empty, the name used defaults to the name of the page the template is used on.
  • <pagetype> · Optional - This text appears right-aligned on the top level of the cover, to the left of any game icons (see below). This field can be filled in to describe the type of article the cover is being used on. If left blank, nothing will appear for this parameter.
  • <subtitle> · Optional - This text appears directly below the title line. The text is a larger font size than the text used for <pagetype>.
  • <width> · Optional - The horizontal width of the template (in pixels) can be set with this parameter. By default, the normal width is 670px.
  • <toc> · Optional - This parameter can be used to create a right-aligned table of contents on the page. By default, the table of contents is left-aligned (note that this has changed from earlier versions of the template - see the change log for details).

Additionally, if the template is being used on a page for game features that span multiple titles, game icons can be included, by appending the appropriate vgcode (as found in Template:Era) to the template. This parameter does not have a name. Presently the template can accommodate up to eight icons.

Samples
{{Pagecover
|image    = Riverview12.jpg
|pagetype = Neighborhood
|name     = Riverview
|subtitle = Along the banks of the Simomon River lies the sleepy town of Riverview. Many have moved to this serene little town to escape the clamor of city life. Will the current residents let the newcomers in on the town’s little secrets or will they do their best to keep their dirt from being unearthed?
|TS3}}

...will produce:

Riverview
Riverview
Neighborhood · Featured in: Template:Eraicon

Along the banks of the Simomon River lies the sleepy town of Riverview. Many have moved to this serene little town to escape the clamor of city life. Will the current residents let the newcomers in on the town’s little secrets or will they do their best to keep their dirt from being unearthed?

{{Pagecover
|name     = Alien abduction
|image    = Alien_Abduction_In_The_Sims_3.jpg
|pagetype = In-game event
|TS1|BO|TS2|TS2C|TS3S}}

...produces:

Attribution and Credit

This template is based off of a series of templates from the Arrested Development Wiki, including: w:c:arresteddevelopment:Template:Appearances, w:c:arresteddevelopment:Template:NewCharacter, and others of a similar design. Revision histories for each of those templates is available on the Arrested Development wiki.

Change log (to track major changes to this template)
  • 9 August 2014 - Template created

Visit Template:Pagecover/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.