The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:KasTest"

From ATITD5
Jump to navigationJump to search
m (Still testing)
Line 1: Line 1:
{| style = 'width: 50em; margin: 1em auto; border-left: 1px solid black; border-right: 1px solid black; border-spacing: 0' id = '{{DId|{{{1|None}}}|uni}}' |
+
__NOTOC__
 +
<div class="buildinginfo" style="align:right; float:right; margin: 5px 0px 5px 5px; border-width:1px; border-style:solid;">
 +
{|
 +
! colspan="2"|[[Image:{{{image|PinkBox.png}}}]]
 
|-
 
|-
| colspan='3' style = 'padding: 0' |
+
|Size || {{#ifexist: {{{size}}} | a [[size::{{{size}}}]] | N/A }}
<div style='overflow: hidden; width: 50.5em; white-space: nowrap; line-height: 9px; height: 10px; margin-top: -1px'><div style='width: 0px'>[[Image:Delimiter_Large.png|block|link=]]</div></div>
 
 
|-
 
|-
| style = 'width: 0.25em; background-color: {{DColor|{{{1|None}}}}}; border-right: 1px solid #888' |
+
|Where || {{{where}}}
|
 
{| style = 'width: 100%' |
 
! colspan = '2' style = 'font-size: 150%; padding: 0.5em' === ===| University of {{{1|None}}}
 
|-
 
{{{2|{{!}}}}}
 
|-
 
|}
 
| style = 'width: 0.25em; background-color: {{DColor|{{{1|None}}}}}; border-left: 1px solid #888' |
 
|-
 
| colspan='3' style = 'padding: 0' |
 
<div style='overflow: hidden; width: 50.5em; white-space: nowrap; line-height: 9px; height: 10px; margin-top: -1px'><div style='width: 0px'>[[Image:Delimiter_Large.png|link=]]</div></div>
 
 
|}
 
|}
 +
</div>
 +
 +
[[description::{{{description}}}| ]]
 +
 +
{{#ifeq: {{{where}}} | Inside | [[Category:Inside]] | }}
 +
{{#ifeq: {{{where}}} | Compound | [[Category:Compound]] | }}
 +
{{#ifeq: {{{where}}} | Both | [[Category:Inside]][[Category:Compound]] | }}
 +
 +
 +
<noinclude>
 +
==Usage==
 +
<code>
 +
<nowiki>{{Template:BuildingInfo|image=PinkBox.png|size=1x1|where=[[where::Compound]]|description=Some building}}</nowiki>
 +
</code>
 +
 +
The description is stored as semantic markup, and displayed on listing pages that include the item.
 +
 +
In order to keep the automatically generated lists on item and skill/technology pages up-to-date, annotate the first usage of each item, skill or technology with 'requires' or 'produces', as appropriate. For example
 +
 +
<nowiki>
 +
  Brick racks are built from 4 [[requires::boards]].
 +
 +
  == Uses ==
 +
    * Turn 3 [[Mud]], 2 [[Straw]] and 1 [[Sand]] into 6 [[produces::Bricks]].
 +
    * Turn 5 [[Silt]] and 1 [[Sand]] into 6 [[produces:Firebricks]].
 +
</nowiki>
 +
 +
Note that the brick rack 'requires' boards for its construction, but it does NOT 'require' Mud, Straw or Sand, since they are used to produce bricks, not the brick rack itself.
 +
[[Category: Template]] {{DEFAULTSORT:B}}
 +
</noinclude>

Revision as of 13:27, 16 August 2010

PinkBox.png
Size N/A
Where {{{where}}}





Usage

{{Template:BuildingInfo|image=PinkBox.png|size=1x1|where=[[where::Compound]]|description=Some building}}

The description is stored as semantic markup, and displayed on listing pages that include the item.

In order to keep the automatically generated lists on item and skill/technology pages up-to-date, annotate the first usage of each item, skill or technology with 'requires' or 'produces', as appropriate. For example

   Brick racks are built from 4 [[requires::boards]].
 
   == Uses ==
    * Turn 3 [[Mud]], 2 [[Straw]] and 1 [[Sand]] into 6 [[produces::Bricks]].
    * Turn 5 [[Silt]] and 1 [[Sand]] into 6 [[produces:Firebricks]].
 

Note that the brick rack 'requires' boards for its construction, but it does NOT 'require' Mud, Straw or Sand, since they are used to produce bricks, not the brick rack itself.