Difference between revisions of "Template:Infobox lot"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m
m (91 revisions imported)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{mbox
+
#redirect[[template:infobox plugin]]
| type = content
 
| text = <span style="color:#f28500;">'''This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.'''</span>
 
}}
 
This template is the top box used in the Lot templates, <span style="color:red;">'''it should not be included on its own'''</span>, but only through the inclusion of {{tl|infobox plop}} or {{tl|infobox grow}} on your page.
 
==Syntax==
 
<pre>{{infobox lot
 
|type =
 
|image1 =
 
|image2 =
 
|desc =
 
|credits =
 
|support =
 
|download-site =
 
|download-id =
 
|float =
 
}}
 
</pre>
 
*'''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==
 
</noinclude>
 
<small>< [[Plugins]]</small>
 
{| id="temptable" width="500px" cellspacing="0" cellpadding="5px" align="{{{align|left}}}"
 
! colspan="2" align=center style="font-size:16pt;"| {{{type}}}
 
|-
 
! colspan="2"| '''Images'''
 
|-
 
| {{#if:{{{image2|}}}|style="border-right:none;"}}| {{{image1|[[Image:Wiki_no_image.png|300px]]}}}
 
{{#if:{{{image2|}}}|{{pipe}} {{{image2|[[Image:Wiki_no_image.png|300px]]}}}}}
 
|-
 
! colspan="2"| '''Description'''
 
|-
 
| 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" class="tags"|
 
{{ #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"|
 
{{{credits}}}
 
|-
 
! colspan="2"| '''Feedback and Support'''
 
|-
 
| colspan="2"|
 
{{{support}}}
 
|}
 

Latest revision as of 01:50, 10 August 2019