Difference between revisions of "Template:Command box"
From Worms Knowledge Base
m (fixing TOC anchors) |
m (fix text selection) |
||
Line 5: | Line 5: | ||
--HIDDEN SECTION AND ANCHOR-- | --HIDDEN SECTION AND ANCHOR-- | ||
− | --><h3 id="{{#ifeq:{{{1|}}}|AlliedGroup| colour | {{anchorencode:{{{1}}}}} }}" style="height: 0px; width: 0px; overflow:hidden; position: absolute;">{{#ifeq:{{{1|}}}|AlliedGroup| {{{prefix|/}}}red, {{{prefix|/}}}blue, {{{prefix|/}}}green, {{{prefix|/}}}yellow, {{{prefix|/}}}magenta, or {{{prefix|/}}}cyan | {{{prefix|/}}}{{{1}}} }}</h3><!-- | + | --><h3 id="{{#ifeq:{{{1|}}}|AlliedGroup| colour | {{anchorencode:{{{1}}}}} }}" style="height: 0px; width: 0px; overflow:hidden; position: absolute; visibility: hidden;">{{#ifeq:{{{1|}}}|AlliedGroup| {{{prefix|/}}}red, {{{prefix|/}}}blue, {{{prefix|/}}}green, {{{prefix|/}}}yellow, {{{prefix|/}}}magenta, or {{{prefix|/}}}cyan | {{{prefix|/}}}{{{1}}} }}</h3><!-- |
--><div style="background-color: #CCDEFF; line-height: 1.5em;"><!-- | --><div style="background-color: #CCDEFF; line-height: 1.5em;"><!-- |
Latest revision as of 13:10, 23 August 2018
/{{{1}}}
/{{{1}}} {{{2}}}
{{{3}}}
{{{3}}}
{{{4}}}
This is a simple box for command and descriptions.
Usage
{{Command box |name|param |footnote |description text }}
Optional parameters
- prefix: defaults to
/