Template:Trait Infobox: Difference between revisions
No edit summary Tag: Reverted |
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;") |
||
(5 intermediate revisions 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}}}| | ! 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 15: | Line 15: | ||
{{!}} {{{Description|}}} }} | {{!}} {{{Description|}}} }} | ||
|- | |- | ||
{{#if: {{{Incompatible|}}}| | {{#if: {{{Incompatible Trait|}}}| | ||
{{!}} '''Incompatible''' | {{!}} '''Incompatible Trait''' | ||
{{!}} {{#arraymap:{{{Incompatible|}}}|,|x|[[Incompatible::x]] | {{!}} {{#arraymap:{{{Incompatible Trait|}}}|,|x|[[Incompatible Trait::x]]}} }} | ||
|- | |- | ||
{{#if: {{{Patch|}}}| | {{#if: {{{Patch|}}}| | ||
Line 24: | Line 24: | ||
|- | |- | ||
|} | |} | ||
<includeonly>'''{{{Name|}}}''' is a [[Trait]]. | <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. | ||
Line 35: | Line 35: | ||
|Type = | |Type = | ||
|Description = | |Description = | ||
|Incompatible = | |Incompatible Trait = | ||
|Patch = | |Patch = | ||
}} | }} |
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