StarfinderWiki:Templates

From StarfinderWiki
Compass rose 150.png

This page is part of the Templates project.
Project leader: AdministratorsDiscussionStarfinderWiki talk:Templates.

StarfinderWiki uses templates to simplify and standardize complex wiki formatting, automatically categorize content, or enable text to be repeated across many pages. This project aims to make templates work harder for StarfinderWiki, reducing the need for repetitive work and simplifying adherence to complex categorization.

Implementation

Autocategorization

When possible, templates that take a limited set of common parameters with relevant categories should automatically apply those categories. For instance, a {{Book}} with the Rules parameter should detect if the book uses PFRPG or D&D 3.5 rules and categorize the book appropriately as Category:PFRPG sourcebooks or Category:D&D 3.5 sourcebooks.

Semantics

To enable consistent, intuitive edits, templates should allow for simple, semantic use. For instance, when building a list, it should be possible to use standard wiki markup for lists regardless of how it's rendered. Templates should abstract complex wiki code, HTML, and CSS.

Reusable content

If text needs be consistently applied across many articles, such as a list or common reference, it should be templated.

Documenting templates

All templates should have some degree of documentation. The {{Documentation}} template provides much of the framework for rendering and linking documentation to templates.

Progress

This project was created on November 23, 2016, by Oznogon.