FANDOM


Book Pile Top small Template documentation[edit] [purge]
This documentation is transcluded from Template:NewForm/doc.
Template:NewForm invokes Module:NewForm using Lua

About

Puts a box similar to <pre> around <code>. Makes the background and border of <code> and <pre> boxes more transparent.

Usage

{{NewForm|<tag>|<message>}}

Syntax

Tag

Accepted values (case sensitive):

  • c for <code>
  • p for <pre>

Message

The text you want to be inside the tags.

Use {{!}} for a pipe character(|) and {{=}} for an equality sign(=).

Comparison

This is the normal <pre> tag.
This is the new <pre> tag.

This is the normal <code> tag. This is the new <code> tag.

Samples

{{NewForm|c|{{!}}detail5 {{=}} Facts}} becomes |detail5 = Facts
Community content is available under CC-BY-SA unless otherwise noted.