We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Document cover

From The Vault - Fallout Wiki
Jump to: navigation, search
Template documentation (for the template shown above, sometimes hidden or invisible)

Template for the cover of documents. Intended for use on pages which transcribe source texts such as design documents.


{{Document cover
|title    =Example title
|subtitle =Example subtitle
|image    =Example.jpg
|footer   =Example footer


RequiredIcon required.png

The document's/cover's title text.

OptionalIcon optional.png
(default: none)

Text to be displayed at the bottom of the box.

OptionalIcon optional.png
(default: none)

Image to be shown in the cover box.

OptionalIcon optional.png
(default: "right")

Position of the cover box on the page; can be set to "left", "right" or "center". For the "left" and "right" options, the article text will float around the cover box.

OptionalIcon optional.png
(default: "240x240px")
image size

Dimensions of image. The default adapts to the box width, with the image's default max width and height being equal to (width-10). Specifying image size overrides this behaviour.

OptionalIcon optional.png
(default: none)

Text to be displayed below the title, but above the image and the footer.

OptionalIcon optional.png
(default: "center")

Alignment for the cover's text; can be set to "left", "right", "center" or "justify".

OptionalIcon optional.png
(default: "250px")

Width of the box in px. This also influences the default width of the image; see image size above for details.


{{Document cover
|title    =
|subtitle =
|image    =
|footer   =


The Amazing Documentation
A work in three acts
Vault Boy.png
Pretty boring, bring a pillow.
{{Document cover
|title    =The Amazing Documentation
|subtitle =A work in three acts
|image    =Vault Boy.png
|footer   =Pretty boring, bring a pillow.
Documentation transcluded from Template:Document cover/doc.