Difference between revisions of "Template:Infobox project"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added break for credits)
sc4e>JoeST
m (removed whitespace)
Line 21: Line 21:
 
In the syntax above, any of the following parameters; ''download-site2, download-id2, thread2, thread2-n, thread3, thread3-n'', are optional.
 
In the syntax above, any of the following parameters; ''download-site2, download-id2, thread2, thread2-n, thread3, thread3-n'', are optional.
  
==Example==
+
==Example==</noinclude>
{{infobox project}}</noinclude>
+
{| id="temptable" align="right" cellspacing="0" cellpadding="5" width="300"
<includeonly>{| id="temptable" align="right" cellspacing="0" cellpadding="5" width="300"
 
 
! style="font-size:16pt;"| Project
 
! style="font-size:16pt;"| Project
 
|-
 
|-
Line 32: Line 31:
 
| class="download" align=center| '''{{download|exchange={{{download-site1}}}|id={{{download-id1}}}}}'''
 
| class="download" align=center| '''{{download|exchange={{{download-site1}}}|id={{{download-id1}}}}}'''
 
{{#if:{{{download-site2|}}}
 
{{#if:{{{download-site2|}}}
| <br/>'''{{download|exchange={{{download-site2}}}|id={{{download-id2}}}}}'''
+
| <br/>'''{{download|exchange={{{download-site2}}}|id={{{download-id2}}}}}'''|}}
|}}
 
 
|-
 
|-
 
! Project Threads
 
! Project Threads
 
|-
 
|-
| align=center| [{{{thread1}}} {{{thread1-n}}}]
+
| align=center| [{{{thread1}}} {{{thread1-n}}}]{{#if:{{{thread2|}}}| [{{{thread2}}} {{{thread2-n}}}]|}}{{#if:{{{thread3|}}}| [{{{thread3}}} {{{thread3-n}}}]|}}
{{#if:{{{thread2|}}}
 
| [{{{thread2}}} {{{thread2-n}}}]
 
|}}
 
{{#if:{{{thread3|}}}
 
| [{{{thread3}}} {{{thread3-n}}}]
 
|}}
 
 
|-
 
|-
 
! Credits
 
! Credits
Line 50: Line 42:
 
{{{credits}}}
 
{{{credits}}}
 
|}
 
|}
</includeonly>
 

Revision as of 11:52, 27 August 2008

This is the infobox to include on any article about a community project.

Syntax

{{infobox project
| logo = 
| name = 
| version = 
| download-site1 = 
| download-id1 = 
| download-site2 = 
| download-id2 = 
| thread1 = 
| thread1-n = 
| thread2 = 
| thread2-n = 
| thread3 = 
| thread3-n = 
| credits = 
}}

In the syntax above, any of the following parameters; download-site2, download-id2, thread2, thread2-n, thread3, thread3-n, are optional.

Example

Project
{{{logo}}}
{{{name}}} {{{version}}}
[{{{download-id1}}} Download from {{{download-site1}}}]
Project Threads
[{{{thread1}}} {{{thread1-n}}}]
Credits

{{{credits}}}