Template:Phototable

From OpenTTD
Jump to: navigation, search
{{{1}}}

{{{2}}}

Usage

For including images on over of colored backgrounds.

Parameters

  • 1= image
  • 2= text
  • 3= align
  • 4= background-color hex
  • 5= border-color hex
  • 6=: [for in-list=yes]
{{Phototable|[[Image:Image.png]]|text|align|background-color|border-color}}

or

{{Phototable|[[Image:Image.png]]|text|align}}

Example

{{Phototable|[[Image:Main_menu_new_game.png|Main menu]]|OpenTTD's main menu|center}}
Main menu

OpenTTD's main menu

Images without/with Phototable template

Without With
[[Image:Face-Grin-120px.png|frame|center|hehe]] {{Phototable|[[Image:Face-Grin-120px.png]]|hehe|center}}
hehe
Face-Grin-120px.png

hehe


Personal tools