User:TedSwippet/Sandbox

{{Documentation|content=

Usage
This template generates a hatnote for use at the top of pages or page sections where content is specific to a country, geographical region, or polity. It also caters for assorted other sub-groups of investors.

Keeping all of these hatnotes in a single template eases maintenance issues, and helps to maintain a consistent style across them.

Invoke with:

Parameters: Parameters may also be supplied by position, in the order shown above.
 * name: Name of country, geographic region, polity, or other target audience grouping (for example "Belgium"). Enumerated. Required. See Enumerations below for valid values, and how they will appear.
 * item: Scope of coverage, for example "page", "section", and so on. Optional. Default "article".

As a special case, if name is "US", this template invokes US, and forwards any additional supplied parameters.

Examples
Using results in:

Using results in:

Countries and polities
Australia

Belgium

Brazil

Canada

EU European Union

Germany

India

Ireland

Italy

Japan

Netherlands

Singapore

Spain

Taiwan

UK United Kingdom

Other valid enumerations
Global

Non-US

US expat

US expat in Japan

US expat in UK US expat in the UK

Non-US in US Non-US in the US

Pass-through invocations
US United States

US (with )

US (with )

Invalid or missing parameters
Elbonia

(No parameters supplied)