Template:Icon/doc: Difference between revisions
Template page
More actions
ReisuDesign (talk | contribs) Created page with "{{Documentation/Header}} {{CSS|Icon}} Template to display icons without link. ==Syntax== {{T|Icon |v1=file name without extension or Icon prefix |v2=customfile=full file name |P3=size=((XX)) |v4=top-left=content to insert in the icon's top-left corner |v5=top-left-style=inline styles to apply to the top-left icon |v6=top-right=content to insert in the icon's top-right corner |v7=top-right-style=inline styles to apply to the top-right icon |v8=bottom-left=content to inse..." |
ReisuDesign (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
Template to display icons without link. | Template to display icons without link. | ||
| Line 17: | Line 16: | ||
|v11=bottom-right-style=inline styles to apply to the bottom-right icon | |v11=bottom-right-style=inline styles to apply to the bottom-right icon | ||
|block=1}} | |block=1}} | ||
* {{F|1}} or {{F|file}} — Value to insert as "name" in the {{F| | * {{F|1}} or {{F|file}} — Value to insert as "name" in the {{F|((name))_Icon.png}} naming scheme to display as main image. | ||
** If the file to use does not follow the naming scheme, {{F|customfile}} can be used instead. | ** If the file to use does not follow the naming scheme, {{F|customfile}} can be used instead. | ||
* {{F|2}} or {{F|size}} — The icon's size. Defaults to 20px. | * {{F|2}} or {{F|size}} — The icon's size. Defaults to 20px. | ||