Difference between revisions of "Template:Infobox lot"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m
sc4e>CasperVg
m (changing)
Line 28: Line 28:
 
==Example==
 
==Example==
 
</noinclude>
 
</noinclude>
<small>< [[Plugins]]</small>
+
{| align=right
{| id="temptable" width="500px" cellspacing="0" cellpadding="5px" align="{{{align|left}}}"
 
! colspan="2" align=center style="font-size:16pt;"| {{{type}}}
 
 
|-
 
|-
! colspan="2"| '''Images'''
+
|
 +
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
 
|-
 
|-
| {{#if:{{{image2|}}}|style="border-right:none;"}}| {{{image1|[[Image:Wiki_no_image.png|300px]]}}}
+
! style="background-color:#c0c0c0; font-size: larger; margin-left: inherit;" colspan="2" | <big><big>'''{{{type}}}'''</big></big>
{{#if:{{{image2|}}}|{{pipe}} {{{image2|[[Image:Wiki_no_image.png|300px]]}}}}}
 
 
|-
 
|-
! colspan="2"| '''Description'''
+
| colspan="2" align="center" |
 +
 
 +
{{{image1|[[Image:Wiki_no_image.png|300px]]}}}
 
|-
 
|-
| colspan="2" class="description"|
 
{{{desc}}}
 
 
|-
 
|-
! colspan="2" class="download" style="border-top:none;"|
 
'''{{{downloads}}}'''
 
{{#if:{{{depend|}}}|{{pipe}}-
 
! colspan="2"{{pipe}} '''Dependancies'''
 
{{pipe}}-
 
{{pipe}} colspan="2" {{pipe}}
 
{{{depend}}}|}}
 
 
|-
 
|-
! colspan="2"| '''Tags'''
+
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Description
 
|-
 
|-
| colspan="2" class="tags"|
+
! colspan="2" style="text-align: center; font-weight: normal" | {{{desc}}}
{{ #ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| {{tag|{{{tag1}}}|plug}} }}{{#ifeq: {{{tag2|}}} |||&nbsp;· {{tag|{{{tag2}}}|plug}} }}{{#ifeq: {{{tag3|}}} |||&nbsp;· {{tag|{{{tag3}}}|plug}} }}{{ #ifeq: {{{tag4|}}} |||&nbsp;· {{tag|{{{tag4}}}|plug}} }}{{#ifeq: {{{tag5|}}} |||&nbsp;· {{tag|{{{tag5}}}|plug}} }}{{ #ifeq: {{{tag6|}}} |||&nbsp;· {{tag|{{{tag6}}}|plug}} }}  
 
 
|-
 
|-
! colspan="2"| '''Credits'''
 
 
|-
 
|-
| colspan="2"|
+
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Download Here
{{{credits}}}
 
 
|-
 
|-
! colspan="2"| '''Feedback and Support'''
 
 
|-
 
|-
| colspan="2"|
+
|- style="text-align: center;"
{{{support}}}
+
! colspan="2" style="text-align: center; font-weight: normal;" | [{{{link}}} {{#switch: {{{site}}}
 +
| sc4d = SC4D LEX
 +
| st = STEX
 +
| peg = PLEX
 +
| tpp = SVEX
 +
| sv = SVEX
 +
| {{{site}}}}}]
 +
|- style="text-align: center;"
 +
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 +
|-
 +
{{row|{{author}}|'''Author'''
 +
{{!}}{{member|{{{author}}}}}}}
 +
{{row|{{status}}|'''Status'''
 +
{{!}}{{{status}}}
 +
{{row|{{tag1}}|'''Tags'''
 +
{{!}} {{Template:Infobox lot/tags|{{{tag1|}}}|{{{tag2|}}}|{{{tag3|}}}|{{{tag4|}}}|{{{tag5|}}}|{{{tag6|}}}|{{{type}}}}}}}}}
 +
{{row|{{depend}}|'''Dependencies'''
 +
{{!}}{{{depend|None}}}}}
 +
{{row|{{language}}|'''Support'''
 +
{{!}}{{{support|No support given}}}}}
 +
{{row|{{language}}|'''Languages'''
 +
{{!}}{{{language|English}}}}}
 +
|}
 
|}
 
|}
 +
 +
[[Category:City Showcases]]

Revision as of 08:30, 31 December 2008

This template is the top box used in the Lot templates, it should not be included on its own, but only through the inclusion of {{infobox plop}} or {{infobox grow}} on your page.

Syntax

{{infobox lot
|type =
|image1 =
|image2 =
|desc =
|credits =
|support =
|download-site =
|download-id =
|float = 
}}
  • type - the type of lot it is (either plop or grow).
  • image1 - an example image.
  • image2 - another example image.
  • desc - the lot description (readme)
  • credits - any credits
  • supports - any supporting acts
  • download-site - the download site
  • download-id - the download lot id
  • align - allows you to select how the infobox will be aligned on the page. Defaults to left.

Example

{{{type}}}

Wiki no image.png

Description
{{{desc}}}
Download Here
[{{{link}}} {{{site}}}]
General Information
Author [[People:{{{author}}}|{{{author}}}]]
Status {{{status}}}
Tags Template:Infobox lot/tags
Dependencies None
Support No support given
Languages English