Difference between revisions of "Template:StartProfile"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
<div class="inner_container"> | <div class="inner_container"> | ||
{{#if: {{{title|}}} | {{profile-line-single-column |content={{{title}}} |class=italic title }} | }} | {{#if: {{{title|}}} | {{profile-line-single-column |content={{{title}}} |class=italic title }} | }} | ||
− | {{#if: {{{image|}}} | {{profile-line-single-column |content=[[Image:{{{image}}}|200px| ]] [[Main Image::Image | + | {{#if: {{{image|}}} | {{profile-line-single-column |content=[[Image:{{{image}}}|200px| ]] [[Main Image::Image:{{{image}}}| ]] {{#if: {{{image_caption|}}} | <div class="caption">{{{image_caption}}}</div> | }} }} | }}</includeonly> |
<noinclude> | <noinclude> | ||
{{template doc}} | {{template doc}} | ||
[[Category:Templates/Profile box]] | [[Category:Templates/Profile box]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:40, 17 September 2017
This documentation is transcluded from Template:StartProfile/doc.
This template creates the opening tags for the information box.
this template uses the {{profile-line-single-column}} template to frame information
Parameters[edit]
type[edit]
- Default: blank
The type variable is passed to {{type-phrase}} to parse the type into a human readable value. This value is assigned to Property:Is a.
class[edit]
- Default: blank
This parameter is added to the .profile_box class to help change the style of the boxes.
title[edit]
- Default: No entry is created
This will create a single row entry in the profile box with the value centered, and italicized.
image[edit]
- Default: No entry is created
If an image is passed it ins included at a width of 200px. Only the file name should be passed, no namespace information should be specified.
[edit]
- Default: Empty, only shown if an image is passed.
The content of this variable is shown below the supplied image. It is styled with the .caption class.
Change-log[edit]
- March 1, 2011
- Change log started<div style="clear:both;" />