Difference between revisions of "Template:Website"

From Worms Knowledge Base

Jump to: navigation, search
(replace the "forum" parameter with a custom label)
m (description)
Line 11: Line 11:
 
| date (3) = ''creation date''<br/>
 
| date (3) = ''creation date''<br/>
 
| link (4) = ''URL (like http://example.com/)'' <br/>
 
| link (4) = ''URL (like http://example.com/)'' <br/>
| label1 = ''custom label''<br/>
+
| label1 = ''custom label (without the colon)''<br/>
 
| data1 = ''custom data (displayed after label1)''<br/>
 
| data1 = ''custom data (displayed after label1)''<br/>
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
Line 19: Line 19:
 
<nowiki>{{Website</nowiki> | screenshot | creator | date | link<nowiki>}}</nowiki>
 
<nowiki>{{Website</nowiki> | screenshot | creator | date | link<nowiki>}}</nowiki>
  
* If a parameter is not used, the table row for it will not be included.
+
===Note===
 +
If a parameter is not used, the table row for it will not be included.
 
</noinclude>
 
</noinclude>

Revision as of 13:23, 18 November 2009

{{{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