Template:Userbox vanilla berries: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Artubass moved page Template:Userberries to Template:Userbox vanilla berries: Moved the template to its proper location so it hopefully works) |
(changed structure to userbox, will move documentation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Userbox |
|||
<div style="float: right; border:solid #d72727 3px; margin: 1px; font-family: Helvetica, Arial, sans-serif"> |
|||
| color = #d9a0a0 |
|||
| bcolor = #d72727 |
|||
|<div style="float: right; margin-right: 4px"> |
|||
⚫ | |||
<!-- The next line of code (hopefully) adjusts image based on the number supplied --> |
|||
| text = {{#if:{{{2|}}}|This user has collected<br>{{Tooltip|'''{{{1|100}}}''' strawberr{{#ifeq:{{{1|100}}}|1|y|ies!}}|{{{2|}}}}}|This user has collected<br>'''{{{1|100}}}''' strawberr{{#ifeq:{{{1|100}}}|1|y|ies!}}}} |
|||
⚫ | |||
}}<noinclude>{{Documentation}}</noinclude> |
|||
</div><div style="margin-top: 8px">This user has collected '''{{{1|100}}}''' strawberr{{#ifeq:{{{1|100}}}|1|y|ies}}!</div> |
|||
|} |
|||
</div> |
|||
<noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"berries": { |
|||
"description": "The number of strawberries you have in Celeste", |
|||
"type": "number", |
|||
"required": true |
|||
} |
|||
}, |
|||
"description": "This template (userbox) allows you to show how many strawberries you have collected. It will surely impress your friends! Be honest though - we don't have a way to check.", |
|||
"paramOrder": [ |
|||
"berries" |
|||
] |
|||
} |
|||
</templatedata> |
|||
== Examples == |
|||
<div style="float: left"> |
|||
{{Userberries|1}} |
|||
{{Userberries|50}} |
|||
{{Userberries|180}} |
|||
</div> |
|||
</noinclude> |
Latest revision as of 17:51, 22 November 2023
This template (userbox) allows you to show how many strawberries you have collected. It will surely impress your friends! Be honest, though - we don't have a way to check.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Strawberries | 1 | The number of strawberries you have in Celeste | Number | required |
Explanation | 2 | Shows up as a tooltip if defined. Use it to explain which strawberries you have collected (optional, in any format you like).
| String | optional |