Difference between revisions of "Template:UBK"

From UFOpaedia
Jump to navigation Jump to search
m (Template:BBK moved to Template:UBK)
m (Added documentation (which is not included when transcluded into pages))
Line 1: Line 1:
 +
<includeonly>
 
{|cellspacing="0" cellpadding="0" style="border-collapse:collapse;"
 
{|cellspacing="0" cellpadding="0" style="border-collapse:collapse;"
 
|-
 
|-
|[[image:base-{{{1}}}.gif]]
+
|[[image:base-{{{1|dirt}}}.gif]]
|[[image:base-{{{2}}}.gif]]
+
|[[image:base-{{{2|dirt}}}.gif]]
|[[image:base-{{{3}}}.gif]]
+
|[[image:base-{{{3|dirt}}}.gif]]
|[[image:base-{{{4}}}.gif]]
+
|[[image:base-{{{4|dirt}}}.gif]]
|[[image:base-{{{5}}}.gif]]
+
|[[image:base-{{{5|dirt}}}.gif]]
|[[image:base-{{{6}}}.gif]]
+
|[[image:base-{{{6|dirt}}}.gif]]
 
|-
 
|-
|[[image:base-{{{7}}}.gif]]
+
|[[image:base-{{{7|dirt}}}.gif]]
|[[image:base-{{{8}}}.gif]]
+
|[[image:base-{{{8|dirt}}}.gif]]
|[[image:base-{{{9}}}.gif]]
+
|[[image:base-{{{9|dirt}}}.gif]]
|[[image:base-{{{10}}}.gif]]
+
|[[image:base-{{{10|dirt}}}.gif]]
|[[image:base-{{{11}}}.gif]]
+
|[[image:base-{{{11|dirt}}}.gif]]
|[[image:base-{{{12}}}.gif]]
+
|[[image:base-{{{12|dirt}}}.gif]]
 
|-
 
|-
|[[image:base-{{{13}}}.gif]]
+
|[[image:base-{{{13|dirt}}}.gif]]
|[[image:base-{{{14}}}.gif]]
+
|[[image:base-{{{14|dirt}}}.gif]]
|[[image:base-{{{15}}}.gif]]
+
|[[image:base-{{{15|dirt}}}.gif]]
|[[image:base-{{{16}}}.gif]]
+
|[[image:base-{{{16|dirt}}}.gif]]
|[[image:base-{{{17}}}.gif]]
+
|[[image:base-{{{17|dirt}}}.gif]]
|[[image:base-{{{18}}}.gif]]
+
|[[image:base-{{{18|dirt}}}.gif]]
 
|-
 
|-
|[[image:base-{{{19}}}.gif]]
+
|[[image:base-{{{19|dirt}}}.gif]]
|[[image:base-{{{20}}}.gif]]
+
|[[image:base-{{{20|dirt}}}.gif]]
|[[image:base-{{{21}}}.gif]]
+
|[[image:base-{{{21|dirt}}}.gif]]
|[[image:base-{{{22}}}.gif]]
+
|[[image:base-{{{22|dirt}}}.gif]]
|[[image:base-{{{23}}}.gif]]
+
|[[image:base-{{{23|dirt}}}.gif]]
|[[image:base-{{{24}}}.gif]]
+
|[[image:base-{{{24|dirt}}}.gif]]
 
|-
 
|-
|[[image:base-{{{25}}}.gif]]
+
|[[image:base-{{{25|dirt}}}.gif]]
|[[image:base-{{{26}}}.gif]]
+
|[[image:base-{{{26|dirt}}}.gif]]
|[[image:base-{{{27}}}.gif]]
+
|[[image:base-{{{27|dirt}}}.gif]]
|[[image:base-{{{28}}}.gif]]
+
|[[image:base-{{{28|dirt}}}.gif]]
|[[image:base-{{{29}}}.gif]]
+
|[[image:base-{{{29|dirt}}}.gif]]
|[[image:base-{{{30}}}.gif]]
+
|[[image:base-{{{30|dirt}}}.gif]]
 
|-
 
|-
|[[image:base-{{{31}}}.gif]]
+
|[[image:base-{{{31|dirt}}}.gif]]
|[[image:base-{{{32}}}.gif]]
+
|[[image:base-{{{32|dirt}}}.gif]]
|[[image:base-{{{33}}}.gif]]
+
|[[image:base-{{{33|dirt}}}.gif]]
|[[image:base-{{{34}}}.gif]]
+
|[[image:base-{{{34|dirt}}}.gif]]
|[[image:base-{{{35}}}.gif]]
+
|[[image:base-{{{35|dirt}}}.gif]]
|[[image:base-{{{36}}}.gif]]
+
|[[image:base-{{{36|dirt}}}.gif]]
 
|}
 
|}
 +
</includeonly>
 +
 +
<noinclude>
 +
== Template Documentation ==
 +
The UBK is short for '''U'''FO '''B'''ase '''K'''it. This transclusion template is designed to let you insert your own custom X-COM UFO base layouts into your discussions or articles.
 +
 +
== Usage ==
 +
 +
The easiest way to include it in your article is to copy the following:
 +
 +
<pre><nowiki>{{UBK|=
 +
|dirt|dirt|dirt|dirt|dirt|dirt|=
 +
|dirt|dirt|dirt|dirt|dirt|dirt|=
 +
|dirt|dirt|dirt|dirt|dirt|dirt|=
 +
|dirt|dirt|dirt|dirt|dirt|dirt|=
 +
|dirt|dirt|dirt|dirt|dirt|dirt|=
 +
|dirt|dirt|dirt|dirt|dirt|dirt|=}}
 +
</nowiki></pre>
 +
 +
And replace "dirt" with the following possible entries:
 +
 +
*dirt 
 +
*lift
 +
*lab
 +
*workshop
 +
*psi
 +
*containment
 +
*storage
 +
*quarters
 +
*small_radar
 +
*large_radar
 +
*hyperwave
 +
*grav
 +
*mind
 +
*missile
 +
*laser
 +
*plasma
 +
*fusion
 +
*hangar1
 +
*hangar2
 +
*hangar3
 +
*hangar4
 +
 +
The hangar is cut into quarters. 1 = NW, 2 = NE, 3 = SW, 4 = SE
 +
 +
Note if you've completing your layout manually by hand, remember that a base is 6&times;6 modules, so you will need to specify all 36 tiles. You can enter everything sequentially, but it easier to manage when entering 6 arguments per line to match the in-game layout.
 +
 +
Tip: If you have already completed your layout and the rest consists of dirt blocks, just close off the braces. All remaining entries that are not filled in at the end will default to dirt blocks. Entering <nowiki>{{UBK}}</nowiki> by itself for example will generate an empty layout.
 +
</noinclude>

Revision as of 06:09, 18 October 2010


Template Documentation

The UBK is short for UFO Base Kit. This transclusion template is designed to let you insert your own custom X-COM UFO base layouts into your discussions or articles.

Usage

The easiest way to include it in your article is to copy the following:

{{UBK|=
|dirt|dirt|dirt|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=}}

And replace "dirt" with the following possible entries:

  • dirt
  • lift
  • lab
  • workshop
  • psi
  • containment
  • storage
  • quarters
  • small_radar
  • large_radar
  • hyperwave
  • grav
  • mind
  • missile
  • laser
  • plasma
  • fusion
  • hangar1
  • hangar2
  • hangar3
  • hangar4

The hangar is cut into quarters. 1 = NW, 2 = NE, 3 = SW, 4 = SE

Note if you've completing your layout manually by hand, remember that a base is 6×6 modules, so you will need to specify all 36 tiles. You can enter everything sequentially, but it easier to manage when entering 6 arguments per line to match the in-game layout.

Tip: If you have already completed your layout and the rest consists of dirt blocks, just close off the braces. All remaining entries that are not filled in at the end will default to dirt blocks. Entering {{UBK}} by itself for example will generate an empty layout.