This site is not maintained anymore. Please move to MHWiki.org
Difference between revisions of "Template:MetaInfobox/Buildings"
From Die2Nite Wiki
(update the buildings sub template, everything should work now except resources) |
|||
| Line 17: | Line 17: | ||
<td>[[:Category:{{Data|{{PAGENAME}}|subcategory|Unknown subcategory}}|{{Data|{{PAGENAME}}|subcategory|Unknown subcategory}}]]</td> | <td>[[:Category:{{Data|{{PAGENAME}}|subcategory|Unknown subcategory}}|{{Data|{{PAGENAME}}|subcategory|Unknown subcategory}}]]</td> | ||
</tr> | </tr> | ||
| − | {{ | + | {{#if:{{Data|{{PAGENAME}}|blueprint|}}| |
| − | {{ | + | <tr valign="top"> |
| − | {{ | + | <td style="white-space: nowrap; font-weight: bold;">{{MetaIcon|Blueprints}}</td> |
| + | <td>{{MetaIcon|Construction Blueprint ({{Data|{{PAGENAME}}|blueprint|none}}}})[[Category:{{ucfirst:{{Data|{{PAGENAME}}|blueprint|none}}}} buildings]]</td> | ||
| + | </tr> | ||
| + | }} | ||
| + | {{#if:{{Data|{{PAGENAME}}|parent|}}| | ||
| + | <tr valign="top"> | ||
| + | <td style="white-space: nowrap; font-weight: bold;">Parent building</td> | ||
| + | <td>{{MetaInline|{{Data|{{PAGENAME}}|parent|none}}}}[[Category:Buildings unlocked by {{Data|{{PAGENAME}}|parent|none}}]]</td> | ||
| + | </tr> | ||
| + | }} | ||
| + | {{#if:{{Data|{{PAGENAME}}|defence|}}| | ||
| + | <tr valign="top"> | ||
| + | <td style="white-space: nowrap; font-weight: bold;">{{DP}}[[Category:Defence buildings]]</td> | ||
| + | <td>{{Data|{{PAGENAME}}|defence|0}}</td> | ||
| + | </tr> | ||
| + | }} | ||
| + | <tr valign="top"> | ||
| + | <td style="white-space: nowrap; font-weight: bold;">{{AP}}</td> | ||
| + | <td>{{Data|{{PAGENAME}}|ap|0}}</td> | ||
| + | </tr> | ||
{{Item/row|label=Materials required|field={{{need_items|?}}}}} | {{Item/row|label=Materials required|field={{{need_items|?}}}}} | ||
| − | {{ | + | {{#ifexist:Category:Buildings unlocked by {{PAGENAME}}| |
| + | <tr valign="top"> | ||
| + | <td style="white-space: nowrap; font-weight: bold;">Unlocks</td> | ||
| + | <td>[[:Category:Buildings unlocked by {{PAGENAME}}|See list]]</td> | ||
| + | </tr> | ||
| + | }} | ||
Revision as of 12:53, 28 July 2011
<tr valign="top">
<td align="left" colspan="2">[[Image:Data:Temporary|top|link=Temporary]] [[Temporary|Data:Temporary]]</td>
</tr>
<tr valign="top">
<td align="left" colspan="2">
Building upgrades</td>
</tr>
<tr valign="top">
<td style="white-space: nowrap; font-weight: bold;">Category</td> <td>Buildings</td>
</tr> <tr valign="top">
<td style="white-space: nowrap; font-weight: bold;">Sub Category</td> <td>Workshop</td>
</tr> <tr valign="top">
<td style="white-space: nowrap; font-weight: bold;"></td> <td>[[Image:Data:Construction Blueprint (common|top|link=Construction Blueprint (common]])</td> </tr>
<tr valign="top">
<td style="white-space: nowrap; font-weight: bold;">Parent building</td>
<td>
Workshop</td>
</tr>
<tr valign="top">
<td style="white-space: nowrap; font-weight: bold;"></td> <td>9000</td> </tr> <tr valign="top"> <td style="white-space: nowrap; font-weight: bold;">
</td> <td>13</td> </tr>
<tr valign="top">
<td style="white-space: nowrap; font-weight: bold;">Materials required</td> <td>?</td>
</tr>