Template:Resource Infobox: Difference between revisions
No edit summary |
Sneaky pete (talk | contribs) No edit summary |
||
(20 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|}}}| | ||
{{!}} '''Name''' | {{!}} '''Name''' | ||
{{!}} | {{!}} {{{Name|}}} }} | ||
|- | |- | ||
{{#if: {{{Chemical Formula|}}}| | {{#if: {{{Chemical Formula|}}}| | ||
{{!}} '''Chemical Formula''' | {{!}} '''Chemical Formula''' | ||
{{!}} | {{!}} {{{Chemical Formula|}}} }} | ||
|- | |- | ||
{{#if: {{{Atomic Number|}}}| | {{#if: {{{Atomic Number|}}}| | ||
Line 19: | Line 19: | ||
{{!}} {{{Atomic Number|}}} }} | {{!}} {{{Atomic Number|}}} }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{Type|}}}| | ||
{{!}} ''' | {{!}} '''Type''' | ||
{{!}} [[{{{ | {{!}} [[{{{Type|}}}]] }} | ||
|- | |||
{{#if: {{{Color (Menu)|}}}| | |||
{{!}} '''Color (Menu)''' | |||
{{!}} {{{Color (Menu)|}}} }} | |||
|- | |||
{{#if: {{{Color (Game)|}}}| | |||
{{!}} '''Color (Game)''' | |||
{{!}} {{{Color (Game)|}}} }} | |||
|- | |||
{{#if: {{{Color (Real Life)|}}}| | |||
{{!}} '''Color (Real Life)''' | |||
{{!}} {{{Color (Real Life)|}}} }} | |||
|- | |- | ||
{{#if: {{{Rarity|}}}| | {{#if: {{{Rarity|}}}| | ||
{{!}} '''Rarity''' | {{!}} '''Rarity''' | ||
{{!}} [[{{{Rarity|}}}]] }} | {{!}} [[{{{Rarity|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Planet Type|}}}| | {{#if: {{{Planet Type|}}}| | ||
{{!}} '''Planet Type''' | {{!}} '''Planet Type''' | ||
{{!}} {{{Planet Type|}}} }} | {{!}} {{{Planet Type|}}} }} | ||
|- | |||
{{#if: {{{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|}}}| | {{#if: {{{How to Get|}}}| | ||
{{!}} '''How to Get''' | {{!}} '''How to Get''' | ||
{{!}} {{{How to Get|}}} }} | {{!}} {{{How to Get|}}} }} | ||
|- | |||
{{#if: {{{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 48: | 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 59: | Line 95: | ||
|Chemical Formula = | |Chemical Formula = | ||
|Atomic Number = | |Atomic Number = | ||
|Color = | |Type = | ||
|Color (Menu) = | |||
|Color (Game) = | |||
|Color (Real Life) = | |||
|Rarity = | |Rarity = | ||
|Planet Type = | |Planet Type = | ||
|Biome = | |||
|Value = | |||
|Mass = | |||
|Description = | |Description = | ||
|Appearance (Game) = | |||
|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