Difference between revisions of "Template:Building Data"
From Xhodon 2
m |
|||
Line 3: | Line 3: | ||
! style="background-color:#{{ColorTitleBox}}; text-align:center;" colspan="5" | Cost | ! style="background-color:#{{ColorTitleBox}}; text-align:center;" colspan="5" | Cost | ||
! style="background-color:#{{ColorTitleBox}}; text-align:center; width:8em;" rowspan="2" | Points | ! style="background-color:#{{ColorTitleBox}}; text-align:center; width:8em;" rowspan="2" | Points | ||
− | ! style="background-color:#{{ColorTitleBox}}; text-align:center; width:8em;" rowspan="2" | + | {{#if:{{{Column_Title|1}}}|! style="background-color:#{{ColorTitleBox}}; text-align:center; width:8em;" rowspan="2" {{!}} {{{Column_Title|Production<br><sup>(per [[tick]])</sup>}}}}} |
|- | |- | ||
! style="background-color:#{{ColorTitleBox}}; text-align:center; width:{{#if: {{{Essn_Title|}}}|6em|1em}};" | {{{Essn_Title|−}}} | ! style="background-color:#{{ColorTitleBox}}; text-align:center; width:{{#if: {{{Essn_Title|}}}|6em|1em}};" | {{{Essn_Title|−}}} | ||
Line 213: | Line 213: | ||
<noinclude> | <noinclude> | ||
− | |||
== Syntax == | == Syntax == | ||
− | + | Remove unneeded code for the table header to hide those columns or, in case of "Column_Title" show the default ("Production (per tick)"). Use <code>|Column_Title=</code> to hide the last column. | |
− | + | You can use lines 1 to 100 (1_Show=yes... 100_Show=yes). Simply activate or deactivate lines by setting (line number)_Show= to "yes" or "no". The lines in the code here are shown by default, all other lines are hidden by default. | |
− | |||
<nowiki>{{Building_Data</nowiki> | <nowiki>{{Building_Data</nowiki> | ||
<nowiki>|Column_Title=</nowiki>Space | <nowiki>|Column_Title=</nowiki>Space |
Revision as of 18:27, 19 May 2009
Conjuration to level |
Cost | Points | Production (per tick) | ||||
---|---|---|---|---|---|---|---|
− | − | − | − | − |
Syntax
Remove unneeded code for the table header to hide those columns or, in case of "Column_Title" show the default ("Production (per tick)"). Use |Column_Title=
to hide the last column.
You can use lines 1 to 100 (1_Show=yes... 100_Show=yes). Simply activate or deactivate lines by setting (line number)_Show= to "yes" or "no". The lines in the code here are shown by default, all other lines are hidden by default.
{{Building_Data |Column_Title=Space |Essn_Title=Herb Essences |Cris_Title=Cristal Splinters |Powr_Title=Power Stones |Gold_Title=Gold Resin |Mana_Title=Mana |5_Show=yes |5_Essn= |5_Cris= |5_Powr= |5_Gold= |5_Mana= |5_Pnts= |5_Valu= |10_Show=yes |10_Essn= |10_Cris= |10_Powr= |10_Gold= |10_Mana= |10_Pnts= |10_Valu= |15_Show=yes |15_Essn= |15_Cris= |15_Powr= |15_Gold= |15_Mana= |15_Pnts= |15_Valu= |20_Show=yes |20_Essn= |20_Cris= |20_Powr= |20_Gold= |20_Mana= |20_Pnts= |20_Valu= |25_Show=yes |25_Essn= |25_Cris= |25_Powr= |25_Gold= |25_Mana= |25_Pnts= |25_Valu= |30_Show=yes |30_Essn= |30_Cris= |30_Powr= |30_Gold= |30_Mana= |30_Pnts= |30_Valu= |35_Show=yes |35_Essn= |35_Cris= |35_Powr= |35_Gold= |35_Mana= |35_Pnts= |35_Valu= |40_Show=yes |40_Essn= |40_Cris= |40_Powr= |40_Gold= |40_Mana= |40_Pnts= |40_Valu= |45_Show=yes |45_Essn= |45_Cris= |45_Powr= |45_Gold= |45_Mana= |45_Pnts= |45_Valu= |50_Show=yes |50_Essn= |50_Cris= |50_Powr= |50_Gold= |50_Mana= |50_Pnts= |50_Valu= |60_Show=yes |60_Essn= |60_Cris= |60_Powr= |60_Gold= |60_Mana= |60_Pnts= |60_Valu= |70_Show=yes |70_Essn= |70_Cris= |70_Powr= |70_Gold= |70_Mana= |70_Pnts= |70_Valu= |80_Show=yes |80_Essn= |80_Cris= |80_Powr= |80_Gold= |80_Mana= |80_Pnts= |80_Valu= |90_Show=yes |90_Essn= |90_Cris= |90_Powr= |90_Gold= |90_Mana= |90_Pnts= |90_Valu= |100_Show=yes |100_Essn= |100_Cris= |100_Powr= |100_Gold= |100_Mana= |100_Pnts= |100_Valu= }}