1,690
edits
Changes
This could be useful to automatically update creature location categories, just like the infobox adds the type category
<includeonly>
==Location==
{{ #if:{{{location1|}}} |
; {{{location1}}}
: {{{desc1}}}
[[Category:{{{location1}}} Creatures]]
}}
{{ #if:{{{location2|}}} |
; {{{location2}}}
: {{{desc2}}}
[[Category:{{{location2}}} Creatures]]
}}
{{ #if:{{{location3|}}} |
; {{{location3}}}
: {{{desc3}}}
[[Category:{{{location3}}} Creatures]]
}}
{{ #if:{{{location4|}}} |
; {{{location4}}}
: {{{desc4}}}
[[Category:{{{location4}}} Creatures]]
}}
{{ #if:{{{location5|}}} |
; {{{location5}}}
: {{{desc5}}}
[[Category:{{{location5}}} Creatures]]
}}
{{ #if:{{{location6|}}} |
; {{{location6}}}
: {{{desc6}}}
[[Category:{{{location6}}} Creatures]]
}}
{{ #if:{{{location7|}}} |
; {{{location7}}}
: {{{desc7}}}
[[Category:{{{location7}}} Creatures]]
}}
{{ #if:{{{location8|}}} |
; {{{location8}}}
: {{{desc8}}}
[[Category:{{{location8}}} Creatures]]
}}
{{ #if:{{{location9|}}} |
; {{{location9}}}
: {{{desc9}}}
[[Category:{{{location9}}} Creatures]]
}}
</includeonly>
==Location==
{{ #if:{{{location1|}}} |
; {{{location1}}}
: {{{desc1}}}
[[Category:{{{location1}}} Creatures]]
}}
{{ #if:{{{location2|}}} |
; {{{location2}}}
: {{{desc2}}}
[[Category:{{{location2}}} Creatures]]
}}
{{ #if:{{{location3|}}} |
; {{{location3}}}
: {{{desc3}}}
[[Category:{{{location3}}} Creatures]]
}}
{{ #if:{{{location4|}}} |
; {{{location4}}}
: {{{desc4}}}
[[Category:{{{location4}}} Creatures]]
}}
{{ #if:{{{location5|}}} |
; {{{location5}}}
: {{{desc5}}}
[[Category:{{{location5}}} Creatures]]
}}
{{ #if:{{{location6|}}} |
; {{{location6}}}
: {{{desc6}}}
[[Category:{{{location6}}} Creatures]]
}}
{{ #if:{{{location7|}}} |
; {{{location7}}}
: {{{desc7}}}
[[Category:{{{location7}}} Creatures]]
}}
{{ #if:{{{location8|}}} |
; {{{location8}}}
: {{{desc8}}}
[[Category:{{{location8}}} Creatures]]
}}
{{ #if:{{{location9|}}} |
; {{{location9}}}
: {{{desc9}}}
[[Category:{{{location9}}} Creatures]]
}}
</includeonly>