Template:Trait Infobox: Difference between revisions
No edit summary |
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;") |
||
(10 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 18: | Line 14: | ||
{{!}} '''Description''' | {{!}} '''Description''' | ||
{{!}} {{{Description|}}} }} | {{!}} {{{Description|}}} }} | ||
|- | |||
{{#if: {{{Incompatible Trait|}}}| | |||
{{!}} '''Incompatible Trait''' | |||
{{!}} {{#arraymap:{{{Incompatible Trait|}}}|,|x|[[Incompatible Trait::x]]}} }} | |||
|- | |- | ||
{{#if: {{{Patch|}}}| | {{#if: {{{Patch|}}}| | ||
Line 24: | Line 24: | ||
|- | |- | ||
|} | |} | ||
'''{{{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 31: | Line 31: | ||
<pre> | <pre> | ||
{{Trait Infobox | {{Trait Infobox | ||
|Image= | |Image = | ||
|Name= | |Name = | ||
|Type= | |Type = | ||
|Description= | |Description = | ||
|Patch= | |Incompatible Trait = | ||
|Patch = | |||
}} | }} | ||
</pre> | </pre> |
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