Wikia

GTA Wiki

Branding timeline

Talk0
9,724pages on
this wiki

Template page

Revision as of 10:31, June 21, 2013 by Dodo8 (Talk | contribs)

center|121x121px|
 
This documentation is imported from Template:Branding timeline/doc

Template loop detected: Template:Doc subpage

Usage

{{documentation subpage}}

OR

{{documentation subpage|[[main page to link to]]}}

Userboxes

When used to document usage of a userbox, it may be preferred to have this template state "userbox"/"userbox page" instead of "template"/"template page" or "user template"/"user template page". If this is preferred, use:

{{userbox documentation subpage}}

OR

{{userbox documentation subpage|[[main userbox page to link to]]}}

Customization of text

To manually change the text of the template, the "text1=your text here" and/or "text2=your other text here" parameters can be specified. "text1=" changes the automatic text on the first line to your own word(s). "text2=" changes the automatic text on the second line to your own word(s). If "text1=" parameter is specified without the "text2=" parameter, both the first and second line of text will be custom based on the text given in the "text1=" parameter.

Example usage:

{{documentation subpage|text1=custom first and second line text}}
{{documentation subpage|text2=custom second line text only}}
{{documentation subpage|text1=custom first line text|text2=custom second line text}}

How it is displayed

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (ie, pages transcluding the "/doc" page), the template will not show. The template page itself (which contains {{Documentation}}) will automatically note that the documentation is transcluded from a subpage.

Functions

In addition to the output message, the template categorizes pages to Category:Template documentation, Category:User documentation, or similar (named after the subject space), but only for documentation pages in namespaces with the subpage feature. It defaults the sort key to the page name without namespace (ie, "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

See also

Template:Documentation/doc/see also


This template:Branding timeline, using template:Branding timeline/aux, shows up to 10 brand images. Every image is embedded in its own HTML-table, and are floated left. The number of images per row is based upon the width of the reader's screen.

The size of the brands in this template are set at a maximum of 121x121 to have consistency, with a white background for optimum presentation. Below each brand are the years it was or has been in use, in bold text, centered atop a grey background.

Note: Per this discussion at WT:NFC, this template should be used with non-free content only if it is directly paired with text discussing the images; and only if there is a significance to each and every image shown, such that it passes NFCC#8, and is not redundant per NFCC#3a. Even when these conditions are met, it may be preferable to use the images inline, rather than in this template.

Parameters

Required

There are two parameters that should be specified after the tranclusion {{Branding timeline:

  • |[image]|[years] – following the pipe symbol " | " (generally located above the Enter key) the brand's image name is specified. Following a second pipe, the years the brand was used should be specified (eg 1980-1991). Repeat this until all the brands are specified. The current limit is 10.

Optional

  • footer – this parameter produces a footer of the timeline if additional detail about the period is absolutely necessary (keep this information in few words and about the brand, not to describe different slogans, for example, which should be described within the article).

Example

Code

{{Branding timeline
|Image:CarersLogo.gif|1901-1920*
|Image:Comic image missing.svg|1920-1929
|Image:Image-missing.svg|1929-1940
|Image:Placeholder barnstar ribbon.png|1940-1980
|Image:CarersLogo.gif|1980-1996**
|Image:Mineral schema.jpg|1996-present
|footer=*Only chiseled in stone until 1918. **Lighter shade of blue 1989-1993
}}

Result

1901-1920*  
1920-1929  
1929-1940  
Placeholder barnstar ribbon
1940-1980  
1980-1996**  
1996-present  
*Only chiseled in stone until 1918. **Lighter shade of blue 1989-1993

refresh page/purge cache

</div>

Around Wikia's network

Random Wiki