Template:Nice List Box: Difference between revisions
More actions
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 16: | Line 16: | ||
</div> |
</div> |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"Title": { |
|||
"suggested": true |
|||
}, |
|||
"Color": { |
|||
"suggested": true |
|||
}, |
|||
"Subtitle": { |
|||
"suggested": true |
|||
}, |
|||
"Image": { |
|||
"suggested": true |
|||
}, |
|||
"Gallery": { |
|||
"suggested": true, |
|||
"description": "Enter proper gallery formatting here." |
|||
}, |
|||
"Subsubtitle": { |
|||
"suggested": true |
|||
}, |
|||
"Label1": { |
|||
"suggested": true |
|||
}, |
|||
"Field1": { |
|||
"suggested": true |
|||
}, |
|||
"Label2": { |
|||
"suggested": true |
|||
}, |
|||
"Field2": { |
|||
"suggested": true |
|||
}, |
|||
"Description": { |
|||
"suggested": true |
|||
}, |
|||
"SubLabel": { |
|||
"suggested": true |
|||
}, |
|||
"SubField": { |
|||
"suggested": true |
|||
}, |
|||
"OptionalLabel1": { |
|||
"suggested": true, |
|||
"description": "Does not show up if it is empty" |
|||
}, |
|||
"OptionalField1": { |
|||
"suggested": true, |
|||
"description": "Does not show up if its label is empty" |
|||
}, |
|||
"OptionalLabel2": { |
|||
"suggested": true, |
|||
"description": "Does not show up if it is empty" |
|||
}, |
|||
"OptionalField2": { |
|||
"suggested": true, |
|||
"description": "Does not show up if its label is empty" |
|||
}, |
|||
"OptionalLabel3": { |
|||
"suggested": true, |
|||
"description": "Does not show up if it is empty" |
|||
}, |
|||
"OptionalField3": { |
|||
"suggested": true, |
|||
"description": "Does not show up if its label is empty" |
|||
}, |
|||
"OptionalLabel4": { |
|||
"suggested": true, |
|||
"description": "Does not show up if it is empty" |
|||
}, |
|||
"OptionalField4": { |
|||
"suggested": true, |
|||
"description": "Does not show up if its label is empty" |
|||
} |
|||
}, |
|||
"sets": [], |
|||
"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.", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
==Example== |
|||
<pre> |
|||
{{Nice List Box |
{{Nice List Box |
||
|Title=Example |
|Title=Example |
||
|Color=#FFFFFF |
|Color=#FFFFFF |
||
|Font=Helvetica |
|||
|Image=Unknown.png |
|Image=Unknown.png |
||
|Gallery=<gallery> |
|Gallery=<gallery> |
||
| Line 25: | Line 110: | ||
File:Glypht.png |
File:Glypht.png |
||
</gallery> |
</gallery> |
||
|Subtitle=''Example'' |
|||
|Subsubtitle=''Example'' |
|||
|Label1=Example |
|Label1=Example |
||
|Field1=Example |
|Field1=Example |
||
| Line 43: | Line 126: | ||
|OptionalField4=Example |
|OptionalField4=Example |
||
}} |
}} |
||
</pre> |
|||
==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== |
|||
<pre> |
|||
{{Nice List Box |
{{Nice List Box |
||
|Title=Example |
|Title=Example |
||
|Color=#FFFFFF |
|Color=#FFFFFF |
||
|Font=Helvetica |
|||
|Image=Unknown.png |
|Image=Unknown.png |
||
|Gallery=<gallery> |
|Gallery=<gallery> |
||
| Line 59: | Line 137: | ||
File:Glypht.png |
File:Glypht.png |
||
</gallery> |
</gallery> |
||
|Subtitle=''Example'' |
|||
|Subsubtitle=''Example'' |
|||
|Label1=Example |
|Label1=Example |
||
|Field1=Example |
|Field1=Example |
||
| Line 75: | Line 155: | ||
|OptionalField4=Example |
|OptionalField4=Example |
||
}} |
}} |
||
</pre> |
|||
<templatedata> |
|||
{"params":{ |
|||
"Title":{"suggested":true}, |
|||
"Color":{"suggested":true}, |
|||
"Subtitle":{"suggested":true}, |
|||
"Image":{"suggested":true}, |
|||
"Gallery":{"suggested":true, "description": "Enter proper gallery formatting here."}, |
|||
"Subsubtitle":{"suggested":true}, |
|||
"Label1":{"suggested":true}, |
|||
"Field1":{"suggested":true}, |
|||
"Label2":{"suggested":true}, |
|||
"Field2":{"suggested":true}, |
|||
"Description":{"suggested":true}, |
|||
"SubLabel":{"suggested":true}, |
|||
"SubField":{"suggested":true}, |
|||
"OptionalLabel1":{"suggested":true, "description": "Does not show up if it is empty"}, |
|||
"OptionalField1":{"suggested":true, "description": "Does not show up if its label is empty"}, |
|||
"OptionalLabel2":{"suggested":true, "description": "Does not show up if it is empty"}, |
|||
"OptionalField2":{"suggested":true, "description": "Does not show up if its label is empty"}, |
|||
"OptionalLabel3":{"suggested":true, "description": "Does not show up if it is empty"}, |
|||
"OptionalField3":{"suggested":true, "description": "Does not show up if its label is empty"}, |
|||
"OptionalLabel4":{"suggested":true, "description": "Does not show up if it is empty"}, |
|||
"OptionalField4":{"suggested":true, "description": "Does not show up if its label is empty"}},"sets":[],"maps":{}} |
|||
</templatedata> |
|||
</noinclude> |
</noinclude> |
||
Revision as of 03:11, January 16, 2025
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | Title | no description | Unknown | suggested |
| Color | Color | no description | Unknown | suggested |
| Subtitle | Subtitle | no description | Unknown | suggested |
| Image | Image | no description | Unknown | suggested |
| Gallery | Gallery | Enter proper gallery formatting here. | Unknown | suggested |
| Subsubtitle | Subsubtitle | no description | Unknown | suggested |
| Label1 | Label1 | no description | Unknown | suggested |
| Field1 | Field1 | no description | Unknown | suggested |
| Label2 | Label2 | no description | Unknown | suggested |
| Field2 | Field2 | 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 |
Example
{{Nice List Box
|Title=Example
|Color=#FFFFFF
|Font=Helvetica
|Image=Unknown.png
|Gallery=<gallery>
File:Unknown.png
File:Community.png
File:Glypht.png
</gallery>
|Label1=Example
|Field1=Example
|Label2=Example
|Field2=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
}}
