Difference between revisions of "Template:StartProfile"
m |
m |
||
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 | + | {{#if: {{{image|}}} | {{profile-line-single-column |content=[[Image:{{{image}}}|200px| ]] [[Main 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> |
Revision as of 12:22, 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
type
- 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
- Default: blank
This parameter is added to the .profile_box class to help change the style of the boxes.
title
- Default: No entry is created
This will create a single row entry in the profile box with the value centered, and italicized.
image
- 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.
image_caption
- 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
- March 1, 2011
- Change log started<div style="clear:both;" />