Template:Inline icon link: Difference between revisions

From VRChat Wiki
m (Protected "Template:Inline icon link" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Text replacement - "\[\[(?!(Special:|File:|Media:))([^\|\]]+)\]\]" to "$2")
Line 1: Line 1:
[[File:{{{image|{{{1|PlaceholderRoss.png}}}}}}|{{{size|24px}}}|{{{caption|icon}}}|link={{{link|{{{2}}}}}}]] [{{{link|{{{2|<span style="color:#FF0000;">link</span>}}}}}} {{{desc|{{{3|<span style="color:#FF0000;">description</span>}}}}}}]<noinclude>
[[File:{{{image|{{{1|PlaceholderRoss.png}}}}}}|{{{size|24px}}}|{{{caption|icon}}}|link={{{link|{{{2}}}}}}]] [{{{link|{{{2|<span style="color:#FF0000;">link</span>}}}}}} {{{desc|{{{3|<span style="color:#FF0000;">description</span>}}}}}}]<noinclude>
{{templatedocs}}[[Category:Templates]][[Category:Templates/Inline templates]]</noinclude>
{{templatedocs}}[[Special:MyLanguage/Category:Templates|Category:Templates]][[Special:MyLanguage/Category:Templates/Inline templates|Category:Templates/Inline templates]]</noinclude>

Revision as of 19:18, 23 August 2024

link={{{2}}} [link description] 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:

Template parameters

Caption text
Name Variable Description Default
image image=
Can also be parameter 1.
icon image. File:PlaceholderRoss.png 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

Creates an inline icon with a link

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Icon1 image

Icon image.

Example
File:PlaceholderRoss.png
Filerequired
Link2 link

no description

URLrequired
Link text3 desc

Text of the link

Stringsuggested
Icon Sizesize

no description

Default
24px
Numberoptional
captioncaption

no description

Unknownoptional

Category:TemplatesCategory:Templates/Inline templates