Template:UnitsExeByNo/doc

This template will call the requested template for each and every unit in order by Unit ID. Functionally the same as Template:UnitsExeById.

Syntax: Example:

This will execute the following template calls

...

This is useful so that the unit lists only need to be managed in one place... here

Each template is called without line-breaks. This allows the template to filter which units it wants to return info for. (based on it's own logic and/or the optional parameter) A side effect of this is that there are no line breaks that are needed for wiki tables. You can work around this by adding in your own line breaks in the template being called.

Here is an example where the template would compare the element of the unit with the element passed in via the optional parameter.