Difference between revisions of "Template:Building Info"
From Istaria Lexica
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
|} | |} | ||
|- | |- | ||
− | | colspan="2" style="text-align:center; padding: 0; border-top: 1px solid #525252" | {{InfoboxScreenshot|image={{#if:{{{image|}}}|{{{image}}}|{{#if:{{{name|}}}|{{{name}}}.jpg}}}}}}<!-- use the name as image-name if no image given --> | + | | colspan="2" style="text-align:center; padding: 0; border-top: 1px solid #525252" | {{InfoboxScreenshot|image={{#if:{{{image|}}}|{{{image}}}|{{#if:{{{name|}}}|{{{name}}}.jpg|}}}}}}<!-- use the name as image-name if no image given --> |
− | {{InfoboxEnd}}<noinclude> | + | {{InfoboxEnd}}<noinclude>{{Documentation}}[[Category:Summary Templates]][[Category:Add Data Templates]]</noinclude> |
Latest revision as of 19:00, 21 October 2022
Building Info | ||
---|---|---|
| ||
Template documentation (for the template shown above, sometimes hidden or invisible)
Description[edit]
A brief summary for buildings in a building list. For creating a summary for a whole summary page, please use Template:Building Summary.
- Try out this template in your sandbox
- Find pages using this template
Syntax[edit]
{{Building Info |name = |maxstacks = |maxbulk = |dimensions = |modifiers = |requires = |npcs = |image = }}
Parameters[edit]
{{Building Info |name = provide an alternative name for the headline |maxstacks = max amount of stacks |maxbulk = max amount of bulk |dimensions = building dimensions, use numbers only (ex. 10x10) |modifiers = modifiers, like shop bonus, tavern bonus, etc. |requires = requirements, like hiring permits (provide as comma separated links) |npcs = NPCs the building contains (provide as comma separated links) |image = alternative filename for the image. If none given, uses the name parameter. If no name given, uses {{PAGENAME}}.jpg }}
Example[edit]
{{Building Info |name = Supershop |maxstacks = 30000 |maxbulk = 500000 |dimensions = 60x50 |modifiers = 25% craft skills |requires = [[Hiring Permit]] |npcs = [[Pawn Broker]], [[Consigner]], [[Vault Keeper]] |image = }}
Visit Template:Building Info/doc to edit this text. (How to: document correctly)