Template:Pagecover/doc: Difference between revisions

no edit summary
sims>LostInRiverview
mNo edit summary
sims>LostInRiverview
No edit summary
Line 7:
 
;Code
The full code of the template is provided here, for easy copy-and-paste:
<code><pre>
{{Pagecover
Line 14:
|pagetype =
|subtitle =
|toc =
|
}}
Line 23 ⟶ 24:
* <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>.
* <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.
Line 58 ⟶ 60:
;Attribution and Credit
This template is based off of a series of templates from the [[w:c:arresteddevelopment|''Arrested Development Wiki'']], including: [[w:c:arresteddevelopment:Template:Appearances]], [[w:c:arresteddevelopment:Template:NewCharacter]], and others of a similar design.
 
;Change log (to track major changes to this template)
* 4 April 2013 - Template created
* 25 July 2013 - Template can now have a variable (left/right) width. Template also no longer applies right-aligned table of contents, but can be made to display a right-aligned toc if the <toc> template contains 'right'.
Anonymous user