Template:Trait Infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
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]]. {{#if: {{{Incompatible|}}}|It is the incompatible with the trait {{#arraymap:{{{Incompatible|}}}|,|x|[[Incompatible::x|x]]}}. }} [[Category:Plugin|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Incompatible={{{Incompatible|}}} |+sep}} {{#set:Patch={{{Patch|}}} }}</includeonly>
<includeonly>'''{{{Name|}}}''' is a [[Trait]]. {{#if: {{{Incompatible Trait|}}}|It is the incompatible with the trait {{#arraymap:{{{Incompatible Trait|}}}|,|x|[[Incompatible Trait::x|x]]}}. }} [[Category:Plugin|{{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 =  
}}
}}