Template:Inline icon link/doc: Difference between revisions
From VRChat Wiki
No edit summary |
m Text replacement - "\[\[(?!(Special:|File:|Media:))([^\|\]]+)\]\]" to "$2" |
||
| Line 14: | Line 14: | ||
! Name !! Variable !! Description !! Default | ! Name !! Variable !! Description !! Default | ||
|- | |- | ||
| image || <code>image=</code><br>Can also be parameter 1.|| icon image. ||[[:File:PlaceholderRoss.png]] [[File:PlaceholderRoss.png|64px|frameless]] | | image || <code>image=</code><br>Can also be parameter 1.|| icon image. ||[[Special:MyLanguage/:File:PlaceholderRoss.png|:File:PlaceholderRoss.png]] [[File:PlaceholderRoss.png|64px|frameless]] | ||
|- | |- | ||
| link || <code>link=</code><br>Can also be parameter 2. || link || <span style="color:#FF0000;">link</span> | | link || <code>link=</code><br>Can also be parameter 2. || link || <span style="color:#FF0000;">link</span> | ||
| Line 24: | Line 24: | ||
| caption || <code>caption=</code><br>|| caption of the icon || icon | | caption || <code>caption=</code><br>|| caption of the icon || icon | ||
|} | |} | ||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Special:MyLanguage/Category:Template Documentation|Category:Template Documentation]]</noinclude> | ||
Revision as of 19:23, 23 August 2024
Create inline icon links.
Example Usage
* Please visit {{Inline icon link|image=Vrrat_thumbsup.png|link=https://vrchat.com|desc=the home of VRRat!|size=20px|caption=VRRat thinks you're cool}}!
will make:
- Please visit the home of VRRat!!
Template parameters
| Name | Variable | Description | Default |
|---|---|---|---|
| image | image=Can also be parameter 1. |
icon image. | :File:PlaceholderRoss.png |
| link | link=Can also be parameter 2. |
link | link |
| desc | desc=Can also be parameter 3. |
text of the link | description |
| size | size= |
Icon size | 24px |
| caption | caption= |
caption of the icon | icon |