Ad placeholder

Template:Passive feature page: Difference between revisions

Jump to navigation Jump to search
Use cargo templates for passives granted by weapons/creatures/equipment
(Add categories)
(Use cargo templates for passives granted by weapons/creatures/equipment)
Line 156: Line 156:
Granted by the feats:
Granted by the feats:
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
   }}{{#cargo_query:
   }}{{#if: {{{granted by spells|}}} | {{blank}}
tables=weapons
|fields= _pageName = page, name, legacy
|where=weapon_passives HOLDS "{{PAGENAME}}" OR passives_main_hand HOLDS "{{PAGENAME}}" OR passives_off_hand HOLDS "{{PAGENAME}}"
|order by=weapons._pageName
|more results text=
|intro=<p>Granted by the weapons:<ul style="list-style: none;">
|outro=</ul></p>
|default=
|format=template
|named args = yes
|template=Passive sources/format
}}{{#cargo_query:
tables=equipment
|fields= _pageName = page, name, legacy
|where=passives HOLDS "{{PAGENAME}}"
|order by=equipment._pageName
|more results text=
|intro=<p>Granted by the equipment:<ul style="list-style: none;">
|outro=</ul></p>
|default=
|format=template
|named args = yes
|template=Passive sources/format
}}{{#if: {{{granted by spells|}}} | {{blank}}


Granted by the spells: {{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }}
Granted by the spells: {{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }}
   }}{{#if: {{{used by creatures|}}} | {{blank}}
   }}{{Passive weapons list|{{PAGENAME}}}}{{Passive equipment list|{{PAGENAME}}}}{{Passive creatures list|{{PAGENAME}}}}{{#if:{{{other ways to learn|}}} | {{blank}}
 
Used by creatures: {{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
  }}{{#if:{{{other ways to learn|}}} | {{blank}}
    
    
Other ways to learn:
Other ways to learn:

Navigation menu