Template:Command: Difference between revisions

Added wrappable block styling for long commands.
No edit summary
Line 1: Line 1:
<includeonly><code {{#if: {{{long|}}} | style="display:block;padding:0.8em 1em;word-wrap:break-word" | class="nowrap" }}>{{{b|}}}/[[Commands#{{{1}}}|{{ lc: {{{1}}} }}{{{b|}}}]] {{
<includeonly><code {{#if: {{{long|}}} | style="display:block;padding:0.8em 1em;margin-bottom:0.4em;word-wrap:break-word" | class="nowrap" }}>{{{b|}}}/[[Commands#{{{1}}}|{{ lc: {{{1}}} }}{{{b|}}}]] {{
   #switch: {{ lc: {{{2}}} }}
   #switch: {{ lc: {{{2}}} }}
   | ? | options = {{
   | ? | options = {{