Template:BestiaryQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(bugfix)
(updated to include TEST EVALUATE fields; layout formatting)
 
(7 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:{{{simulevel|}}}|[[overall relative creature level is::{{#if:{{{SimuL|}}}|{{{SimuL}}}}}{{{simulevel|}}}]]}}
{{#if:{{{naturallevel|}}}|[[natural attack creature level is::{{#if:{{{NatL|}}}|{{{NatL}}}}}{{{naturallevel|}}}]]}}
{{#if:{{{weaponlevel|}}}|[[weapon attack creature level is::{{#if:{{{WeapL|}}}|{{{WeapL}}}}}{{{weaponlevel|}}}]]}}
{{#if:{{{defenselevel|}}}|[[defense creature level is::{{#if:{{{DefL|}}}|{{{DefL}}}}}{{{defenselevel|}}}]]}}
{{#if:{{{MaxSkill|}}}|[[MaxSkillCap is::{{#if:{{{MaxMod|}}}|{{{MaxMod}}}}}{{{MaxSkill|}}}]]}}
{{#if:{{{MaxSkill|}}}|[[MaxSkillCap is::{{#if:{{{MaxMod|}}}|{{{MaxMod}}}}}{{{MaxSkill|}}}]]}}
{{#if:{{{MinSkill|}}}|[[MinSkillCap is::{{#if:{{{MinMod|}}}|{{{MinMod}}}}}{{{MinSkill|}}}]]}}
{{#if:{{{MinSkill|}}}|[[MinSkillCap is::{{#if:{{{MinMod|}}}|{{{MinMod}}}}}{{{MinSkill|}}}]]}}
Line 16: Line 20:
{{#if:{{{Construct|}}}|[[Creature is construct::{{{Construct|}}}]]}}
{{#if:{{{Construct|}}}|[[Creature is construct::{{{Construct|}}}]]}}
{{#if:{{{Corp|}}}|[[Creature is corporeal::{{{Corp|}}}]]}}
{{#if:{{{Corp|}}}|[[Creature is corporeal::{{{Corp|}}}]]}}
{{#if:{{{Undead|}}}|[[Creature is evil/undead::{{{Undead|}}}]]}}
{{#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:{{{Sneak|}}}|[[Creature is stealthy::{{{Sneak|}}}]]}}
{{#if:{{{Sneak|}}}|[[Creature is stealthy::{{{Sneak|}}}]]}}
{{#if:{{{Range|}}}|[[Creature attack range is::{{{Range|}}}]]}}
{{#if:{{{Range|}}}|[[Creature attack range is::{{{Range|}}}]]}}
{{#if:{{{rare|}}}|[[rare::{{{rare|}}}]]}}
<!-- ORIGINAL:
{{#if:{{{Body|}}}|[[Body type is::{{{Body|}}}]]}}
{{#if:{{{Body|}}}|[[Body type is::{{{Body|}}}]]}}
--END ORIGINAL-->
{{#if:{{{BodyType|}}}|[[Body type is::{{{BodyType|}}}]]}}
{{#if:{{{Loc|}}}|[[Found in::{{{Loc|}}}]]}}
{{#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:{{{MaxSkin|}}}|[[Max skin value is::{{{MaxSkin|}}}]]}}
{{#if:{{{SkinSkill|}}}|[[Requires skinning skill::{{{SkinSkill|}}}]]}}
{{#if:{{{SkinSkill|}}}|[[Requires skinning skill::{{{SkinSkill|}}}]]}}
|?overall relative creature level is=Creature<br>Level
|mainlabel=Critter|?MinSkillCap is=Min Skill|?MaxSkillCap is=Max Skill}}
|?MinSkillCap is=Min Skill
</includeonly>
|?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.