Template:Player house: Difference between revisions

From Wikicubia
Jump to navigation Jump to search
Progman (talk | contribs)
mNo edit summary
Baba zombie (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
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
|-
|-
| colspan="2" style="text-align: center" | {{{image}}}
| colspan="2" style="text-align: center" | [[File:{{{image}}}|280px|frameless]]
|-
|-
!Owner
!Owner
|{{{owner}}}
|[[user:{{{owner}}}|{{{owner}}}]]
|-
!World
|[[{{{world}}}]]
|-
|-
!Location
!Location
|{{loc|x={{{x}}}|z={{{z}}}}}
|{{loc|x={{{x}}}|z={{{z}}}}}
|}
|}
<includeonly>
[[Category:Player house|{{{owner}}}]][[Category:{{{world}}}]]
[[Category:Player house|{{{owner}}}]]
</includeonly><noinclude>{{documentation}}</noinclude>
</includeonly>

Latest revision as of 19:11, 21 January 2018

(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
}}