Template:Link/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 18: Line 18:




{{Code|<nowiki>{{link|button|wikipedia.com/wiki/Main_Page|Wikipedia Main Page|color = rgb(255 0 0) }}</nowiki>}}
{{Code|<nowiki>{{link|button|wikipedia.com/wiki/Main_Page|Wikipedia Main Page|color = rgb(245 145 65) }}</nowiki>}}
{{Capsule| {{link|button|wikipedia.com/wiki/Main_Page|Wikipedia Main Page|color = rgb(255 0 0) }} }}
{{Capsule| {{link|button|wikipedia.com/wiki/Main_Page|Wikipedia Main Page|color = rgb(245 145 65) }} }}


{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 21:50, 4 May 2024

Edit-copy.png
This is a documentation subpage for Template:Link.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Parameters

  • {{{1}}} - link
  • {{{2}}} - text
  • {{{color}}} - text color

Examples

{{link|wikipedia.com/wiki/Main_Page}}

wikipedia.com/wiki/Main_Page


{{link|plain|Wikipedia.com/wiki/Main_Page|Wikipedia Main Page}}

Wikipedia Main Page


{{link|button|wikipedia.com/wiki/Main_Page|Wikipedia Main Page}}

wikipedia.com/wiki/Main_Page


{{link|button|wikipedia.com/wiki/Main_Page|Wikipedia Main Page|color = rgb(245 145 65) }}

wikipedia.com/wiki/Main_Page