Jump to content

Template:UBK: Difference between revisions

From UFOpaedia
m Correction - and put module list in table (with pictures!)
Madned (talk | contribs)
m template in action demonstrator.
 
(2 intermediate revisions by 2 users 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 66: Line 66:
Replace "dirt" with the following possible entries:  
Replace "dirt" with the following possible entries:  


{| border = "1" width = "40%" align ="left" {{StdTable}}
<gallery caption = "General modules" widths = "64" heights = "64" perrow = "3">
|-
file:base-dirt.gif | [[dirt]]  
| width = "40%" |dirt
file:base-lift.gif | lift
|[[file:base-dirt.gif]]
file:base-stores.gif | stores
|-
file:base-quarters.gif | quarters
|lift
file:base-lab.gif | lab
|[[file:base-lift.gif]]
file:base-containment.gif | containment
|-
file:base-workshop.gif | workshop
|lab
file:base-psi.gif | psi
|[[file:base-lab.gif]]
</gallery>
|-
 
|workshop
 
|[[file:base-workshop.gif]]
<gallery caption = "Radar modules" widths = "64" heights = "64" perrow = "3">
|-
file:base-small_radar.gif | small_radar
| psi
file:base-large_radar.gif | large_radar
|[[file:base-psi.gif]]
file:base-hyperwave.gif | hyperwave
|-
</gallery>
|containment
 
|[[file:base-containment.gif]]
 
|-
<gallery caption = "Defense modules" widths = "64" heights = "64" perrow = "3">
|stores
file:base-grav.gif | grav
|[[file:base-stores.gif]]
file:base-mind.gif | mind
|-
file:base-missile.gif | missile
|quarters
file:base-laser.gif | laser
|[[file:base-quarters.gif]]
file:base-plasma.gif | plasma
|-
file:base-fusion.gif | fusion
|small_radar
</gallery>
|[[file:base-small_radar.gif]]
 
|-
 
|large_radar
<gallery caption = "Hangar modules" widths = "64" heights = "64" perrow = "2">
|[[file:base-large_radar.gif]]
file:base-hangar1.gif | hangar1
|-
file:base-hangar2.gif | hangar2
|hyperwave
file:base-hangar3.gif | hangar3
|[[file:base-hyperwave.gif]]
file:base-hangar4.gif | hangar4
|-
</gallery>
|grav
 
|[[file:base-grav.gif]]
sample with one of each component<br>
|-
updates to template will not appear here until saved
|mind
{{UBK|=
|[[file:base-mind.gif]]
|dirt|lift|stores|quarters|lab|containment|=
|-
|workshop|psi|small_radar|large_radar|hyperwave|grav|=
|missile
|mind|missile|laser|plasma|fusion|hangar1|=
|[[file:base-missile.gif]]
|hangar2|hangar3|hangar4|dirt|dirt|dirt|=
|-
|dirt|dirt|dirt|dirt|dirt|dirt|=
|laser
|dirt|dirt|dirt|dirt|dirt|dirt|=}}
|[[file:base-laser.gif]]
|-
|plasma
|[[file:base-plasma.gif]]
|-
|fusion
|[[file:base-fusion.gif]]
|-
|hangar1
|[[file:base-hangar1.gif]]
|-
|hangar2
|[[file:base-hangar2.gif]]
|-
|hangar3
|[[file:base-hangar3.gif]]
|-
|hangar4
|[[file:base-hangar4.gif]]
|}


----
----

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.