Template:Button: Difference between revisions

Hey! It works :-
m (Oops)
(Hey! It works :-)
Line 1: Line 1:
<noinclude>{{WIP}}</noinclude><span style="border: {{{w|1}}}px solid {{{b|black}}}; padding: 1px 3px; background: {{{c|white}}}; font-family: inherit; color: {{{t|black}}}; font-size: 0.85em; white-space: nowrap;">{{{1|Text}}}</span><noinclude>
<span style="border: {{{w|1}}}px solid {{{b|black}}}; padding: 1px 3px; background: {{{c|white}}}; font-family: inherit; color: {{{t|black}}}; font-size: 0.85em; white-space: nowrap;">{{{1|Text}}}</span><noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
Line 38: Line 38:


  <nowiki>{{button|'''ILS'''|t=#AFA|c=gray|b=black|w=2}}</nowiki>
  <nowiki>{{button|'''ILS'''|t=#AFA|c=gray|b=black|w=2}}</nowiki>
{{button|'''ILS'''|t=#AFA|c=gray|b=black|w=2}}
{{button|'''ILS'''|t=#AFA|c=black|b=gray|w=2}}


== Known issues ==
== Known issues ==
* There seems to be a problem adding parameters to the style attribute, in which case this would have been a futile exercise...
* In some cases workarounds will be required. One of them is for example text containing a pipe character ({{!}}) which would require you to insert <code><nowiki>{{!}}</nowiki></code> instead of <code>{{!}}</code>, since using a "{{!}}" inside a template will break it.
* In some cases workarounds will be required. One of them is for example text containing a pipe character ({{!}}) which would require you to insert <code><nowiki>{{!}}</nowiki></code> instead of <code>{{!}}</code>, since using a "{{!}}" inside a template will break it.