Jump to content

Template:Requires

From Wikiciv

Lists what an article needs before it can be made or done. Every name is a hard requirement: all of them are needed. The Tech tree is drawn from these lists.

Usage

Put the template in the article's Dependencies section and give one article title per parameter, up to 20:

== Dependencies ==
{{Requires|Iron|Carbon|Fire}}
{{Unlocks}}
  • Use article titles only, without brackets. A title that has no article yet is fine: it shows as a red link and as a missing article on the tech tree.
  • If any one of several things will do, list those with Template:Requires any instead.
  • For something found in nature that needs nothing first, write {{Requires}} with no names. The article is then marked as a starting point.
  • Do not list what the article leads to. That list is built automatically from the other articles; Template:Unlocks links to it.

What it does

Each name becomes a link, and the article is added to Category:Requires NAME. That category is the list of everything that needs NAME.