Template:ItemIcon/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
cat, format |
added lang doc |
||
| Line 14: | Line 14: | ||
{{ItemIcon|Basic Magazine|Custom}} | {{ItemIcon|Basic Magazine|Custom}} | ||
<pre style="width:50%"> | |||
{{ItemIcon|Basic Magazine|lang=ru|Базовый магазин}} | |||
</pre> | |||
{{ItemIcon|Basic Magazine|lang=ru|Базовый магазин}} | |||
=== Parameters === | === Parameters === | ||
| Line 20: | Line 26: | ||
; size : Size (optional). Default is 20px. | ; size : Size (optional). Default is 20px. | ||
; icon : Custom icon (optional) | ; icon : Custom icon (optional) | ||
; lang : Language subpage (optional) | |||
<includeonly>[[Category:Icon templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Icon templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
Revision as of 09:10, 19 March 2025
Usage
This icon template is used to create a small picture associated with an item.
Examples
{{ItemIcon|Basic Magazine}}
{{ItemIcon|Basic Magazine|Custom}}
{{ItemIcon|Basic Magazine|lang=ru|Базовый магазин}}
Parameters
- p1
- Item name (required).
- p2
- Custom name (optional).
- size
- Size (optional). Default is 20px.
- icon
- Custom icon (optional)
- lang
- Language subpage (optional)