Jump to content

Template:User:Elisha Cohen(WMDE)/Test

From Wikipedia, the free encyclopedia

{{{Name}}}
{{{URL}}}
{{{Image}}}
{{{Show-image}}}
{{{Wikipage}}}
{{{Nested-template}}}
{{{Username}}}
{{{Content}}}
{{{Date}}}
{{{Number}}}
{{{Line}}}
{{{New parameter}}}


Test template

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
NameName

This is a string parameter. You can type in a name here.

Example
The New York Times
Stringrequired
URLURL

The full URL of the website

Example
http://www.nytimes.com
URLsuggested
ImageImage

Add the file name of an image

Example
Nytimes.jpg
Filesuggested
BooleanShow-image

Only options are yes and no. Input 0, 1, or leave empty.

Booleanoptional
WikipageWikipage

Add an internal link to a wikipage, start typing to see suggestions. After choosing, add [[ before and after ]].

Example
[[Page name]]
Page namedeprecated
Nested templateNested-template

Here you can add another template and nest it inside of this one, you must add {{ }} after the name

Example
{{Template name}}
Templateoptional
UsernameUsername

This links to the user page. Input the username exactly, start typing to see suggestions.

Example
[[Elisha Cohen (WMDE)]]
Useroptional
ContentContent

This is for generic content, you can add multiple lines if you'd like.

Example
Here is a sentence.
Contentoptional
DateDate

This accepts dates as YYYY-MM-DD (ISO 8601).

Example
2000-10-22
Dateoptional
NumberNumber

This only accepts numbered inputs.

Default
1
Example
44
Numberoptional
LineLine

This only accepts one line of text. You cannot add multiple lines.

Lineoptional
LabelNew parameter

Here is a description

Example
And an example
Templateoptional