Difference between revisions of "Template:Website"
From Worms Knowledge Base
Explorer09 (Talk | contribs) |
Explorer09 (Talk | contribs) (the "name" parameter is now optional) |
||
Line 1: | Line 1: | ||
− | <includeonly><table class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;"><tr><th colspan="2" style="font-size: larger; text-align: center">{{{name|{{ | + | <includeonly><table class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;"><tr><th colspan="2" style="font-size: larger; text-align: center">{{{name|{{PAGENAME}}}}}</th>{{#if:{{{screenshot|{{{1|}}}}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot|{{{1}}}}}}|{{{screensize|250px}}}|{{{name|{{PAGENAME}}}}} screenshot]]</td></tr>}}{{#if:{{{creator|{{{2|}}}}}}|<tr><td>Creator:</td><td>{{{creator|{{{2}}}}}}</td></tr>}}{{#if:{{{date|{{{3|}}}}}}|<tr><td>Creation date:</td><td>{{{date|{{{3}}}}}}</td></tr>}}{{#if:{{{forum|}}}|<tr><td>Forum package:</td><td>{{{forum}}}</td></tr>}}{{#if:{{{link|{{{4|}}}}}}|<tr><th>Link:</th><th>{{{link|{{{4}}}}}}</th></tr>}}</table></includeonly><noinclude>{{Website|Insert-screenshot-here.png|''{{{3}}}''|''{{{4}}}''|''{{{5}}}''|forum=''{{{forum}}}''}} |
An infobox for websites. | An infobox for websites. | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
== Usage == | == Usage == | ||
<nowiki>{{Website</nowiki><br/> | <nowiki>{{Website</nowiki><br/> | ||
− | | name | + | | name = ''name of the website''<br/> |
− | | screenshot ( | + | | screenshot (1) = ''file.png''<br/> |
| screensize = ''size of the screenshot (default: 250px width)''<br/> | | screensize = ''size of the screenshot (default: 250px width)''<br/> | ||
− | | creator ( | + | | creator (2) = ''website maker/creator''<br/> |
− | | date ( | + | | date (3) = ''creation date''<br/> |
− | | link ( | + | | link (4) = ''URL (like http://example.com/)'' <br/> |
| forum = ''forum package/engine''<br/> | | forum = ''forum package/engine''<br/> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
Line 15: | Line 15: | ||
OR | OR | ||
− | <nowiki>{{Website</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. | * If a parameter is not used, the table row for it will not be included. | ||
</noinclude> | </noinclude> |
Revision as of 15:03, 25 August 2009
Website | |
---|---|
Creator: | {{{3}}} |
Creation date: | {{{4}}} |
Link: | {{{5}}} |
An infobox for websites.
Usage
{{Website
| name = name of the website
| screenshot (1) = file.png
| screensize = size of the screenshot (default: 250px width)
| creator (2) = website maker/creator
| date (3) = creation date
| link (4) = URL (like http://example.com/)
| forum = forum package/engine
}}
OR
{{Website | screenshot | creator | date | link}}
- If a parameter is not used, the table row for it will not be included.