Template:Infobox Affiliate/doc

From Online Casino Pedia

Jump to: navigation, search


Example Affiliate
Owner Group1
Web Site http://www.example.com/
Contact Info +99 12 123-4567

The following document describes the affiliate infobox, how to use it and any usage tips that may apply. Please follow these guidelines and also check the example affiliate article for more details.

This template should be used on all articles describing an on-line casino affiliates.

Contents

Usage Sample

The following is an example code that is used to generate the infobox on this page (top right):

{{Infobox Affiliate
| name             = Example Affiliate
| logo             = [[File:example_logo.png]]
| owner            = Group1
| website          = http://www.example.com/
| contact_info     = +99 12 123-4567
}}

Usage

Copy a blank version to use. All parameters must be lower case. Some parameter use a space while others use an underscore as shown.

All fields are optional unless marked with a (*). The best practice is to omit any field that you don't use but when a mandatory field is omitted, its label will still display with an empty value.

{{Infobox Affiliate
| name             = (*)
| logo             =
| owner            = (*)
| website          = (*)
| contact_info     = (*)
}}

Usage Tips

Specific

name 
Any text (usually the name) that is displayed above the infobox. If the line (parameter & value) or value is omitted, page name shall be used as the name and thus as the infobox title. If no title is desired, use the special keyword: _BLANK_.
| name = _BLANK_
logo 
To include a logo, first the image needs to be uploaded to the site.
After uploaded, the image page name (e.g., File:image_file_name.png) should be recorded and used as a wiki link as follows:
| logo = [[File:image_file_name.png|300px]]
website 
To have a website as a link include the full URL with the 'http://' prefix:
| website = http://www.example.com/
Other metods to display web links:
Type to display
[http://www.example.org Text to display] Text to display
[http://www.example.org] [1]
http://www.example.org http://www.example.org

General

Article content 
There is no need to add the wiki syntax for adding the Affiliate article to its category (i.e., [[Category:Affiliate]]) as it is done automatically by the Infobox Affiliate template.
Text fields 
The following fields can include plain text with or without wiki formating tags. for info on wiki formating check the editing help pages.
- owner: best to have it link to the owner's specific articles by using wiki link syntax, e.g. [[owner]]
- contact_info: any text
links 
For more info on how to enter links (internal, external, email, etc.) check the editing links help page.


Personal tools