(Create /doc subpage for Template:AnyIcons) Tag: 2017 source edit |
(new parameter) Tag: 2017 source edit |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> |
|||
⚫ | |||
;Description |
|||
⚫ | |||
;Syntax |
|||
<nowiki>{{AnyIcons|Example.jpg}}</nowiki> = {{AnyIcons|Example.jpg}} |
|||
<nowiki>{{AnyIcons| |
:Type <code><nowiki>{{AnyIcons|Image.png|Text}}</nowiki></code> on the page/template.''' |
||
<nowiki>{{AnyIcons|Example.jpg|link=Doors}}</nowiki> = {{AnyIcons|Example.jpg|link=Doors}} |
|||
;Additional syntax |
|||
<nowiki>{{AnyIcons|Example.jpg|caption=example of a caption}}</nowiki> = {{AnyIcons|Example.jpg|caption=example of a caption}} |
|||
:Type <code><nowiki>|size=</nowiki></code> followed by a size value to modify the size of the icon. |
|||
:Type <code><nowiki>|link=</nowiki></code> followed by a valid name for an existing page/template/category etc. |
|||
:Type <code><nowiki>|caption=</nowiki></code> followed by any text string that will appear when hovering over the icon. |
|||
:Type <code><nowiki>|format=</nowiki></code> followed by an amount of equal signs for heading/sub-heading sizes. |
|||
:Type <code><nowiki>|mobile=</nowiki></code> followed by either "Yes" or "No" to decide whether or not to display the icon on mobile. |
|||
<includeonly>[[Category:Infoicon templates]]</includeonly> |
Latest revision as of 21:06, 14 April 2025

This is a template documentation subpage for Template:AnyIcons.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
- Description
- This template is for icons that don't exist on Template:Icons.
- Syntax
- Type
{{AnyIcons|Image.png|Text}}
on the page/template.
- Additional syntax
- Type
|size=
followed by a size value to modify the size of the icon. - Type
|link=
followed by a valid name for an existing page/template/category etc. - Type
|caption=
followed by any text string that will appear when hovering over the icon. - Type
|format=
followed by an amount of equal signs for heading/sub-heading sizes. - Type
|mobile=
followed by either "Yes" or "No" to decide whether or not to display the icon on mobile.