Difference between revisions of "Template:Old button"

From LFS Manual
Jump to navigationJump to search
(template documentation)
m
 
(3 intermediate revisions by 2 users not shown)
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 ==
+
{{documentation}}
This template allows you to illustrate LFS buttons in the "old" style, mostly used in the LFS Editor.
 
=== Parameters ===
 
* first (required): shown text
 
* second (optional): colour for the button (hex), if not set, grey
 
=== Examples ===
 
<pre>
 
{{Old button|main object}}
 
</pre>
 
Renders as: {{Old button|main object}}
 
<pre>
 
{{Old button|layers|#a1a1ff}}
 
</pre>
 
Renders as: {{Old button|layers|#a1a1ff}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 01:14, 3 December 2023

Hello, World!

Template Info-Icon.png

Template documentation

View - Edit

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.

Markup Renders as
{{Old button|main object}}

main object

Markup Renders as
{{Old button|layers|#a1a1ff}}

layers