template:FindIcon  

Usage: {{FindIcon|gameid|icontype|subtype1|subtype2|begtest=}}

This template is designed to test for several possible locations of a default icon for a page. It is assumed that an icon= field, if one existed, has already been checked before this template was called. Return value is the ISIN of the icon to use.

Pages are tested in the following order. The first successful match will be returned:

  • "subtype1-subtype2_(gameid_icontype_Icon)"
  • "subtype1_(gameid_icontype_Icon)"
  • "subtype2_(gameid_icontype_Icon)"

If begtest= is not blank, instead of returning an ISIN, if found, this template will display a block of text begging for an icon to be uploaded, but only if no icon was found.


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
This template was created or is maintained by
Bludwyng
All the power in the universe in a small, flaming fairy package.

This page last modified 2008-08-04 13:18:01.