Editing Template:Infobox Building 0 You do not have permission to edit this page, for the following reasons: The action you have requested is limited to users in one of the groups: Users, FANDOM Staff, FANDOM Helpers, Wiki Managers, Content Team Members. You do not have permission to edit pages in the Template namespace. This page has been protected to prevent editing. Please log in to edit this wiki.Joining TibiaWiki is free, and it only takes a minute.We hope that you sign in, and become a member of the community!Click here to log in or create an account You must confirm your e-mail address before editing pages. Please set and validate your e-mail address through your user preferences. more + You can view and copy the source of this page: <noinclude>{{Protected|Widely used}}</noinclude><!-- -->{{#if:{{{GetValue|}}}|{{{{{{GetValue|}}}|}}}|{{#ifeq:{{{List|}}}||<!-- -->{{#ifeq:{{Next Update}}|{{{implemented|undated}}}|{{Futureupdate}}}}<!-- -->{{Status Messagebox|{{{status|}}} }}<!-- --><div id="twbox"><!-- {{Clear}} --> <h3 class="semantic-header">Properties</h3> <div id="tabular-data"> <table class="infobox"> <tr class="semantic-header"> <th>Property</th> <th>Value</th> </tr> <tr class="table-section"> <th colspan="2">Core</th> </tr> <tr> <td class="property">Type</td> <td class="value">{{#if:{{{type|}}}|[[{{{type}}}]]|Unknown}}</td> </tr> <tr> <td class="property">Size</td> <td class="value">{{{size}}} <abbr title="square meters">sqm</abbr></td> </tr> <tr> <td class="property">Max. Beds</td> <td class="value">{{#if:{{{beds|}}}|{{{beds}}}|Unknown}}</td> </tr> <tr> <td class="property">Rent</td> <td class="value">{{#switch:{{lc:{{{ownable|yes}}}}} |yes|yes.={{#if:{{{rent|}}}|{{formatnum:{{{rent}}}}} gp per month{{#if:{{{size|}}}{{{rent|}}}|<br />{{#iferror: ({{formatnum:{{#expr: {{{rent|}}} / {{{size|}}} round 0}}}} gp per sqm)}} }}|--}} |#default=No rent. }}</td> </tr> <tr class="table-section"> <th colspan="2">Location</th> </tr> <tr> <td class="property">City</td> <td class="value">{{#if:{{{city|}}}|[[{{{city}}}]]}}</td> </tr> <tr> <td class="property">Street</td> <td class="value">{{Inline List|sep=<br /> |{{#if:{{{street|}}}|[[{{{street}}}]]}} |{{#if:{{{street2|}}}|[[{{{street2}}}]]}} |{{#if:{{{street3|}}}|[[{{{street3}}}]]}} |{{#if:{{{street4|}}}|[[{{{street4}}}]]}} |{{#if:{{{street5|}}}|[[{{{street5}}}]]}} }}</td> </tr> <tr class="table-section"> <th colspan="2">Features</th> </tr> <tr> <td class="property">Windows</td> <td class="value">{{#if:{{{openwindows|}}}|{{{openwindows}}}|Unknown}}</td> </tr> <tr> <td class="property">Floors</td> <td class="value">{{#if:{{{floors|}}}|{{{floors}}}|Unknown}}</td> </tr> <tr> <td class="property">Rooms</td> <td class="value">{{#if:{{{rooms|}}}|{{{rooms}}}|Unknown}}</td> </tr> <tr class="table-section"> <th colspan="2">Other</th> </tr> <tr> <td class="property">Version</td> <td class="value" title="{{#if:{{{implemented|}}}|Implemented in version {{{implemented}}}.|Implementation in an unknown version.}}">{{#if:{{{implemented|}}}|{{Update|{{{implemented}}}}}<br /><span class="implementation-date">{{#if:{{Version Date|{{{implemented|}}}}}|{{Version Date|{{{implemented|}}}}}}}</span>|Unknown.}}</td> </tr> <tr> <td class="property">Status</td> <td class="value">{{#switch:{{lc:{{{status|active}}}}}|deprecated|deprecated.=Deprecated.|unobtainable|unobtainable.=Unobtainable|ts-only|ts-only.=[[Test Server]]-exclusive.|event|event.=Event|Active}}</td> </tr> <tr> <th colspan="2" class="explained">[[Template:Infobox Building#Usage|Help]]</th> </tr> </table> </div> {{#if:{{{image|}}}|{{{image|}}}|}} <div id="house-furnishings"> <h3>Furnishings</h3> {{#if:{{{furnishings|}}}|{{{furnishings}}}|<p class="no-results">This house has no furnishings.</p>}} </div> <div id="house-location"> <h3>Location</h3> {{#switch:{{lc:{{#if:{{{status|}}}|{{{status}}}|active}}}}|active={{#ifexpr:{{#if:{{{posx|}}}|1|0}}+{{#if:{{{posy|}}}|1|0}}+{{#if:{{{posz|}}}|1|0}}=3|{{Minimap|x={{{posx}}}|y={{{posy}}}|z={{{posz}}}|height=0.3|width=0.3|zoom=2}}}}}} {{#if:{{{location|}}}|{{{location}}}|<p class="no-results">This house's location is unknown.</p> {{Clear|left}} </div> }} {{Clear|left}} <div id="house-notes"> <h3>Notes</h3> {{#switch:{{lc:{{#if:{{{status|}}}|{{{status}}}|active}}}}|active=:{{#if:{{{houseid|}}}|<div class="tw-cmd" data-command="get-house-url" data-houseid="{{{houseid|}}}"></div>}}}} {{#if:{{{notes|}}}|{{{notes}}}|<p class="no-results">This house has no notes.</p>}} </div> <!-- Start: show history if exist --> {{#if:{{{history|}}}| {{Clear}} <div id="house-history" class="history-section"> <h3>History</h3> {{{history}}} </div> |}} <!-- End: show history --> {{Clear}} {{Navigation|type={{{street|Main Street}}} Buildings|noextracategory=1}} {{#if:{{{street2|}}}|{{Navigation|type={{{street2}}} Buildings|noextracategory=1}}}} {{#if:{{{street3|}}}|{{Navigation|type={{{street3}}} Buildings|noextracategory=1}}}} {{#if:{{{street4|}}}|{{Navigation|type={{{street4}}} Buildings|noextracategory=1}}}} {{#if:{{{street5|}}}|{{Navigation|type={{{street5}}} Buildings|noextracategory=1}}}} {{Clear}} </div> <!-- Categories --><includeonly> __NOTOC__ {{#ifeq:{{NAMESPACE}}||<!-- -->[[Category:{{{city|}}}_{{{type|}}}s]]<!-- -->[[Category:{{{city|}}} Buildings]]<!-- -->[[Category:{{{street|}}} Buildings]]<!-- -->[[Category:{{{street2|}}} Buildings]]<!-- -->[[Category:{{{street3|}}} Buildings]]<!-- -->[[Category:{{{street4|}}} Buildings]]<!-- -->[[Category:{{{street5|}}} Buildings]]<!-- -->{{#switch:{{lc:{{{ownable|yes}}}}}|yes|yes.=[[Category:Player-Ownable Buildings]]|[[Category:Non-Player-Ownable Buildings]]}} {{#if:{{{image|}}}||[[Category:Pages with no Image Parameter]]}} {{#if:{{{street|}}}||[[Category:Building pages with no Street Parameter]]}} {{#if:{{{implemented|}}}|[[Category:Version {{{implemented}}} Implementations]]|[[Category:Pages with no Implementation Parameter]]}}<!-- -->{{#if:{{{history|}}}|[[Category:Tibia History]]|}}<!-- -->}}<!-- --></includeonly>|<!-- /List --> {{Template:Infobox Building/{{{List}}}|name={{{name|}}}|houseid={{{houseid|}}}|type={{{type|}}}|location={{{location|}}}|street={{{street|}}}|street2={{{street2|}}}|street3={{{street3|}}}|size={{{size|}}}|beds={{{beds|}}}|rent={{{rent|}}}|city={{{city|}}}|openwindows={{{openwindows|}}}|floors={{{floors|}}}|rooms={{{rooms|}}}|furnishings={{{furnishings|}}}|notes={{{notes|}}}|image={{{image|}}}}}}}}} <noinclude> == Usage == '''Infobox Building''' gives basic information about a player-owned house in Tibia. Type in this: <pre> {{Infobox Building|List={{{1|}}}|GetValue={{{GetValue|}}} | name = | implemented = | type = | location = | posx = | posy = | posz = | street = | street2 = | street3 = | street4 = | street5 = | houseid = | size = | beds = | rent = | ownable = | city = | openwindows = | floors = | rooms = | furnishings = | notes = | history = | image = | status = }} </pre> == Parameters == {| class="wikitable full-width" !Parameter !Required !Explanaton |- |<code>name</code> |* |Name of the house, needs to be exactly the same as the name of the page (you can use "<nowiki>{{PAGENAME}}</nowiki>"). |- |<code>implemented</code> |* |Update number when building was implemented in Tibia. |- |<code>type</code> |* |House or Guildhall. |- |<code>location</code> | |In-depth information on where around the city the building can be found. Example: "Next to depot." |- |<code>posx</code> |* |The x-coordinate of the house location. This is used togethere with "posy" and "posz" to create a small map. |- |<code>posy</code> |* |The y-coordinate of the house location. This is used togethere with "posx" and "posz" to create a small map. |- |<code>posz</code> |* |The z-coordinate of the house location. This is used togethere with "posx" and "posy" to create a small map. |- |<code>street</code> |* |The street which this building is on. If outside town use "Wilderness". |- |<code>street2,3,4,5</code> | |A second, third, fourth or fifth street which this building is on. If none leave the line blank. |- |<code>houseid</code> | |The identification number used on tibia.com for the house, if ownable. Used to generate a link to the tibia.com house page. |- |<code>size</code> |* |Size in sqm, numbers only. |- |<code>beds</code> |* |Maximum amount of beds, numbers only. |- |<code>rent</code> |* |Amount of rent money, numbers only. |- |<code>ownable</code> | |Use "yes" or "no" to indicate if the building is ownable. Default value is "yes". |- |<code>city</code> |* |The city the house 'belongs' to, can find this on the Tibia website. |- |<code>openwindows</code> |* |Number of windows in the building, numbers only. |- |<code>floors</code> |* |Number of floors which can be accessed, numbers only. |- |<code>rooms</code> |* |Number of rooms, numbers only. |- |<code>furnishings</code> | |Extra things located in the building (blackboards, dustbins, counters etc.). |- |<code>notes</code> | |Any other information, such as the layout of the building. |- |<code>image</code> | |A screenshot of the building. You can use the gallery tag for multiple images. If a large image is used, use a pipe symbol and a width like "250px" to reduce the size. |- |<code>history</code> | |The template should reflect the current in-game state of the building, but if something was different in the past it can be described here. |- |<code>status</code> | |If the building is available in-game the status will be "Active" by default. Other possible values are: "deprecated", "event", "unobtainable" or "ts-only". |} </noinclude> Templates used on the current version of this page: Template:Clear (view source) Template:Extension DPL (view source) Template:Inline List (view source) (protected)Template:Inline List/2 (view source) (protected)Template:Navigation (view source) Template:Next Update (view source) Template:Protected (view source) (protected)Template:Status Messagebox (view source) Return to Template:Infobox Building. Edit summary Preview Mobile Desktop Show changes