Jump to content

Template:UBK: Difference between revisions

From UFOpaedia
m Turned table into gallery
Madned (talk | contribs)
m template in action demonstrator.
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{|cellspacing="0" cellpadding="0" style="border-collapse:collapse;"
{|cellspacing="0" cellpadding="0" style="border-collapse:collapse;"
|-
|-
|[[image:base-{{{1|dirt}}}.gif]]
|[[image:base-{{{1|dirt}}}.gif|link={{{1|dirt}}}|alt={{{1|dirt}}}]]
|[[image:base-{{{2|dirt}}}.gif]]
|[[image:base-{{{2|dirt}}}.gif|link={{{2|dirt}}}|alt={{{2|dirt}}}]]
|[[image:base-{{{3|dirt}}}.gif]]
|[[image:base-{{{3|dirt}}}.gif|link={{{3|dirt}}}|alt={{{3|dirt}}}]]
|[[image:base-{{{4|dirt}}}.gif]]
|[[image:base-{{{4|dirt}}}.gif|link={{{4|dirt}}}|alt={{{4|dirt}}}]]
|[[image:base-{{{5|dirt}}}.gif]]
|[[image:base-{{{5|dirt}}}.gif|link={{{5|dirt}}}|alt={{{5|dirt}}}]]
|[[image:base-{{{6|dirt}}}.gif]]
|[[image:base-{{{6|dirt}}}.gif|link={{{6|dirt}}}|alt={{{6|dirt}}}]]
|-
|-
|[[image:base-{{{7|dirt}}}.gif]]
|[[image:base-{{{7|dirt}}}.gif|link={{{7|dirt}}}|alt={{{7|dirt}}}]]
|[[image:base-{{{8|dirt}}}.gif]]
|[[image:base-{{{8|dirt}}}.gif|link={{{8|dirt}}}|alt={{{8|dirt}}}]]
|[[image:base-{{{9|dirt}}}.gif]]
|[[image:base-{{{9|dirt}}}.gif|link={{{9|dirt}}}|alt={{{9|dirt}}}]]
|[[image:base-{{{10|dirt}}}.gif]]
|[[image:base-{{{10|dirt}}}.gif|link={{{10|dirt}}}|alt={{{10|dirt}}}]]
|[[image:base-{{{11|dirt}}}.gif]]
|[[image:base-{{{11|dirt}}}.gif|link={{{11|dirt}}}|alt={{{11|dirt}}}]]
|[[image:base-{{{12|dirt}}}.gif]]
|[[image:base-{{{12|dirt}}}.gif|link={{{12|dirt}}}|alt={{{12|dirt}}}]]
|-
|-
|[[image:base-{{{13|dirt}}}.gif]]
|[[image:base-{{{13|dirt}}}.gif|link={{{13|dirt}}}|alt={{{13|dirt}}}]]
|[[image:base-{{{14|dirt}}}.gif]]
|[[image:base-{{{14|dirt}}}.gif|link={{{14|dirt}}}|alt={{{14|dirt}}}]]
|[[image:base-{{{15|dirt}}}.gif]]
|[[image:base-{{{15|dirt}}}.gif|link={{{15|dirt}}}|alt={{{15|dirt}}}]]
|[[image:base-{{{16|dirt}}}.gif]]
|[[image:base-{{{16|dirt}}}.gif|link={{{16|dirt}}}|alt={{{16|dirt}}}]]
|[[image:base-{{{17|dirt}}}.gif]]
|[[image:base-{{{17|dirt}}}.gif|link={{{17|dirt}}}|alt={{{17|dirt}}}]]
|[[image:base-{{{18|dirt}}}.gif]]
|[[image:base-{{{18|dirt}}}.gif|link={{{18|dirt}}}|alt={{{18|dirt}}}]]
|-
|-
|[[image:base-{{{19|dirt}}}.gif]]
|[[image:base-{{{19|dirt}}}.gif|link={{{19|dirt}}}|alt={{{19|dirt}}}]]
|[[image:base-{{{20|dirt}}}.gif]]
|[[image:base-{{{20|dirt}}}.gif|link={{{20|dirt}}}|alt={{{20|dirt}}}]]
|[[image:base-{{{21|dirt}}}.gif]]
|[[image:base-{{{21|dirt}}}.gif|link={{{21|dirt}}}|alt={{{21|dirt}}}]]
|[[image:base-{{{22|dirt}}}.gif]]
|[[image:base-{{{22|dirt}}}.gif|link={{{22|dirt}}}|alt={{{22|dirt}}}]]
|[[image:base-{{{23|dirt}}}.gif]]
|[[image:base-{{{23|dirt}}}.gif|link={{{23|dirt}}}|alt={{{23|dirt}}}]]
|[[image:base-{{{24|dirt}}}.gif]]
|[[image:base-{{{24|dirt}}}.gif|link={{{24|dirt}}}|alt={{{24|dirt}}}]]
|-
|-
|[[image:base-{{{25|dirt}}}.gif]]
|[[image:base-{{{25|dirt}}}.gif|link={{{25|dirt}}}]]
|[[image:base-{{{26|dirt}}}.gif]]
|[[image:base-{{{26|dirt}}}.gif|link={{{26|dirt}}}]]
|[[image:base-{{{27|dirt}}}.gif]]
|[[image:base-{{{27|dirt}}}.gif|link={{{27|dirt}}}]]
|[[image:base-{{{28|dirt}}}.gif]]
|[[image:base-{{{28|dirt}}}.gif|link={{{28|dirt}}}]]
|[[image:base-{{{29|dirt}}}.gif]]
|[[image:base-{{{29|dirt}}}.gif|link={{{29|dirt}}}]]
|[[image:base-{{{30|dirt}}}.gif]]
|[[image:base-{{{30|dirt}}}.gif|link={{{30|dirt}}}]]
|-
|-
|[[image:base-{{{31|dirt}}}.gif]]
|[[image:base-{{{31|dirt}}}.gif|link={{{31|dirt}}}]]
|[[image:base-{{{32|dirt}}}.gif]]
|[[image:base-{{{32|dirt}}}.gif|link={{{32|dirt}}}]]
|[[image:base-{{{33|dirt}}}.gif]]
|[[image:base-{{{33|dirt}}}.gif|link={{{33|dirt}}}]]
|[[image:base-{{{34|dirt}}}.gif]]
|[[image:base-{{{34|dirt}}}.gif|link={{{34|dirt}}}]]
|[[image:base-{{{35|dirt}}}.gif]]
|[[image:base-{{{35|dirt}}}.gif|link={{{35|dirt}}}]]
|[[image:base-{{{36|dirt}}}.gif]]
|[[image:base-{{{36|dirt}}}.gif|link={{{36|dirt}}}]]
|}
|}
</includeonly>  
</includeonly>  
Line 67: Line 67:


<gallery caption = "General modules" widths = "64" heights = "64" perrow = "3">
<gallery caption = "General modules" widths = "64" heights = "64" perrow = "3">
file:base-dirt.gif | dirt  
file:base-dirt.gif | [[dirt]]
file:base-lift.gif | lift
file:base-lift.gif | lift
file:base-stores.gif | stores
file:base-stores.gif | stores
Line 102: Line 102:
</gallery>  
</gallery>  


sample with one of each component<br>
updates to template will not appear here until saved
{{UBK|=
|dirt|lift|stores|quarters|lab|containment|=
|workshop|psi|small_radar|large_radar|hyperwave|grav|=
|mind|missile|laser|plasma|fusion|hangar1|=
|hangar2|hangar3|hangar4|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=
|dirt|dirt|dirt|dirt|dirt|dirt|=}}


----
----

Latest revision as of 19:25, 14 January 2011


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


Replace "dirt" with the following possible entries:




sample with one of each component
updates to template will not appear here until saved

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




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.

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 a a 6×6 block of dirt.