Template:Player house: Difference between revisions

From Wikicubia
Jump to navigation Jump to search
Progman (talk | contribs)
Progman (talk | contribs)
m add documentation
Line 1: Line 1:
<includeonly>
{|style="border: 1px solid #99f; background-color: #ccf; width: 300px; float:right"
{|style="border: 1px solid #99f; background-color: #ccf; width: 300px; float:right"
! colspan="2" | Player house
! colspan="2" | Player house
Line 10: Line 11:
|{{loc|x={{{x}}}|z={{{z}}}}}
|{{loc|x={{{x}}}|z={{{z}}}}}
|}
|}
<includeonly>
[[Category:Player house|{{{owner}}}]]
[[Category:Player house|{{{owner}}}]]
</includeonly>
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 12:10, 9 August 2011

(view - edit) Documentation

Create a infobox for a player house. Pages for a player house should be place in the User: namespace like User:Foobar/house.

Usage

The following variables can be used in the player house template:

|image=
A filename of an image of the house.
|owner=
The owner of the house.
|world=
The world that this house resides in.
|x=
The X position of the house.
|z=
The Z position of the house.

Using this template will add the wikipage to the Player_house category.

Example

{{Player_house
|image=Foobar_house.png
|owner=Foobar
|world=Foobar_world
|x=42
|z=42
}}