Difference between revisions of "Template:StartProfile"

From The Aquarium Wiki
Jump to: navigation, search
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 Image::{{{image}}}| ]] {{#if: {{{image_caption|}}} | <div class="caption">{{{image_caption}}}</div> | }} }}  | }}</includeonly>
+
{{#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


50px Documentationviewedithistory⧼Code-rev-purge-link⧽

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 source]

type[edit source]

  • 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 source]

  • Default: blank

This parameter is added to the .profile_box class to help change the style of the boxes.

title[edit source]

  • Default: No entry is created

This will create a single row entry in the profile box with the value centered, and italicized.

image[edit source]

  • 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[edit source]

  • 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 source]

  • March 1, 2011
    • Change log started<div style="clear:both;" />