Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Pagecover/doc to edit this documentation. (How does this work?) |
Description[]
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.
Template background[]
See Help:Templates for some background on how templates work.
Notes[]
- <image> - The image selected should be close to, if not as large as, 690px (width) by 300px (height). Images smaller than 690 x 300px are stretched to fit, and images larger than 690 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> - 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.
- <subtitle> - This text appears directly below the title line.
- <width> - The horizontal width of the template (in pixels) can be set with this parameter. Setting this parameter also changes the size of the image used in the template. By default, the normal width is 690px.
- <height> - The vertical width of the template (in pixels) can be set with this parameter. Note that changing this setting will not change the size of the image used in the template, so if the height is set too large there may be empty space at the bottom of the template. Height is set to 300px by default.
- <offset> - The image used within the template can be moved "up" by filling this parameter (in pixels). Use the preview button to check the offset before publishing, as setting the offset too high might show an empty space below the image.
Attribution and Credit[]
This template is originally 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. The original source template has been modified and adapted to The Sims Wiki; the template's revision history and list of contributors is available here.
- The text of this template is licensed under the Creative Commons Attribution-ShareAlike 3.0 (CC-by-SA) license. Please review the CC-by-SA license text for more information.
Syntax[]
{{Pagecover |image = |name = |subtitle = |offset = }}
Samples[]
{{Pagecover }} {{Pagecover |image = me-dark_magic-1.png |name = Dark Magic 2016 Event |subtitle = 'April 1, 2016 - April 11, 2016' }} {{Pagecover |image = update-68-app_splash.png |subtitle = '{{LTE|ENCANTO|N|X}}' }}
Results in...