Difference between revisions of "Template:Element"

From Krafties
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|style="text-align:center"|{{{strong|?}}}
 
|style="text-align:center"|{{{strong|?}}}
 
|-
 
|-
!Weakness
+
!Weak against
 
|style="text-align:center"|{{{weak|?}}}
 
|style="text-align:center"|{{{weak|?}}}
 
|}</onlyinclude>
 
|}</onlyinclude>
Line 18: Line 18:
 
This template is a form for the individual [[Elements]] pages
 
This template is a form for the individual [[Elements]] pages
 
===Commands===
 
===Commands===
:How to fill <code><nowiki>{{Element|element=|file=|soul=|strong=|weak=}}</nowiki></code>
+
:How to fill <code><nowiki>{{Element|element=|soul=|strong=|weak=}}</nowiki></code>
 
:*'''<code><nowiki>element=</nowiki></code>''' element type
 
:*'''<code><nowiki>element=</nowiki></code>''' element type
 
:*'''<code><nowiki>soul=</nowiki></code>''' is it available as a soul? use <code><nowiki>{{yes}}</nowiki></code> or <code><nowiki>{{no}}</nowiki></code> as answers
 
:*'''<code><nowiki>soul=</nowiki></code>''' is it available as a soul? use <code><nowiki>{{yes}}</nowiki></code> or <code><nowiki>{{no}}</nowiki></code> as answers
Line 26: Line 26:
 
:*'''<code><nowiki>file=</nowiki></code>''' (OPTIONAL), if the filename of image is different than "<code>Krafties symbol element.png</code>" (skip the <code>File:</code>)''
 
:*'''<code><nowiki>file=</nowiki></code>''' (OPTIONAL), if the filename of image is different than "<code>Krafties symbol element.png</code>" (skip the <code>File:</code>)''
 
:*'''<code><nowiki>float=</nowiki></code>''' (OPTIONAL) the table is to the '''right''' by default, you can choose <code>left</code>,<code>right</code> or <code>none</code>
 
:*'''<code><nowiki>float=</nowiki></code>''' (OPTIONAL) the table is to the '''right''' by default, you can choose <code>left</code>,<code>right</code> or <code>none</code>
 +
:*'''<code><nowiki>bgcolor=</nowiki></code>''' (OPTIONAL) changes the background color behind the symbol
  
 
==See Also==
 
==See Also==
 
{{Useful Templates}}
 
{{Useful Templates}}
 
|}
 
|}

Latest revision as of 14:13, 16 April 2017

? Element
Craftable Soul? ?
PvP Elemental Enemies
Strong against ?
Weak against ?
Documentation icon Template documentation ( view · talk · edit)

Template:Element/doc

The above documentation is transcluded from Template:Element/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>

This template is a form for the individual Elements pages

Commands[edit]

How to fill {{Element|element=|soul=|strong=|weak=}}
  • element= element type
  • soul= is it available as a soul? use {{yes}} or {{no}} as answers
  • strong= what is this element strong against?
  • weak= what is this element weak against?
Optional Commands
  • file= (OPTIONAL), if the filename of image is different than "Krafties symbol element.png" (skip the File:)
  • float= (OPTIONAL) the table is to the right by default, you can choose left,right or none
  • bgcolor= (OPTIONAL) changes the background color behind the symbol

See Also[edit]