Using Templates
Templates in Origin Wiki help maintain consistent formatting and structure across pages. This guide explains how to use templates effectively to enhance your wiki contributions.
What Are Templates?
Templates are pre-formatted content blocks that can be inserted into pages to maintain consistent formatting and structure. They're especially useful for:
- Creating standardized infoboxes for profiles
- Adding notices or warnings to pages
- Formatting citations consistently
- Creating navigation boxes
- Displaying metadata in a structured way
Common Templates
Origin Wiki offers several templates for common use cases:
Infobox Templates
Standardized boxes that display key information about the subject at the top-right of an article.
- Infobox Person
- Infobox Project
- Infobox Organization
- Infobox Event
Notice Templates
Banners that indicate issues or special status of an article.
- Citation Needed
- Under Construction
- Disputed
- Stub
Citation Templates
Formats for properly citing different types of sources.
- Cite Web
- Cite News
- Cite Book
- Cite Journal
Navigation Templates
Boxes that help readers navigate between related articles.
- Nav Box
- See Also
- Related Topics
- Series Navigation
Basic Template Usage
Templates are included in articles using double curly braces:
Simple Template
This inserts the "Infobox person" template with no parameters.
Template with Parameters
This inserts the template with specific information.
Common Template Types
Origin Wiki offers several common template types:
- Infobox templates
- Notice templates
- Citation templates
- Navigation templates
How to Use Templates
To add a template to a page:
- Find the template you need:
Browse the Templates Directory to find appropriate templates for your content.
- Add the template to your page:
When editing a page, place your cursor where you want the template to appear.
- Insert the template:
Type
{{
followed by the template name, then fill in any required parameters. - Save your changes:
Preview your page to ensure the template displays correctly, then save the page.
Template Parameters
Most templates accept parameters that customize their appearance or content. Parameters are specified in the format parameter=value
.
For example, the Infobox Person template might be used like this:
Alternatively, you can manually add templates using the following syntax:
Finding Template Documentation
Each template has its own documentation that explains how to use it properly:
- Go to the template page (e.g., Template:Infobox Person)
- Look for the "Documentation" section below the template code
- Read about available parameters and their expected values
- Check example usage to see how the template is typically implemented
Template Best Practices
- Consistency: Use the same templates across similar articles to maintain a uniform appearance
- Simplicity: Don't over-template your pages; use templates only when they add value
- Completeness: When using infobox templates, fill in as many applicable fields as possible
- Preview: Always preview your page after adding templates to ensure they display correctly
- Documentation: Consult the template documentation (on the template's talk page) for specific usage instructions