Template:Nice List Box: Difference between revisions
Template page
More actions
Content deleted Content added
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 26: | Line 26: | ||
}} |
}} |
||
{{#if: {{{OptionalLabel2|}}} |
{{#if: {{{OptionalLabel2|}}} |
||
| <span style="font-size:var(--font-size-x-large); font-family: var(--font-family-serif); color:var(--color-base--emphasized);">{{{OptionalLabel2}}} - {{{ |
| <span style="font-size:var(--font-size-x-large); font-family: var(--font-family-serif); color:var(--color-base--emphasized);">{{{OptionalLabel2}}} - {{{OptionalField2}}}</span><br> |
||
}} |
}} |
||
{{#if: {{{OptionalLabel3|}}} |
{{#if: {{{OptionalLabel3|}}} |
||
| <span style="font-size:var(--font-size-x-large); font-family: var(--font-family-serif); color:var(--color-base--emphasized);">{{{OptionalLabel3}}} - {{{ |
| <span style="font-size:var(--font-size-x-large); font-family: var(--font-family-serif); color:var(--color-base--emphasized);">{{{OptionalLabel3}}} - {{{OptionalField3}}}</span><br> |
||
}} |
}} |
||
{{#if: {{{OptionalLabel4|}}} |
{{#if: {{{OptionalLabel4|}}} |
||
| <span style="font-size:var(--font-size-x-large); font-family: var(--font-family-serif); color:var(--color-base--emphasized);">{{{OptionalLabel4}}} - {{{ |
| <span style="font-size:var(--font-size-x-large); font-family: var(--font-family-serif); color:var(--color-base--emphasized);">{{{OptionalLabel4}}} - {{{OptionalField4}}}</span><br> |
||
}} |
}} |
||
</div></includeonly><noinclude> |
</div></includeonly><noinclude> |
||
Revision as of 02:09, January 13, 2025
Example

Example - Example
Example - Example
This is the description of my list entry!
Example - Example
Optional1 - Example
Optional2 - Example
Optional3 - Example
Optional4 - Example
- Description
- Based on Template:Star use for lists that you want to look nice. Works great on mobile (better than tables by a LOT). Optional Fields and Labels only show up if the label field is not empty.
- Syntax
{{Nice List Box
|Title=Example
|Color=#FFFFFF
|Image=Unknown.png
|Field1=Example
|Label1=Example
|Field2=Example
|Label2=Example
|Description=This is the description of my list entry!
|SubLabel=Example
|SubField=Example
|OptionalLabel1=Optional1
|OptionalField1=Example
|OptionalLabel2=Optional2
|OptionalField2=Example
|OptionalLabel3=Optional3
|OptionalField3=Example
|OptionalLabel4=Optional4
|OptionalField4=Example
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | Title | no description | Unknown | suggested |
| Color | Color | no description | Unknown | suggested |
| Image | Image | no description | Unknown | suggested |
| Field1 | Field1 | no description | Unknown | suggested |
| Label1 | Label1 | no description | Unknown | suggested |
| Field2 | Field2 | no description | Unknown | suggested |
| Label2 | Label2 | no description | Unknown | suggested |
| Description | Description | no description | Unknown | suggested |
| SubLabel | SubLabel | no description | Unknown | suggested |
| SubField | SubField | no description | Unknown | suggested |
| OptionalLabel1 | OptionalLabel1 | Does not show up if it is empty | Unknown | suggested |
| OptionalField1 | OptionalField1 | Does not show up if its label is empty | Unknown | suggested |
| OptionalLabel2 | OptionalLabel2 | Does not show up if it is empty | Unknown | suggested |
| OptionalField2 | OptionalField2 | Does not show up if its label is empty | Unknown | suggested |
| OptionalLabel3 | OptionalLabel3 | Does not show up if it is empty | Unknown | suggested |
| OptionalField3 | OptionalField3 | Does not show up if its label is empty | Unknown | suggested |
| OptionalLabel4 | OptionalLabel4 | Does not show up if it is empty | Unknown | suggested |
| OptionalField4 | OptionalField4 | Does not show up if its label is empty | Unknown | suggested |