Template:Trait Infobox: Difference between revisions
No edit summary |
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;") |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .2em; -webkit-border-radius: .2em;display:inline-table!important;" | {| class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .2em; -webkit-border-radius: .2em;display:inline-table!important;" | ||
|- | |- | ||
! colspan="2" style="background-color: # | ! colspan="2" style="background-color: #4a668d; color: #ffffff; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|100px]] }} | ! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|100px]] }} | ||
|- | |- | ||
! colspan="2" style="background-color: # | ! colspan="2" style="background-color: #4a668d; color: #ffffff; padding:0em;" | Information | ||
|- | |- | ||
{{#if: {{{Type|}}}| | {{#if: {{{Type|}}}| | ||
Line 24: | Line 24: | ||
|- | |- | ||
|} | |} | ||
<includeonly>'''{{{Name|}}}''' is a [[Trait]]. {{#if: {{{Incompatible Trait|}}}|It is the incompatible with the trait {{#arraymap:{{{Incompatible Trait|}}}|,|x|[[Incompatible Trait::x|x]]}}. }} [[Category: | <includeonly>'''{{{Name|}}}''' is a [[Trait]]. {{#if: {{{Incompatible Trait|}}}|It is the incompatible with the trait {{#arraymap:{{{Incompatible Trait|}}}|,|x|[[Incompatible Trait::x|x]]}}. }} [[Category:Traits|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Incompatible Trait={{{Incompatible Trait|}}} |+sep}} {{#set:Patch={{{Patch|}}} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
Designed for use on [[Trait]] pages. | Designed for use on [[Trait]] pages. |
Latest revision as of 09:12, 8 September 2023
Trait Infobox | |
---|---|
Information |
Designed for use on Trait pages.
Usage
{{Trait Infobox |Image = |Name = |Type = |Description = |Incompatible Trait = |Patch = }}
Parameters