Template:Resource Infobox: Difference between revisions

From Starfield Fans Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users 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}}}|100px]] }}
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|300px]] }}
|-
|-
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em;" | Information
! colspan="2" style="background-color: #4a668d; color: #ffffff; padding:0em;" | Information
|-
|-
{{#if: {{{Name|}}}|
{{#if: {{{Name|}}}|
Line 46: Line 46:
{{!}} '''Biome'''
{{!}} '''Biome'''
{{!}} {{{Biome|}}} }}
{{!}} {{{Biome|}}} }}
|-
{{#if: {{{Value|}}}|
{{!}} '''Value'''
{{!}} {{{Value|}}} }}
|-
{{#if: {{{Mass|}}}|
{{!}} '''Mass'''
{{!}} {{{Mass|}}} }}
|-
|-
{{#if: {{{Description|}}}|
{{#if: {{{Description|}}}|
Line 51: Line 59:
{{!}} {{{Description|}}} }}
{{!}} {{{Description|}}} }}
|-
|-
{{#if: {{{Appearance (Game)|}}}|
{{#if: {{{Where to Find|}}}|
{{!}} '''Appearance (Game)'''
{{!}} '''Where to Find'''
{{!}} {{{Appearance (Game)|}}} }}
{{!}} {{#arraymap:{{{Where to Find|}}}|,|x|[[Where to Find::x]]}} }}
|-
{{#if: {{{Appearance (Real Life)|}}}|
{{!}} '''Appearance (Real Life)'''
{{!}} {{{Appearance (Real Life)|}}} }}
|-
|-
{{#if: {{{How to Get|}}}|
{{#if: {{{How to Get|}}}|
{{!}} '''How to Get'''
{{!}} '''How to Get'''
{{!}} {{{How to Get|}}} }}
{{!}} {{{How to Get|}}} }}
|-
{{#if: {{{Where to Find|}}}|
{{!}} '''Where to Find'''
{{!}} {{#arraymap:{{{Where to Find|}}}|,|x|[[Where to Find::x]]}} }}
|-
|-
{{#if: {{{Used For|}}}|
{{#if: {{{Used For|}}}|
{{!}} '''Used For'''
{{!}} '''Used For'''
{{!}} {{{Used For|}}} }}
{{!}} {{{Used For|}}} }}
|-
{{#if: {{{Appearance (Game)|}}}|
{{!}} '''Appearance (Game)'''
{{!}} {{{Appearance (Game)|}}} }}
|-
{{#if: {{{Appearance (Real Life)|}}}|
{{!}} '''Appearance (Real Life)'''
{{!}} {{{Appearance (Real Life)|}}} }}
|-
|-
{{#if: {{{Patch|}}}|
{{#if: {{{Patch|}}}|
Line 76: Line 84:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}} ({{{Chemical Formula|}}})''' is a [[{{{Rarity|}}}]] [[{{{Type|}}}]] [[Resource]]. [[Category:Resources|{{PAGENAME}}]] [[Category:{{{Type|}}}|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Chemical Formula={{{Chemical Formula|}}} }} {{#set:Atomic Number={{{Atomic Number|}}} }} {{#set:Type={{{Type|}}} }} {{#set:Color (Menu)={{{Color (Menu)|}}} }} {{#set:Color (Game)={{{Color (Game)|}}} }} {{#set:Color (Real Life)={{{Color (Real Life)|}}} }} {{#set:Rarity={{{Rarity|}}} }} {{#set:Planet Type={{{Planet Type|}}} |+sep}} {{#set:Biome={{{Biome|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Appearance (Game)={{{Appearance (Game)|}}} }}  {{#set:Appearance (Real Life)={{{Appearance (Real Life)|}}} }} {{#set:How to Get={{{How to Get|}}} }} {{#set:Where to Find={{{Where to Find|}}} |+sep}} {{#set:Used For={{{Used For|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<includeonly>'''{{{Name|}}} ({{{Chemical Formula|}}})''' is a [[{{{Rarity|}}}]] [[{{{Type|}}}]]. [[Category:Resources|{{PAGENAME}}]] [[Category:{{{Type|}}}|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Chemical Formula={{{Chemical Formula|}}} }} {{#set:Atomic Number={{{Atomic Number|}}} }} {{#set:Type={{{Type|}}} }} {{#set:Color (Menu)={{{Color (Menu)|}}} }} {{#set:Color (Game)={{{Color (Game)|}}} }} {{#set:Color (Real Life)={{{Color (Real Life)|}}} }} {{#set:Rarity={{{Rarity|}}} }} {{#set:Planet Type={{{Planet Type|}}} |+sep}} {{#set:Biome={{{Biome|}}} |+sep}} {{#set:Value={{{Value|}}} }} {{#set:Mass={{{Mass|}}} }} {{#set:Description={{{Description|}}} }} {{#set:Appearance (Game)={{{Appearance (Game)|}}} }}  {{#set:Appearance (Real Life)={{{Appearance (Real Life)|}}} }} {{#set:How to Get={{{How to Get|}}} }} {{#set:Where to Find={{{Where to Find|}}} |+sep}} {{#set:Used For={{{Used For|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<noinclude>
<noinclude>
Designed for use on [[Resource]] pages.
Designed for use on [[Resource]] pages.
Line 94: Line 102:
|Planet Type =  
|Planet Type =  
|Biome =  
|Biome =  
|Value =
|Mass =
|Description =  
|Description =  
|Appearance (Game) =  
|Appearance (Game) =  

Latest revision as of 09:08, 8 September 2023

Resource Infobox
Information


Designed for use on Resource pages.

Usage

{{Resource Infobox
|Image = 
|Name = 
|Chemical Formula = 
|Atomic Number = 
|Type = 
|Color (Menu) = 
|Color (Game) = 
|Color (Real Life) = 
|Rarity = 
|Planet Type = 
|Biome = 
|Value = 
|Mass = 
|Description = 
|Appearance (Game) = 
|Appearance (Real Life) = 
|How to Get = 
|Where to Find = 
|Used For = 
|Patch = 
}}

Parameters