Difference between revisions of "Template:Element"

From Krafties
Jump to navigation Jump to search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>{| class=bluetable style="width:250px;float:{{{float|right}}};text-align:center;margin:8px"
 
<onlyinclude>{| class=bluetable style="width:250px;float:{{{float|right}}};text-align:center;margin:8px"
!colspan=2|{{{1|?}}} Element
+
!colspan=2|{{{element|?}}} Element
 
|-
 
|-
|colspan=2 style="background-color:{{{bgcolor|white}}}"|<includeonly>[[File:{{{file|Krafties symbol {{lcfirst:{{{element}}}}}.png}}}|250px|link=]]</includeonly>
+
|colspan=2 style="background-color:{{{bgcolor|white}}}"|<includeonly>[[File:{{{file|Krafties symbol {{lc:{{{element}}}}}.png}}}|250px|link=]]</includeonly>
 
|-
 
|-
 
![[Soul Requirements|<span style="color:black">Craftable Soul</span>]]?
 
![[Soul Requirements|<span style="color:black">Craftable Soul</span>]]?
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>
 
{|{{Template Explanation}}[[Category:Template Form]]
 
{|{{Template Explanation}}[[Category:Template Form]]
 
This template is a form for the individual [[Elements]] pages
 
This template is a form for the individual [[Elements]] pages
:How to fill <code><nowiki>{{Element|1|file=|soul=|strong=|weak=}}</nowiki></code>
+
===Commands===
:#'''Element'''
+
:How to fill <code><nowiki>{{Element|element=|soul=|strong=|weak=}}</nowiki></code>
:#'''Then rest of the commands''', in no particular order
+
:*'''<code><nowiki>element=</nowiki></code>''' element type
:#*'''<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>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
+
:*'''<code><nowiki>strong=</nowiki></code>''' what is this element strong against?
:#*'''<code><nowiki>strong=</nowiki></code>''' what is this element strong against?
+
:*'''<code><nowiki>weak=</nowiki></code>''' what is this element weak against?
:#*'''<code><nowiki>weak=</nowiki></code>''' what is this element weak against?
+
:;Optional Commands
:#*'''<code><nowiki>float=</nowiki></code>''' the table is to the '''right''' by default, you can choose <code>left</code>,<code>right</code> or <code>none</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>bgcolor=</nowiki></code>''' (OPTIONAL) changes the background color behind the symbol
 +
 
 
==See Also==
 
==See Also==
 
{{Useful Templates}}
 
{{Useful Templates}}
 
|}
 
|}

Latest revision as of 13: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]