Template:Check

Purpose
This template is a simple logical check template intended to be used as a tool with other templates that checks to see if the first element exists within a specified list of words. It returns a 1 if it is and a 0 if it isn't. An example is to check the name of a page against a list of page names to see if the current page is speficied within that list of page names.

Usage
To use this template, type:

If the Check Text is found to be a word or phrase specified in the Compared Text, the template will return a 1. If it's not, it'll return a 0. When using this template in other templates, you should probably use this in a conditional statement.

And example of its use would be:

If this were placed on either the Link, Ganondorf, or Princess Zelda page, the template would return a 1, on any other page it'd return a 0.

Examples
A basic example of how it the template can work is as follows: A built-in safeguard prevents null values from returning false positives, as seen with: