Difference between revisions of "Template:Magic"

From The Coppermind
Jump to navigation Jump to search
m
(rm featured in)
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{infobox
 
{{infobox
|title={{{place|{{PAGENAME}}|}}}|id=magic|
+
|title={{{name|{{PAGENAME}}}}}|id=magic|
 
<!-- image -->
 
<!-- image -->
 
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
 
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
Line 6: Line 6:
 
{{#if:{{{related|}}} |{{row/kv| Related to |{{{related}}}<!-- -->}}|}}
 
{{#if:{{{related|}}} |{{row/kv| Related to |{{{related}}}<!-- -->}}|}}
 
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
 
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}}
+
{{#if:{{{era|}}} |{{row/kv| Era |[[{{{era}}}]]{{era/{{{era}}}|}}<!-- -->}}|}}
 
<!-- location -->
 
<!-- location -->
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
+
{{#if:{{{world|}}} |{{row/kv| World of Origin |{{place tag|{{{world}}}|}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv| World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
+
{{#if:{{{earth|}}} |{{row/kv| World of Origin |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
+
{{#if:{{{'world|}}} |{{row/kv| World of Origin |{{{'world}}} {{raw/world}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
+
{{#if:{{{raw-world|}}} |{{row/kv| World of Origin |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
<!-- featured in -->
 
{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
 
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->[[Category: Magic]]<!--
+
-->{{cat ns|Magic|only=0}}<!--
   
 
-->{{#if:<!--
 
-->{{#if:<!--
Line 22: Line 21:
 
-->||{{infobox/no-world}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->}}<!--
 
-->}}<!--
  +
  +
-->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!--
  +
  +
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
  +
<pre class=mw-code>
Holds information on a magic term.
 
  +
{{magic
  +
|image=
  +
|related=
  +
|type=
  +
|era=
  +
|earth=|world=|universe=
  +
}}
  +
</pre>
  +
  +
Infobox template for articles about a '''{{PAGENAME}}''' term. It creates a {{PAGENAME}} infobox and categorizes the article appropriately.
  +
  +
For help on how to use Templates, see [[:Help:Templates]].
  +
  +
===Unnamed Parameters===
  +
None
  +
  +
===Named Parameters===
  +
;<code>example</code>
  +
:Description of what this is for.
  +
:Details on how to use.
  +
:Optional example, if needed.
  +
  +
;<code>image</code>
  +
:The image to use in the article's infobox.
  +
:Note: an <code>image-artist</code> parameter will be automatically created and filled in after saving your work.
  +
  +
;<code>related</code>
  +
:A list of any other articles that the term is closely related to.
  +
  +
;<code>type</code>
  +
:type
  +
  +
;<code>era</code>
  +
:era
  +
  +
;<code>earth</code>
  +
:earth
  +
  +
;<code>world</code>
  +
:World in which this term is relevant.
   
  +
;<code>universe</code>
There are two required parameters, the {{{world}}} that the place inhabits, and the {{{books}}} or series the place is set upon.
 
  +
:Universe in which this term is relevant.
   
 
[[Category: Infoboxes]]
 
[[Category: Infoboxes]]
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 18:38, 15 March 2024

Magic
{{magic
|image=
|related=
|type=
|era=
|earth=|world=|universe=
}}

Infobox template for articles about a Magic term. It creates a Magic infobox and categorizes the article appropriately.

For help on how to use Templates, see Help:Templates.

Unnamed Parameters

None

Named Parameters

example
Description of what this is for.
Details on how to use.
Optional example, if needed.
image
The image to use in the article's infobox.
Note: an image-artist parameter will be automatically created and filled in after saving your work.
related
A list of any other articles that the term is closely related to.
type
type
era
era
earth
earth
world
World in which this term is relevant.
universe
Universe in which this term is relevant.

Articles using Template