Difference between revisions of "Template:Old button"

From LFS Manual
Jump to navigationJump to search
m (added link to new button-style)
m (add font color parameter)
Line 1: Line 1:
 
<!--
 
<!--
--><span class="nowrap" style="color: black; padding: 3px 6px; border: 0; background-color: {{{2|#c9c9c9}}}; box-shadow: inset 2px 2px 2px rgba(255,255,255,0.5), inset -2px -2px 2px rgba(120,120,120,0.5); font-weight: bold; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</span><!--
+
--><span class="nowrap" style="color: {{{3|black}}}; padding: 3px 6px; border: 0; background-color: {{{2|#c9c9c9}}}; box-shadow: inset 2px 2px 2px rgba(255,255,255,0.5), inset -2px -2px 2px rgba(120,120,120,0.5); font-weight: bold; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</span><!--
 
--><noinclude>
 
--><noinclude>
 
== Template documentation ==
 
== Template documentation ==

Revision as of 18:16, 5 November 2023

Hello, World!

Template documentation

This template allows you to illustrate LFS buttons in the "old" style, mostly used in the LFS Editor. For the new style, see template Button.

Parameters

  • first (required): shown text
  • second (optional): colour for the button (hex), if not set, grey

Examples

{{Old button|main object}}

Renders as: main object

{{Old button|layers|#a1a1ff}}

Renders as: layers