Template:Tag

From RepRap
Jump to: navigation, search


This "tag" template is useful for categorizing wiki pages, especially the "categories" section on pages that use Template:Development.

Usage

If a page describes a "delta" machine, it should have {{tag|delta}} in the categories section.

If a page describes a "Mendel Variations" machine, it should have {{tag|Mendel Variations}} in the categories section.

If a page describes a laser-cut machine, it should have {{tag|LaserCut}} in the categories section.

If a page describes a RepStrap, it should have {{tag|RepStrap}} in the categories section.

A laser-cut Mendel-variation delta RepStrap should have a "categories" line in the Template:Development that looks something like this:

|categories = {{tag|Mendel Variations}} {{tag|LaserCut}} {{tag|delta}} {{tag|RepStrap}}

The tags in that "categories" line in, for example, the Rroofl page do two things:

  • (a) A reader viewing the "Category: LaserCut" page sees a link to the "Rroofl" page.

Alas, there are many pages on this wiki that make one or the other of the following mistakes:

Wrong: only does (b), fails to do (a): |categories = [[:Category:Mendel Variations|Mendel Variations]] [[:Category:LaserCut|LaserCut]] [[:Category:RepStrap|RepStrap]]
Wrong: only does (a), fails to do (b): |categories = [[Category:Mendel Variations]] [[Category:LaserCut]] [[Category:RepStrap]]

History

Based on http://wikiindex.org/Template:Tag . See http://wikiindex.org/RepRap_wiki for an example of how that wiki uses a nearly identical "tag" template.