Template:Trait Infobox: Difference between revisions

From Starfield Fans Wiki
No edit summary
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;")
 
(13 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: #BDBDBD; color: #000000; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color: #4a668d; color: #ffffff; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}}
|-
|-
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|300px]] }}
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|100px]] }}
|-
|-
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em;" | Information
! colspan="2" style="background-color: #4a668d; color: #ffffff; padding:0em;" | Information
|-
{{#if: {{{Name|}}}|
{{!}} '''Name'''
{{!}} {{{Name|}}} }}
|-
|-
{{#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>[[Category:Plugin|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#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: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 30: Line 30:
==Usage==
==Usage==
<pre>
<pre>
{{Plugin 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