Created page with "<includeonly>{{From other wiki|Chinese Moegirlpedia|Template:Clickable Button}}</includeonly> A template for a clickable button in Mediawiki style to other pages. == Syntax..." |
mNo edit summary |
||
Line 16: | Line 16: | ||
*<code><nowiki>font=</nowiki></code> Text color. Color code supported. | *<code><nowiki>font=</nowiki></code> Text color. Color code supported. | ||
*<code><nowiki>bgcolor=</nowiki></code> Background color. Color code supported. | *<code><nowiki>bgcolor=</nowiki></code> Background color. Color code supported. | ||
*<code><nowiki>tone=</nowiki></code> Background color using the style of Mediawiki. | |||
**<code><nowiki>red</nowiki></code> to imply a destructive operation | |||
**<code><nowiki>blue</nowiki></code> to imply a progressive operation | |||
**default to imply an operation with a neutral tone | |||
*<code><nowiki>class=</nowiki></code> Class of the button. | *<code><nowiki>class=</nowiki></code> Class of the button. | ||
<includeonly>[[Category:Auxiliary templates]]</includeonly> | <includeonly>[[Category:Auxiliary templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
A template for a clickable button in Mediawiki style to other pages.
{{Clickable Button|bgcolor=#A5E4A5|Mainpage}}
Button to an internal link "Mainpage" with color scheme of Moegirlpedia{{Clickable Button|link=external|font=red|https://en.wikipedia.org|To Wikipedia}}
Button to an external link Wikipedia read "To Wikipedia" in red.link=
Type of link:
external
for an external linknone
for no links1=
Full name of an internal link or full URL (started with http(s)) of an external link.2=
Text on the button. Value of Parameter 1 is used when empty.font=
Text color. Color code supported.bgcolor=
Background color. Color code supported.tone=
Background color using the style of Mediawiki.
red
to imply a destructive operationblue
to imply a progressive operationclass=
Class of the button.