User:C.Ezra.M/code

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Bulbapedia bulb.png This template is intended to be moved into one of Bulbapedia's main content spaces.
Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this template.

{{{1}}}



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)


Description

Use

This template serves as the replacement for the <code> tag. It also disables all wiki markup of the first parameter if desired (<nowiki> can still be freely inserted).

Syntax

{{User:C.Ezra.M/code|text|if yes, disable wiki formatting|style=additional CSS styling}}

Parameters

  • 1: The tag's content.
  • 2: yes if the wiki formatting is to be disabled in the entire tag. (HTML escape entities, e.g. &lt; as < are still interpreted.) The simplest way to enable wiki formatting is to put a pipe | before the closing braces }}. (Default: yes)
  • style: Additional styles to apply.

Sample output

  • {{User:C.Ezra.M/code|[[Main Page]]}}

[[Main Page]]

  • {{User:C.Ezra.M/code|[[Main Page]]|}}

Main Page