Template:Infobox image/doc

From doityourselfchristmas.com
Jump to navigation Jump to search

Template:Documentation subpage

Usage

This template inserts an image with borders that look like that of Template:Infobox. Use this template when you need to stack images vertically with an infobox template, such as Template:Tl, Template:Tl, Template:Tl or Template:Tl.

Syntax

{{#if:title|}} {{#if:|}}{{#if:|}}{{#if:{{#if:|
}}{{#if:||[[File:Example.jpg{{#ifeq:|yes||border}}||alt=Picture]]}}{{#if:|
}}|}}{{#if:|| {{#if:|{{#if:{{#if:caption|caption|}}|}}| {{#if:{{#if:caption|caption|}}|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|}}
title
{{{above}}}
{{{subheader}}}
{{#if:|
}}{{#if:||[[File:Example.jpg{{#ifeq:|yes||border}}||alt=Picture]]}}{{#if:|
}} {{#if:|
{{{caption}}} }}
{{#if:caption|caption|}}
{{#if:caption|caption|}}
{{Infobox image
|title = <!-- image title -->
|name = <!-- image name -->
|size = <!-- width -->
|has border = <!-- yes or no -->
|caption = <!-- image caption -->
}}

Parameters

Parameter Description
title subst:}}Infobox aviation{{#if:|

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} but in above and used for aviation only.

name Mandatory: Image file name (including its extension) You do not need to include "File:" prefix or "Image:" prefix.
size Highly-recommended: Width of the intended image in pixels.
has border Optional: Indicates whether a light border should be drawn around the image. Can be set to "yes" or "no". Default is "no". Do not use this parameter when the image has a transparent background. Do not confuse this border with the black border which is always present around the infobox.
caption Optional: A text to be written below the image.

Example of use

Template:Pre wrap

Template:Infobox Non-profit

{{#if:|}} {{#if:|}}{{#if:|}}{{#if:{{#if:|
}}{{#if:||[[File:Mozillaheadquarters.jpg{{#ifeq:no|yes||border}}|250px|alt=Picture]]}}{{#if:|
}}|}}{{#if:|| {{#if:|{{#if:{{#if:Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|}}|}}| {{#if:{{#if:Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|}}|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|| {{#if:|{{#if:|}}| {{#if:|}} }} }}{{#if:|}}
{{{above}}}
{{{subheader}}}
{{#if:|
}}{{#if:||[[File:Mozillaheadquarters.jpg{{#ifeq:no|yes||border}}|250px|alt=Picture]]}}{{#if:|
}} {{#if:|
{{{caption}}} }}
{{#if:Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|}}
{{#if:Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009|}}

See also

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}