Editing Template:Metal/art

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<!-- Allomancy -->
<noinclude>{{infobox|title=Metal subbox|id=metal/art|1=</noinclude>
 
 
|-
 
! colspan=2 style="padding: 0; margin: 0; width:100% text-align:center" | [[Allomancy]]
 
{{!}}-
 
{{!}}-
 
{{#if:{{{allomancy|}}}|{{row/kv|Power|{{{allomancy}}}}}}}
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
 
  +
{{#if:{{{type-a|}}}|{{row/kv|Type|{{{type-a}}}}}}}
{{{!}} width=100%
 
 
<!-- Feruchemy -->
{{!}}-
 
  +
{{#if:{{{feruchemy|}}}|{{row/header|[[Feruchemy]]}}}}
! colspan=2 align=center {{!}} [[{{{art}}}]]
 
  +
{{#if:{{{feruchemy|}}}|{{row/kv|Power|{{{feruchemy}}}}}}}
{{!}}-
 
{{#if:{{{power|}}}|{{row/kv|Power|{{{power}}}}}}}
+
{{#if:{{{type-f|}}}|{{row/kv|Type|{{{type-f}}}}}}}
 
<!-- Hemalurgy-->
{{#if:{{{type|}}}|{{row/kv|Type|{{{type}}}}}}}
 
{{#if:{{{user|}}}|{{row/kv|{{#switch:{{{art}}}|Allomancy=Misting|Feruchemy=Ferring}}|{{{user}}}}}}}
+
{{#if:{{{hemalurgy|}}}|{{row/header|[[Hemalurgy]]}}}}
  +
{{#if:{{{hemalurgy|}}}|{{row/kv|Power|{{{hemalurgy}}}}}}}
{{!}}}
 
  +
{{#if:{{{type-h|}}}|{{row/kv|Type|{{{type-h}}}}}}}
{{!}}-<noinclude>
 
}}
 
The {{t|metal/art}} template is used for adding a subbox to the {{t|metal}} infobox with information on a metal's properties in one of the [[Metallic Arts]].
 
 
=== Template ===
 
<pre class=mw-code>
 
{{metal/art
 
|art=
 
|power=
 
|type=
 
|user=
 
}}
 
</pre>
 
 
=== Parameters ===
 
Highlighted lines indicate '''mandatory''' parameters.
 
 
{{docs|title={{t|Metal}} Parameters}}
 
 
<!-- -------- -->
 
<!-- ROW: art -->
 
<!-- -------- -->
 
{{docs/row/required
 
|param= art
 
|desc= Use this to specify which one of the Metallic Arts this subbox is about<br />'''Note:''' The {{t|metal}} infobox calls this template three times, one for each Metallic Art; the values for this parameter are hard-coded in that template
 
|eg=
 
<code><nowiki>|art=Allomancy</nowiki></code><br />
 
<code><nowiki>|art=Feruchemy</nowiki></code><br />
 
<code><nowiki>|art=Hemalurgy</nowiki></code>
 
}}
 
 
<!-- ---------- -->
 
<!-- ROW: power -->
 
<!-- ---------- -->
 
{{docs/row/optional
 
|param= power
 
|desc= Use this to specify the metal's power in the relevant Metallic Art
 
|eg=
 
<code><nowiki>|power={{{allomancy|}}}</nowiki></code><br />
 
<code><nowiki>|power=Store wakefulness</nowiki></code><br />
 
}}
 
 
<!-- --------- -->
 
<!-- ROW: type -->
 
<!-- --------- -->
 
{{docs/row/optional
 
|param= type
 
|desc= Use this to specify how the metal is categorized in the relevant Metallic Art
 
|eg=
 
<code><nowiki>|type={{{type-a|}}}</nowiki></code><br />
 
<code><nowiki>|type=Cognitive</nowiki></code><br />
 
}}
 
 
<!-- --------- -->
 
<!-- ROW: user -->
 
<!-- --------- -->
 
{{docs/row/optional
 
|param= user
 
|desc= Use this to specify how the name for someone who can use this metal in the relevant Metallic Art<br />'''Note:''' The row generated by this parameter uses the <code><nowiki>{{{art}}}</nowiki></code> parameter to decide the title of the row (e.g. if passed <code>art=Allomancy</code>, the title of the row will be "Misting"); currently it is only valid for Allomancy and Feruchemy
 
|eg=
 
<code><nowiki>|user={{{misting|}}}</nowiki></code><br />
 
<code><nowiki>|user=Sentry</nowiki></code><br />
 
}}
 
 
|}
 
 
[[Category: Infoboxes]]
 

Please note that all contributions to The Coppermind are considered to be released under the CC4 by-nc-nd (see Coppermind:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)