Template:Resource Infobox: Difference between revisions

no edit summary
(Created page with "{| 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" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|100px]] }} |- ! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em;" | Information |- {{#if: {{{Name|}}}| {{!}} '''Name''' {{!}} ...")
 
No edit summary
Line 14: Line 14:
{{!}} '''Chemical Formula'''
{{!}} '''Chemical Formula'''
{{!}} [[{{{Chemical Formula|}}}]] }}
{{!}} [[{{{Chemical Formula|}}}]] }}
|-
{{#if: {{{Color|}}}|
{{!}} '''Color'''
{{!}} [[{{{Color|}}}]] }}
|-
{{#if: {{{Rarity|}}}|
{{!}} '''Rarity'''
{{!}} [[{{{Rarity|}}}]] }}
|-
|-
{{#if: {{{Type|}}}|
{{#if: {{{Type|}}}|
Line 36: Line 44:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}} ({{{Chemical Formula|}}}''' is a [[Resource]]. [[Category:Resources|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Chemical Formula={{{Chemical Formula|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Planet Type={{{Planet Type|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:How to Get={{{How to Get|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<includeonly>'''{{{Name|}}} ({{{Chemical Formula|}}}''' is a [[Resource]]. [[Category:Resources|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Chemical Formula={{{Chemical Formula|}}} }} {{#set:Color={{{Color|}}} }} {{#set:Rarity={{{Rarity|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Planet Type={{{Planet Type|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:How to Get={{{How to Get|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<noinclude>
<noinclude>
Designed for use on [[Resource]] pages.
Designed for use on [[Resource]] pages.
Line 46: Line 54:
|Name =  
|Name =  
|Chemical Formula =  
|Chemical Formula =  
|Color =
|Rarity =
|Type =  
|Type =  
|Planet Type
|Planet Type