Template:TEMPLATE NAME/sandbox
Appearance
Character and language test sandbox
This sandbox is used to test how Template:TEMPLATE NAME behaves with special characters (such as Greek letters) and language-specific spans.
Basic examples
[edit]- Greek letter (direct character): α
- Greek letter (HTML entity): γ
- German span example: A
Within the template
[edit]Below are example calls of the template using these characters as parameters.
{{TEMPLATE NAME | title = Greek test: α γ | summary = Demonstrating Greek letters: α, β, γ, and entities like γ. | attr1 = Direct Greek: α β γ δ | attr2 = Entity Greek: α β γ δ | attr3 = German label: <span lang="de">A</span>, English label: A }}
Preview the page to check if:
- Greek characters (α, β, γ, δ) display correctly.
- HTML entities (α, β, γ, δ) render as the expected symbols.
- The A is kept as a German-language span and does not break the layout.
Notes
[edit]- Use this sandbox to experiment with different scripts (Greek, Cyrillic, etc.).
- Test right-to-left scripts by adding spans with
lang="ar"orlang="he". - If the template trims or escapes some of these, adjust the template code accordingly.