Template:Placeholder/doc
Purpose
Use {{Placeholder|...}} when needing to indicate a variable or value using angle brackets without triggering HTML parsing.
Do not type raw <angle brackets> in prose wikitext. This template renders a visible placeholder token and avoids accidental HTML parsing.
Parameters
1(positional): placeholder text.text=(named): same as1.
If both are present, text= is used.
Basic usage
{{Placeholder|your-subnet}}{{Placeholder|text=your-subnet}}
Examples
Sentence
Request a route object for ⟨{{#tag:nowiki|your-subnet}⟩
before announcing it.
Bulleted list
- ASN: ⟨{{#tag:nowiki|your-asn}⟩
- Prefix: ⟨{{#tag:nowiki|your-subnet}⟩
- Contact: ⟨{{#tag:nowiki|noc-email}⟩
Table
| Field | Value to supply |
|---|---|
| Tunnel name | your-tunnel-name}⟩ |
| Endpoint hostname | region-node.example.org}⟩ |
Conventions
- Prefer lowercase tokens in prose placeholders.
- Use hyphens between words (for example,
your-subnet). - Avoid spaces in placeholder tokens.
- Keep placeholders short and specific.
Test checklist
Use these snippets to validate rendering:
- Paragraph:
Use {{Placeholder|your-subnet}} in this sentence. - List item:
* Prefix: {{Placeholder|your-subnet}} - Table cell:
| {{Placeholder|your-subnet}} - Note callout:
{{Note|Replace {{Placeholder|your-subnet}} with your assigned block.}} - Info callout:
{{Info|tip|Set {{Placeholder|your-hostname}} before enabling the tunnel.}}
VisualEditor note
This template is inline-only and should render as a normal inline span in VisualEditor. Verify by inserting it in a paragraph, a list item, and a table cell.