Template:Infobox skater: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#invoke:Infobox|infobox}} | {{#invoke:Infobox|infobox}}<noinclude> | ||
<noinclude> | |||
<!-- {{documentation}} --> | <!-- {{documentation}} --> | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
Line 16: | Line 15: | ||
}} | }} | ||
</pre> | </pre> | ||
===Syntax=== | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "", | "description": "", | ||
"params": { | "params": { | ||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"required": false, | |||
"description": "Name of the Skater. This is a required parameter as it does not accept null.", | |||
"default": "PAGENAME", | |||
"aliases": [ | |||
"Name", | |||
"Title" | |||
] | |||
}, | |||
"logo": { | |||
"label": "Logo", | |||
"type": "string", | |||
"required": false, | |||
"description": "File name of the logo to be appeared at the top of the infobox" | |||
}, | |||
"logo_size": { | |||
"label": "Logo size", | |||
"type": "string", | |||
"required": false, | |||
"description": "Size of the logo. Default is 250px. Must not normally be changed.", | |||
"default": "250px" | |||
}, | |||
"logo_alt": { | |||
"label": "Logo alternative text", | |||
"type": "string", | |||
"required": false, | |||
"description": "Alternative text for the logo, used when the web browser cannot display the image or when a visually-impaired person uses a screen reader." | |||
}, | |||
"logo caption": { | |||
"label": "Logo caption", | |||
"type": "string", | |||
"required": false, | |||
"description": "Caption for the logo. Must only be used to provide anything far more important than 'This is the logo of X'." | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "string", | |||
"required": false, | |||
"description": "File name of the image of the appliance to be appeared at the top of the infobox.", | |||
"aliases": [ | |||
"Image", | |||
"photo", | |||
"Photo" | |||
] | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"type": "string", | |||
"required": false, | |||
"description": "Caption for the image of the appliance. " | |||
}, | |||
"aka": { | |||
"label": "Also known as? (\"AKA\")", | |||
"type": "string", | |||
"required": false, | |||
"description": "Nickname" | |||
}, | |||
"country": { | |||
"label": "Country", | |||
"type": "string", | |||
"required": false, | |||
"description": "Country" | |||
}, | |||
"stance": { | |||
"label": "[[Stance]]", | |||
"type": "string", | |||
"required": false, | |||
"description": "Stance" | |||
}, | |||
"pushingmethod": { | |||
"label": "[[Pushing Method]]", | |||
"type": "string", | |||
"required": false, | |||
"description": "Pushing Method (Regular or Mongo)" | |||
}, | |||
"website": { | "website": { | ||
"label": "Website", | "label": "Website", | ||
Line 29: | Line 105: | ||
"aliases": [ | "aliases": [ | ||
"Website" | "Website" | ||
] | |||
}, | |||
"flickr": { | |||
"label": "Flickr", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Flickr website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Flickr" | |||
] | |||
}, | |||
"instagram": { | |||
"label": "Instagram", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Instagram website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Instagram" | |||
] | |||
}, | |||
"twitter": { | |||
"label": "Twitter", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Twitter website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Twitter" | |||
] | |||
}, | |||
"facebook": { | |||
"label": "Facebook", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Facebook website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Facebook" | |||
] | |||
}, | |||
"youtube": { | |||
"label": "YouTube", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the YouTube website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"YouTube" | |||
] | |||
}, | |||
"google+": { | |||
"label": "Google+", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Google+ website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Google+" | |||
] | |||
}, | |||
"pinterest": { | |||
"label": "Pinterest", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Pinterest website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Pinterest" | |||
] | |||
}, | |||
"vimeo": { | |||
"label": "Vimeo", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the Vimeo website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"Vimeo" | |||
] | |||
}, | |||
"myspace": { | |||
"label": "MySpace", | |||
"type": "string", | |||
"required": false, | |||
"description": "URL of the MySpace website, in a printer-friendly form. Consider using {{URL}} template.", | |||
"aliases": [ | |||
"MySpace" | |||
] | ] | ||
} | } | ||
Line 35: | Line 192: | ||
</templatedata> | </templatedata> | ||
=== Important notes === | |||
None | |||
<!-- | |||
<includeonly> | <includeonly> | ||
{{#ifeq:{{SUBPAGENAME}}|sandbox|| | {{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
[[Category:Skaters]] | [[Category:Skaters]] | ||
}}</includeonly> | }}</includeonly> | ||
--> | |||
</noinclude> |
Revision as of 04:48, 16 January 2016
Usage
{{Infobox skater | name = | title = | aka = | logo = | image = | caption = | website = {{URL|example.org}} }}
Syntax
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name Name Title | Name of the Skater. This is a required parameter as it does not accept null.
| String | optional |
Logo | logo | File name of the logo to be appeared at the top of the infobox | String | optional |
Logo size | logo_size | Size of the logo. Default is 250px. Must not normally be changed.
| String | optional |
Logo alternative text | logo_alt | Alternative text for the logo, used when the web browser cannot display the image or when a visually-impaired person uses a screen reader. | String | optional |
Logo caption | logo caption | Caption for the logo. Must only be used to provide anything far more important than 'This is the logo of X'. | String | optional |
Image | image Image photo Photo | File name of the image of the appliance to be appeared at the top of the infobox. | String | optional |
Image caption | caption | Caption for the image of the appliance. | String | optional |
Also known as? ("AKA") | aka | Nickname | String | optional |
Country | country | Country | String | optional |
[[Stance]] | stance | Stance | String | optional |
[[Pushing Method]] | pushingmethod | Pushing Method (Regular or Mongo) | String | optional |
Website | website Website | URL of the official website, in a printer-friendly form. Consider using {{URL}} template. | String | optional |
Flickr | flickr Flickr | URL of the Flickr website, in a printer-friendly form. Consider using {{URL}} template. | String | optional |
instagram Instagram | URL of the Instagram website, in a printer-friendly form. Consider using {{URL}} template. | String | optional | |
twitter Twitter | URL of the Twitter website, in a printer-friendly form. Consider using {{URL}} template. | String | optional | |
facebook Facebook | URL of the Facebook website, in a printer-friendly form. Consider using {{URL}} template. | String | optional | |
YouTube | youtube YouTube | URL of the YouTube website, in a printer-friendly form. Consider using {{URL}} template. | String | optional |
Google+ | google+ Google+ | URL of the Google+ website, in a printer-friendly form. Consider using {{URL}} template. | String | optional |
pinterest Pinterest | URL of the Pinterest website, in a printer-friendly form. Consider using {{URL}} template. | String | optional | |
Vimeo | vimeo Vimeo | URL of the Vimeo website, in a printer-friendly form. Consider using {{URL}} template. | String | optional |
MySpace | myspace MySpace | URL of the MySpace website, in a printer-friendly form. Consider using {{URL}} template. | String | optional |
Important notes
None