User:ZS/Sandboxing 2: Difference between revisions
< User:ZS
(Created page with '{{Navbox |name = Gtaiv vehicles |title = Vehicles in GTA IV, The Lost and Damned, and [[Vehicles in The Ballad of Gay Tony|The Ballad…') |
No edit summary |
||
Line 1: | Line 1: | ||
== Infobox == | |||
{{Navbox | {{Navbox | ||
|name = Gtaiv vehicles | |name = Gtaiv vehicles | ||
Line 38: | Line 40: | ||
|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 | |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>--> | }}<!--<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> |
Revision as of 17:11, 5 November 2009
Infobox
|
Panoramic images
(See wikipedia article for documentation)
Double images
(See wikipedia article for documentation)