Difference between revisions of "Template:Website"

From Worms Knowledge Base

Jump to: navigation, search
m (optimized code for screen readers)
m (description text)
Line 28: Line 28:
 
== Usage ==
 
== Usage ==
 
<nowiki>{{Website</nowiki><br/>
 
<nowiki>{{Website</nowiki><br/>
| name = ''name of the website (default: <nowiki>{{PAGENAME}}</nowiki>)''<br/><br/>
+
| name = ''name of the website (default: <nowiki>{{PAGENAME}}</nowiki>)''{{gap}}
 
| screenshot (1) = ''file.png''<br/>
 
| screenshot (1) = ''file.png''<br/>
 
| screensize = ''size of the screenshot (default: 250px width)''<br/>
 
| screensize = ''size of the screenshot (default: 250px width)''<br/>
| caption = ''caption text of the screenshot (default: "{{{name}}} screenshot")''<br/><br/>
+
| caption = ''caption text of the screenshot (default: "{{{name}}} screenshot")''{{gap}}
 
| creator (2) = ''website maker/creator''<br/>
 
| creator (2) = ''website maker/creator''<br/>
 
| date (3) = ''creation date''<br/>
 
| date (3) = ''creation date''<br/>

Revision as of 13:44, 12 January 2010

{{{name}}}
{{{caption}}}
{{{caption}}}
Creator: {{{2}}}
Creation date: {{{3}}}
{{{label1}}}: {{{data1}}}
Link: {{{4}}}

An infobox for websites.

Usage

{{Website

| name = name of the website (default: {{PAGENAME}})

 

| screenshot (1) = file.png
| screensize = size of the screenshot (default: 250px width)

| caption = caption text of the screenshot (default: "{{{name}}} screenshot")

 

| creator (2) = website maker/creator
| date (3) = creation date
| link (4) = URL (like http://example.com/)
| label1 = custom label (without the colon)
| data1 = custom data (displayed after label1)
}}

OR

{{Website | screenshot | creator | date | link}}

Note

If a parameter is not used, the table row for it will not be included.

Personal tools