Template:BestiaryQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with '<noinclude>This is the Bestiary Query template, used to search beastiary articles. </noinclude><includeonly> Opinion items that match query parameters: {{#ask:[[Category:Bestiar...')
 
(updated to include TEST EVALUATE fields; layout formatting)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This is the Bestiary Query template, used to search beastiary articles.
<noinclude>This is the [[Special:RunQuery/BestiaryQuery|Bestiary Query]] template, used to test the search parameters on beastiary articles.
</noinclude><includeonly>
</noinclude><includeonly>
Opinion items that match query parameters:
Opinion items that match query parameters:


{{#ask:[[Category:Bestiary]]
{{#ask:[[Category:Bestiary]]
{{#if:{{{MaxSkill|}}}|[[MaxSkillCap is::~*{{{MaxSkill|}}}*]]}}
{{#if:{{{simulevel|}}}|[[overall relative creature level is::{{#if:{{{SimuL|}}}|{{{SimuL}}}}}{{{simulevel|}}}]]}}
{{#if:{{{MinSkill|}}}|[[MinSkillCap is::~*{{{MinSkill|}}}*]]}}
{{#if:{{{naturallevel|}}}|[[natural attack creature level is::{{#if:{{{NatL|}}}|{{{NatL}}}}}{{{naturallevel|}}}]]}}
{{#if:{{{Skin|}}}|[[Creature is skinnable::~*{{{Skin|}}}*]]}}
{{#if:{{{weaponlevel|}}}|[[weapon attack creature level is::{{#if:{{{WeapL|}}}|{{{WeapL}}}}}{{{weaponlevel|}}}]]}}
{{#if:{{{Box|}}}|[[Creature has boxes::~*{{{Box|}}}*]]}}
{{#if:{{{defenselevel|}}}|[[defense creature level is::{{#if:{{{DefL|}}}|{{{DefL}}}}}{{{defenselevel|}}}]]}}
{{#if:{{{Coin|}}}|[[Creature has coins::~*{{{Coin|}}}*]]}}
{{#if:{{{MaxSkill|}}}|[[MaxSkillCap is::{{#if:{{{MaxMod|}}}|{{{MaxMod}}}}}{{{MaxSkill|}}}]]}}
{{#if:{{{Gem|}}}|[[Creature has gems::~*{{{Gem|}}}*]]}}
{{#if:{{{MinSkill|}}}|[[MinSkillCap is::{{#if:{{{MinMod|}}}|{{{MinMod}}}}}{{{MinSkill|}}}]]}}
{{#if:{{{Manip|}}}|[[Is manipulatable::~*{{{Manip|}}}*]]}}
{{#if:{{{Skin|}}}|[[Creature is skinnable::{{{Skin|}}}]]}}
{{#if:{{{Spell|}}}|[[Creature casts spells::~*{{{Spell|}}}*]]}}
{{#if:{{{Box|}}}|[[Creature has boxes::{{{Box|}}}]]}}
{{#if:{{{SAttack|}}}|[[Creature has special attacks::~*{{{SAttack|}}}*]]}}
{{#if:{{{Coin|}}}|[[Creature has coins::{{{Coin|}}}]]}}
{{#if:{{{BStab|}}}|[[Creature is backstabbable::~*{{{BStab|}}}*]]}}
{{#if:{{{Gem|}}}|[[Creature has gems::{{{Gem|}}}]]}}
{{#if:{{{Construct|}}}|[[Creature is construct::~*{{{Construct|}}}*]]}}
{{#if:{{{Manip|}}}|[[Is manipulatable::{{{Manip|}}}]]}}
{{#if:{{{Corp|}}}|[[Creature is corporeal::~*{{{Corp|}}}*]]}}
{{#if:{{{Spell|}}}|[[Creature casts spells::{{{Spell|}}}]]}}
{{#if:{{{Undead|}}}|[[Creature is evil/undead::~*{{{Undead|}}}*]]}}
{{#if:{{{SAttack|}}}|[[Creature has special attacks::{{{SAttack|}}}]]}}
{{#if:{{{Sneak|}}}|[[Creature is stealthy::~*{{{Sneak|}}}*]]}}
{{#if:{{{BStab|}}}|[[Creature is backstabbable::{{{BStab|}}}]]}}
{{#if:{{{Range|}}}|[[Creature attack range is::~*{{{Range|}}}*]]}}
{{#if:{{{Construct|}}}|[[Creature is construct::{{{Construct|}}}]]}}
{{#if:{{{Body|}}}|[[Body type is::~*{{{Body|}}}*]]}}
{{#if:{{{Corp|}}}|[[Creature is corporeal::{{{Corp|}}}]]}}
{{#switch:{{{Undead|}}}|n|no|not|f|false=[[Creature is cursed::no]][[Creature is undead::no]]|cursed=[[Creature is cursed::true]]|undead=[[Creature is undead::true]]|}}
{{#if:{{{Loc|}}}|[[Found in::~*{{{Loc|}}}*]]}}
{{#if:{{{MaxSkin|}}}|[[Max skin value is::~*{{{MaxSkin|}}}*]]}}
{{#if:{{{Sneak|}}}|[[Creature is stealthy::{{{Sneak|}}}]]}}
{{#if:{{{SkinSkill|}}}|[[Requires skinning skill::~*{{{SkinSkill|}}}*]]}}
{{#if:{{{Range|}}}|[[Creature attack range is::{{{Range|}}}]]}}
{{#if:{{{rare|}}}|[[rare::{{{rare|}}}]]}}
|mainlabel=Critter|?MinSkillCap=Min Skill|?MaxSkillCap=Max Skill}}
<!-- ORIGINAL:
</includeonly>
{{#if:{{{Body|}}}|[[Body type is::{{{Body|}}}]]}}
--END ORIGINAL-->
{{#if:{{{BodyType|}}}|[[Body type is::{{{BodyType|}}}]]}}
{{#if:{{{Loc|}}}|[[Found in::{{{Loc|}}}]]}}
{{#if:{{{SkinPart|}}|{{#switch:{{{SkinPart}}}|skin=[[creature has skin::true]]|bone|bones=[[creature has bones::true]]|part|parts=[[creature has parts::true]]}}}}
{{#if:{{{MaxSkin|}}}|[[Max skin value is::{{{MaxSkin|}}}]]}}
{{#if:{{{SkinSkill|}}}|[[Requires skinning skill::{{{SkinSkill|}}}]]}}
|?overall relative creature level is=Creature<br>Level
|?MinSkillCap is=Min Skill
|?MaxSkillCap is=Max Skill
|?Rare=Invasion/Quest<br>Creature}}
</includeonly><noinclude>{{Cat|Templates,Search Templates}}</noinclude>

Latest revision as of 02:21, 17 June 2020

This is the Bestiary Query template, used to test the search parameters on beastiary articles.