pathCast
Log in

Template:buttonurl

From pathCast
Revision as of 09:07, 7 September 2020 by Madrigal (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Generates a clickable button URL link. Similar to Template:ButtonLink.

Arguments:

  1. Any URL.
  2. Button text (optional). If absent, it will use the wiki page name specified.
  3. HTML style options, usually for customizing size and color. Don't include the quotes - the template already does that. For example: "background-color:black;color:white;width:150px; height:40px;"

Other info:

  1. = signs must be hidden from the parser as {{#urldecode:%3D}}, otherwise they confuse the parser into using a nonexistent named argument.

Example: