Difference between revisions of "Template:Command box"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (update with new parameter: "prefix") |
m (fixing TOC anchors) |
||
Line 5: | Line 5: | ||
--HIDDEN SECTION AND ANCHOR-- | --HIDDEN SECTION AND ANCHOR-- | ||
− | --><h3 id="{{#ifeq:{{{1|}}}|AlliedGroup| colour | {{anchorencode:{{{1}}}}} }}" style=" | + | --><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><!-- |
--><div style="background-color: #CCDEFF; line-height: 1.5em;"><!-- | --><div style="background-color: #CCDEFF; line-height: 1.5em;"><!-- |
Revision as of 12:54, 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
/