Template:Products: Difference between revisions

No edit summary
(Got a better Table framework from wikipedia. Lets give this a try)
Line 1: Line 1:
{| class="wikitable"
<includeonly>{{#if:{{{hdrs|}}}{{{product1|}}}||'''<big><span class="error">WARNING You are using the {{tl|table}} template without proper parameters. If the text {{tl|table}} appears in the wiki markup, this is not the proper use of the table template. Either use the proper template parameters, or see [[Help:Tables]] to learn how to create a table without the {{tl|table}} template; the two should not be mixed.</span></big>'''<div style="display: none">}}</includeonly>{| {{{type|style="background:transparent;"}}}
|-
 
! <span style="padding:5px;">Product</span> !! <span style="padding:5px;">Resources Required</span>
<!-----Title----->
|-
{{#if:{{{title|}}} |<!--then:-->
{{ #if: {{{Product1|}}}  
{{!}}+ {{{title}}}
| {{!}}-
  {{!}}<center>{{#if: {{{Product1|}}}|[[{{{Product1}}}]]}}</center>
  {{!}}<center><big>{{#if: {{{Product1R1|}}}|[[{{{Product1R1}}}]]}}{{#if: {{{Product1R2|}}}|,[[{{{Product1R2}}}]]}}{{#if: {{{Product1R3|}}}|,[[{{{Product1R3}}}]]}}</big></center>
|
}}
}}
{{ #if: {{{Product2|}}}  
 
| {{!}}-
{{!}}- {{#if:{{{hdrsstyle|}}}|style="{{{hdrsstyle}}}"}} {{#if:{{{valign|}}}|valign="{{{valign}}}"}}
  {{!}}<center>{{#if: {{{Product2|}}}|[[{{{Product2}}}]]}}</center>  
 
  {{!}}<center><big>{{#if: {{{Product2R1|}}}|[[{{{Product2R1}}}]]}}{{#if: {{{Product2R2|}}}|,[[{{{Product2R2}}}]]}}{{#if: {{{Product2R3|}}}|,[[{{{Product2R3}}}]]}}</big></center>
<!-----Column headers----->
|
{{#if:{{{hdrs|}}} |<!--then:-->
}}
! {{{hdrs}}}
{{ #if: {{{Product3|}}}  
{{!}}- {{#if:{{{valign|}}}|valign="{{{valign}}}"}} }}
| {{!}}-
 
  {{!}}<center>{{#if: {{{Product3|}}}|[[{{{Product3}}}]]}}</center>  
<!-----products----->
  {{!}}<center><big>{{#if: {{{Product3R1|}}}|[[{{{Product3R1}}}]]}}{{#if: {{{Product3R2|}}}|,[[{{{Product3R2}}}]]}}{{#if: {{{Product3R3|}}}|,[[{{{Product3R3}}}]]}}</big></center>
{{#if:{{{product1|}}} |<!--then:-->
|}}
{{!}} {{{product1}}}
|}
{{!}}- }}
{{#if:{{{product2|}}} |<!--then:-->
{{!}} {{{product2}}}
{{!}}- }}
{{#if:{{{product3|}}} |<!--then:-->
{{!}} {{{product3}}}
{{!}}- }}
{{#if:{{{product4|}}} |<!--then:-->
{{!}} {{{product4}}}
{{!}}- }}
{{#if:{{{product5|}}} |<!--then:-->
{{!}} {{{product5}}}
{{!}}- }}
{{#if:{{{product6|}}} |<!--then:-->
{{!}} {{{product6}}}
{{!}}- }}
{{#if:{{{product7|}}} |<!--then:-->
{{!}} {{{product7}}}
{{!}}- }}
{{#if:{{{product8|}}} |<!--then:-->
{{!}} {{{product8}}}
{{!}}- }}
{{#if:{{{product9|}}} |<!--then:-->
{{!}} {{{product9}}}
{{!}}- }}
{{#if:{{{product10|}}} |<!--then:-->
{{!}} {{{product10}}}
{{!}}- }}

Revision as of 07:54, 21 February 2014

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis