Difference between revisions of "Template:Website"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m |
Explorer09 (Talk | contribs) m (defaults screen size to 200px) |
||
Line 4: | Line 4: | ||
--><tr><th colspan="2" style="font-size: larger; text-align: center">{{{name|{{PAGENAME}}}}}</th></tr><!-- | --><tr><th colspan="2" style="font-size: larger; text-align: center">{{{name|{{PAGENAME}}}}}</th></tr><!-- | ||
--SCREENSHOT-- | --SCREENSHOT-- | ||
− | -->{{#if:{{{screenshot|{{{1|}}}}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot|{{{1}}}}}}|{{{screensize| | + | -->{{#if:{{{screenshot|{{{1|}}}}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot|{{{1}}}}}}|{{{screensize|200px}}}|{{{caption|{{{name|{{PAGENAME}}}}} screenshot}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!-- |
--LABELS-- | --LABELS-- | ||
-->{{#if:{{{creator|{{{2|}}}}}}|<tr><th style="font-weight: normal;">Creator:</th> | -->{{#if:{{{creator|{{{2|}}}}}}|<tr><th style="font-weight: normal;">Creator:</th> | ||
Line 33: | Line 33: | ||
| screenshot (1) = ''file.png''<br/> | | screenshot (1) = ''file.png''<br/> | ||
− | | screensize = ''size of the screenshot (default: | + | | screensize = ''size of the screenshot (default: 200px width)''<br/> |
| caption = ''caption text of the screenshot (default: "{{{name}}} screenshot")'' | | caption = ''caption text of the screenshot (default: "{{{name}}} screenshot")'' | ||
Latest revision as of 16:04, 22 July 2010
{{{name}}} | |
---|---|
{{{caption}}} | |
Creator: | {{{2}}} |
Creation date: | {{{3}}} |
Date of launch: | {{{launch}}} |
{{{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: 200px width)
| caption = caption text of the screenshot (default: "{{{name}}} screenshot")
| creator (2) = website maker/creator
| date (3) = creation date
| launch = date of launch (as a substitute for {{{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.