Jump to content

Template:UBK: Difference between revisions

From UFOpaedia
No edit summary
 
Madned (talk | contribs)
m template in action demonstrator.
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{{1|blah}}}
<includeonly>
{|cellspacing="0" cellpadding="0" style="border-collapse:collapse;"
|-
|[[image:base-{{{1|dirt}}}.gif|link={{{1|dirt}}}|alt={{{1|dirt}}}]]
|[[image:base-{{{2|dirt}}}.gif|link={{{2|dirt}}}|alt={{{2|dirt}}}]]
|[[image:base-{{{3|dirt}}}.gif|link={{{3|dirt}}}|alt={{{3|dirt}}}]]
|[[image:base-{{{4|dirt}}}.gif|link={{{4|dirt}}}|alt={{{4|dirt}}}]]
|[[image:base-{{{5|dirt}}}.gif|link={{{5|dirt}}}|alt={{{5|dirt}}}]]
|[[image:base-{{{6|dirt}}}.gif|link={{{6|dirt}}}|alt={{{6|dirt}}}]]
|-
|[[image:base-{{{7|dirt}}}.gif|link={{{7|dirt}}}|alt={{{7|dirt}}}]]
|[[image:base-{{{8|dirt}}}.gif|link={{{8|dirt}}}|alt={{{8|dirt}}}]]
|[[image:base-{{{9|dirt}}}.gif|link={{{9|dirt}}}|alt={{{9|dirt}}}]]
|[[image:base-{{{10|dirt}}}.gif|link={{{10|dirt}}}|alt={{{10|dirt}}}]]
|[[image:base-{{{11|dirt}}}.gif|link={{{11|dirt}}}|alt={{{11|dirt}}}]]
|[[image:base-{{{12|dirt}}}.gif|link={{{12|dirt}}}|alt={{{12|dirt}}}]]
|-
|[[image:base-{{{13|dirt}}}.gif|link={{{13|dirt}}}|alt={{{13|dirt}}}]]
|[[image:base-{{{14|dirt}}}.gif|link={{{14|dirt}}}|alt={{{14|dirt}}}]]
|[[image:base-{{{15|dirt}}}.gif|link={{{15|dirt}}}|alt={{{15|dirt}}}]]
|[[image:base-{{{16|dirt}}}.gif|link={{{16|dirt}}}|alt={{{16|dirt}}}]]
|[[image:base-{{{17|dirt}}}.gif|link={{{17|dirt}}}|alt={{{17|dirt}}}]]
|[[image:base-{{{18|dirt}}}.gif|link={{{18|dirt}}}|alt={{{18|dirt}}}]]
|-
|[[image:base-{{{19|dirt}}}.gif|link={{{19|dirt}}}|alt={{{19|dirt}}}]]
|[[image:base-{{{20|dirt}}}.gif|link={{{20|dirt}}}|alt={{{20|dirt}}}]]
|[[image:base-{{{21|dirt}}}.gif|link={{{21|dirt}}}|alt={{{21|dirt}}}]]
|[[image:base-{{{22|dirt}}}.gif|link={{{22|dirt}}}|alt={{{22|dirt}}}]]
|[[image:base-{{{23|dirt}}}.gif|link={{{23|dirt}}}|alt={{{23|dirt}}}]]
|[[image:base-{{{24|dirt}}}.gif|link={{{24|dirt}}}|alt={{{24|dirt}}}]]
|-
|[[image:base-{{{25|dirt}}}.gif|link={{{25|dirt}}}]]
|[[image:base-{{{26|dirt}}}.gif|link={{{26|dirt}}}]]
|[[image:base-{{{27|dirt}}}.gif|link={{{27|dirt}}}]]
|[[image:base-{{{28|dirt}}}.gif|link={{{28|dirt}}}]]
|[[image:base-{{{29|dirt}}}.gif|link={{{29|dirt}}}]]
|[[image:base-{{{30|dirt}}}.gif|link={{{30|dirt}}}]]
|-
|[[image:base-{{{31|dirt}}}.gif|link={{{31|dirt}}}]]
|[[image:base-{{{32|dirt}}}.gif|link={{{32|dirt}}}]]
|[[image:base-{{{33|dirt}}}.gif|link={{{33|dirt}}}]]
|[[image:base-{{{34|dirt}}}.gif|link={{{34|dirt}}}]]
|[[image:base-{{{35|dirt}}}.gif|link={{{35|dirt}}}]]
|[[image:base-{{{36|dirt}}}.gif|link={{{36|dirt}}}]]
|}
</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>
 
 
Replace "dirt" with the following possible entries:
 
<gallery caption = "General modules" widths = "64" heights = "64" perrow = "3">
file:base-dirt.gif | [[dirt]]
file:base-lift.gif | lift
file:base-stores.gif | stores
file:base-quarters.gif | quarters
file:base-lab.gif | lab
file:base-containment.gif | containment
file:base-workshop.gif | workshop
file:base-psi.gif | psi
</gallery>
 
 
<gallery caption = "Radar modules" widths = "64" heights = "64" perrow = "3">
file:base-small_radar.gif | small_radar
file:base-large_radar.gif | large_radar
file:base-hyperwave.gif | hyperwave
</gallery>
 
 
<gallery caption = "Defense modules" widths = "64" heights = "64" perrow = "3">
file:base-grav.gif | grav
file:base-mind.gif | mind
file:base-missile.gif | missile
file:base-laser.gif | laser
file:base-plasma.gif | plasma
file:base-fusion.gif | fusion
</gallery>
 
 
<gallery caption = "Hangar modules" widths = "64" heights = "64" perrow = "2">
file:base-hangar1.gif | hangar1
file:base-hangar2.gif | hangar2
file:base-hangar3.gif | hangar3
file:base-hangar4.gif | hangar4
</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|=}}
 
----
 
'''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.
 
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 a a 6&times;6 block of dirt.
</noinclude>

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.