Difference between revisions of "Template:Command box"

From Worms Knowledge Base

Jump to: navigation, search
(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="display: none;">{{#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;">{{#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}}} {{{2}}}
{{{3}}}

{{{4}}}

This is a simple box for command and descriptions.

Usage

{{Command box
|name|param
|footnote
|description text
}}

Optional parameters

  • prefix: defaults to /
Personal tools