Template:Resource Infobox: Difference between revisions
No edit summary |
Sneaky pete (talk | contribs) No edit summary |
||
(10 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: # | ! 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}}}|300px]] }} | ||
|- | |- | ||
! colspan="2" style="background-color: # | ! 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|}}}| | ||
{{!}} '''Description''' | {{!}} '''Description''' | ||
{{!}} {{{Description|}}} }} | {{!}} {{{Description|}}} }} | ||
|- | |||
{{#if: {{{Where to Find|}}}| | |||
{{!}} '''Where to Find''' | |||
{{!}} {{#arraymap:{{{Where to Find|}}}|,|x|[[Where to Find::x]]}} }} | |||
|- | |||
{{#if: {{{How to Get|}}}| | |||
{{!}} '''How to Get''' | |||
{{!}} {{{How to Get|}}} }} | |||
|- | |||
{{#if: {{{Used For|}}}| | |||
{{!}} '''Used For''' | |||
{{!}} {{{Used For|}}} }} | |||
|- | |- | ||
{{#if: {{{Appearance (Game)|}}}| | {{#if: {{{Appearance (Game)|}}}| | ||
Line 58: | Line 78: | ||
{{!}} '''Appearance (Real Life)''' | {{!}} '''Appearance (Real Life)''' | ||
{{!}} {{{Appearance (Real Life)|}}} }} | {{!}} {{{Appearance (Real Life)|}}} }} | ||
|- | |- | ||
{{#if: {{{Patch|}}}| | {{#if: {{{Patch|}}}| | ||
Line 68: | Line 84: | ||
|- | |- | ||
|} | |} | ||
<includeonly>'''{{{Name|}}} ({{{Chemical Formula|}}})''' is a [[ | <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 86: | Line 102: | ||
|Planet Type = | |Planet Type = | ||
|Biome = | |Biome = | ||
|Value = | |||
|Mass = | |||
|Description = | |Description = | ||
|Appearance (Game) = | |Appearance (Game) = | ||
|Appearance (Real Life) = | |Appearance (Real Life) = | ||
|How to Get = | |How to Get = | ||
|Where to Find = | |||
|Used For = | |||
|Patch = | |Patch = | ||
}} | }} |
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