User:ZS/Sandboxing 2: Difference between revisions

No edit summary
No edit summary
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Infobox ==
== Testbed for gallery syntax ==
Refer to [[w:User blog:Kirkburn/Photo gallery launch|User blog:Kirkburn/Photo gallery launch]] for updates.


{{Navbox
=== Fire Truck (basic gallery) ===
|name    = Gtaiv vehicles
<center><gallery widths="120" columns="5" captionalign="left">
|title  = [[Vehicles in GTA IV]], [[Vehicles in The Lost and Damned|The Lost and Damned]], and [[Vehicles in The Ballad of Gay Tony|The Ballad of Gay Tony]]
FireTruck-GTAIII-front.jpg|A Fire Truck in [[Grand Theft Auto III|GTA III]] (<small>[[:Image:FireTruck-GTAIII-rear.jpg|Rear quarter view]]</small>).|link=Grand Theft Auto III
|image  =
|above  =
|state = {{{state}}}


|group1  = Sports and Muscle Cars
Firetruck-GTAVC-front.jpg|A "Firetruck" in [[Grand Theft Auto: Vice City|GTA Vice City]] (<small>[[:Image:Firetruck-GTAVC-rear.jpg|Rear quarter view]]</small>).|link=Grand Theft Auto: Vice City
|list1  =  [[Banshee]] {{!}} [[Comet]] {{!}} [[Coquette]] {{!}} [[Dukes (car)|Dukes]] {{!}} [[Faction]] {{!}} [[Infernus]] {{!}} [[Ruiner]] {{!}} [[Sabre]] {{!}} [[Sabre GT]] {{!}} [[Stallion]] {{!}} [[Sultan RS]]  {{!}} [[Super GT]] {{!}} [[Turismo]] {{!}} [[Vigero]]


|group2  = Two-Door and Hatchbacks
FireTruck-GTASA-front.jpg|A Fire Truck in [[Grand Theft Auto: San Andreas|GTA San Andreas]] (<small>[[:Image:FireTruck-GTASA-rear.jpg|Rear quarter view]]</small>).|link=Grand Theft Auto: San Andreas
|list2  = [[Blista Compact]] {{!}} [[Bucanneer]] {{!}} [[Feltzer]] {{!}} [[Fortune]] {{!}} [[Futo]] {{!}} [[Manana]] {{!}} [[Peyote]] {{!}} [[Rhapsody]]* {{!}} [[Sentinel]] {{!}} [[Uranus]] {{!}} [[Virgo]] {{!}} [[Voodoo]]


|group3  = Four-Door Sedans and Saloons
FireTruck-GTASA-ladder-front.jpg|A ladder-truck variant Fire Truck in GTA San Andreas (<small>[[:Image:FireTruck-GTASA-ladder-rear.jpg|Rear quarter view]]</small>).
|list3  = [[Admiral]] {{!}} [[Chavos]] {{!}} [[Cognoscenti]] {{!}} [[DF8-90]] {{!}} [[Dilettante]] {{!}} [[Emperor (car)|Emperor]] {{!}} [[Esperanto]] {{!}} [[Feroci]] {{!}} [[Hakumai]] {{!}} [[Ingot]] {{!}} [[Intruder]] {{!}} [[Lokus]] {{!}} [[Marbelle]]  {{!}} [[Merit]]  {{!}} [[Oracle]] {{!}} [[Pinnacle]] {{!}} [[PMP 600]] {{!}} [[Premier]] {{!}} [[Presidente]] {{!}} [[Primo]] {{!}} [[Regina]]* {{!}} [[Schafter]] {{!}} [[Stretch]] {{!}} [[Sultan]] {{!}} [[Vincent]]  {{!}} [[Washington]] {{!}} [[Willard]]


|group4  = SUVs, Pick-ups, and Vans
FireTruck-GTAA.png|A Fire Truck in [[Grand Theft Auto Advance|GTA Advance]].
|list4  = [[Bobcat]] {{!}} [[Cavalcade]] {{!}} [[Cavalcade FXT]] {{!}} [[Contender]] {{!}} [[Habanero]] {{!}} [[Huntley Sport]] {{!}} [[Landstalker]] {{!}} [[Minivan]] {{!}} [[Moonbeam]] {{!}} [[Patriot]] {{!}} [[Perennial]] {{!}} [[Rancher]] {{!}} [[Rebla]] {{!}} [[Romero]] {{!}} [[Slamvan]]* {{!}} [[Solair]] {{!}} [[Stratum]]


|group5  = Commercial & Industrial
Firetruck-GTALCS-front.jpg|A "Firetruck" in [[Grand Theft Auto: Liberty City Stories|GTA Liberty City Stories]] (<small>[[:Image:Firetruck-GTALCS-rear.jpg|Rear quarter view]]</small>).
|list5  = [[Airtug]] {{!}} [[Benson]] {{!}} [[Biff]] {{!}} [[Boxville]] {{!}} [[Burrito]] ([[Gang Burrito|Gang variant]]*) {{!}} [[Flatbed]] {{!}} [[Forklift]] {{!}} [[Laundromat (van)|Laundromat]] {{!}} [[Mr. Tasty]] {{!}} [[Mule]] {{!}} [[Packer]] {{!}} [[Phantom]] {{!}} [[Pony]] {{!}} [[Ripley]] {{!}} [[Securicar]] {{!}} [[Speedo]] {{!}} [[Steed]] {{!}} [[Yankee]]


|group6  = Emergency
FireTruck-GTAVCS-front.jpg|A Fire Truck in [[Grand Theft Auto: Vice City Stories|GTA Vice City Stories]] (<small>[[:Image:FireTruck-GTAVCS-rear.jpg|Rear quarter view]]</small>).
|list6  = [[Ambulance]] {{!}} [[Enforcer]] {{!}} [[FIB Buffalo]] {{!}} [[Fire Truck]] {{!}} [[NOOSE Cruiser]] {{!}} [[NOOSE Patriot]] {{!}} [[Police Cruiser]] {{!}} [[Police Patrol]] {{!}} [[Police Stockade]] {{!}} [[Predator]]
</gallery></center>


|group7  = Public Service
=== Regina (workaround) ===
|list7  = [[Bus]] {{!}} [[Cabby]] {{!}} [[Subway in GTA IV|Liberty City Subway]] {{!}} [[Prison Bus]]* {{!}} [[Roman's Taxi]] {{!}} [[Skycar]] {{!}} [[Taxi]] {{!}} [[Trashmaster]]
==== Gallery in centered table (deprecated) ====
{| align="center"
|<gallery width="auto" perrow="5" style="font-size:95%; padding:0;">
Regina-GTAVC-front.jpg|GTA Vice City<br>(<small>[[:Image:Regina-GTAVC-rear.jpg|Rear quarter view]]</small>).
Regina-GTASA-front.jpg|GTA San Andreas<br>(<small>[[:Image:Regina-GTASA-rear.jpg|Rear quarter view]]</small>).
Regina-GTAVCS-front.jpg|GTA Vice City Stories<br>(<small>[[:Image:Regina-GTAVCS-rear.jpg|Rear quarter view]]</small>).
</gallery>
|}


|group8  = Bikes
==== Gallery and captions centered by default; table syntax removed ====
|list8  = [[Angel]]* {{!}} [[Bati 800]]* {{!}} [[Bati Custom]]* {{!}} [[Daemon]]* {{!}} [[Diabolus]]* {{!}} [[Double T]]* {{!}} [[Double T Custom]]* {{!}} [[Faggio]] {{!}} [[Freeway]] {{!}} [[Hakuchou]]* {{!}} [[Hakuchou Custom]]* {{!}} [[Hellfury]] {{!}} [[Hexer]]* {{!}} [[Innovation]]* {{!}} [[Lycan]]* {{!}} [[Nightblade]]* {{!}} [[NRG 900]] {{!}} [[PCJ-600|PCJ 600]] {{!}} [[Revenant]]* {{!}} [[Sanchez]] {{!}} [[Wayfarer]]* {{!}} [[Wolfsbane]]* {{!}} [[Zombie]]
<gallery width="auto" perrow="5" style="font-size:95%; padding:0; text-align:left;">
 
Regina-GTAVC-front.jpg|GTA Vice City<br>(<small>[[:Image:Regina-GTAVC-rear.jpg|Rear quarter view]]</small>).
|group9  = Boats
Regina-GTASA-front.jpg|GTA San Andreas<br>(<small>[[:Image:Regina-GTASA-rear.jpg|Rear quarter view]]</small>).
|list9  = [[Dinghy]]  {{!}} [[Jetmax]]  {{!}} [[Marquis]]  {{!}} [[Reefer]] {{!}} [[Squalo]] {{!}} [[Tropic]] {{!}} [[Tug Boat]]
Regina-GTAVCS-front.jpg|GTA Vice City Stories<br>(<small>[[:Image:Regina-GTAVCS-rear.jpg|Rear quarter view]]</small>).
 
</gallery>
|group10  = Aircraft
|list10  = [[Annihilator]] {{!}} [[Helitours Maverick]] {{!}} [[Maverick]] {{!}} [[Police Maverick]]
 
|below  = [[Vehicles in GTA IV]] ([[:Category:Vehicles in GTA IV|Category]]) {{!}} [[Vehicles in The Lost and Damned]] ([[:Category:Vehicles in The Lost and Damned|Category]]) {{!}} [[Vehicles in The Ballad of Gay Tony]] ([[:Category:Vehicles in The Ballad of Gay Tony|Category]]) {{!}} [[Vehicle Brands]] {{!}} [[:Category:Vehicle Types|Vehicle Types]] {{!}} [[Special Vehicles]]<br>'''*''' = [[The Lost and Damned]] only '''**''' = [[The Ballad of Gay Tony]] only '''***''' = TLAD and TBOGT only
}}<!--<noinclude>[[Category:Navigation]]</noinclude>-->
 
== [[wp:Template:Wide image|Panoramic images]] ==
(See wikipedia article for documentation)
 
<includeonly><div class="thumb {{#switch:{{{5}}}
|left=<nowiki> </nowiki>tleft" style"
|right=<nowiki> </nowiki>tright" style="
|#default=<nowiki> </nowiki>tnone style="margin-left: auto; margin-right:auto;
}} width:{{{4|99%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;">
<div class="thumbinner"><div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#switch:{{{3}}}
|thumb
|thumbnail
|frame
|border={{{1}}}
|#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption"><div class="magnify">[[File:Magnify-clip.png|15x13px|link=:File:{{{1}}}|alt=|Enlarge]]</div>{{{3}}}</div>|}}
</div></div></includeonly><noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
 
== [[wp:Template:Double image|Double images]] ==
(See wikipedia article for documentation)
 
<includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float -->
| left = <div class="thumb tleft">
| right = <div class="thumb tright">
| center|centre = <div class="center"><div class="thumb tnone">
| #default = <div class="thumb tright">
}}<div class="thumbinner" style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;">  <!-- calculate width based on image widths +8px -->
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;" cellspacing="0"
|- style="vertical-align:{{{valign|middle}}};"
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{2}}}|{{{3}}}px|alt={{{8|}}}|{{{6|}}}]]  <!-- image 1 -->
| style="padding: 0; margin: 0; border: 0; width: 2px" |
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{4}}}|{{{5}}}px|alt={{{9|}}}|{{#if: {{{7|}}}|{{{7|}}}|{{{6|}}}}}]] <!-- image 2 -->
|- style="vertical-align:top;"
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{6|}}}</div>
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}}
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{7|}}}</div>
|  <!-- otherwise just have one caption underneath both images -->
{{!}} style="padding: 0; margin: 0; border: 0;" colspan="3" {{!}} <div class="thumbcaption">{{{6|}}}</div>
}}
|}
</div>
{{#switch: {{{1|}}}  <!-- as central image float needs two divs, need to close two for center and only one for left/right -->
| center|centre = </div></div>
| </div>
}}</includeonly>

Latest revision as of 11:10, 23 October 2011

Testbed for gallery syntax

Refer to User blog:Kirkburn/Photo gallery launch for updates.

Fire Truck (basic gallery)

Regina (workaround)

Gallery in centered table (deprecated)

Gallery and captions centered by default; table syntax removed