Difference between revisions of "Template:StartProfile"

From The Aquarium Wiki
Jump to: navigation, search
m
 
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="profilebox {{{class|}}}">[[Is a::{{type-phrase|{{{type|}}} }}|]]
+
<div class="profilebox {{{class|}}}">
 
<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 }} | }}

Revision as of 01:52, 9 August 2017


Documentation icon 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

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;" />