Difference between revisions of "Template:Magic system"

From The Coppermind
Jump to navigation Jump to search
m (tweak)
m
Line 8: Line 8:
 
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
 
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
   
  +
<!-- world & universe -->
<!-- -->{{row/kv| World |{{#if:{{{world|}}}|[[{{{world}}}]]|''Unknown''}}|}}
 
  +
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
 
<!-- -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
+
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
 
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}}
  +
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
   
  +
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
 
}}<!--
 
}}<!--
   
Line 18: Line 21:
 
-->[[Category: Magic]]<!--
 
-->[[Category: Magic]]<!--
 
-->[[Category: Magic systems]]<!--
 
-->[[Category: Magic systems]]<!--
  +
  +
apply {{infobox/no-world}} if none of the world parameters are present
  +
-->{{#if:<!--
  +
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
  +
-->||{{infobox/no-world}}<!--
  +
-->}}<!--
   
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--

Revision as of 21:41, 9 December 2019

Magic system
Featured In {{{books}}}

Holds information on a magic system.

It automatically adds pages to Category: Magic, Category: Magic systems

{{magic system
|image=
|related=
|focus=
|prereq=
|type=
|world=
|books=
}}