Difference between revisions of "Template:HairTableRow"

From EncyclopAtys

Jump to: navigation, search
m (21 revisions: Templates from old wiki)
Line 46: Line 46:
 
{{HairTableRow || image1=A LongBunched.jpg || name1=Example caption || image2=A LongBunched.jpg || name2=Other example caption}}
 
{{HairTableRow || image1=A LongBunched.jpg || name1=Example caption || image2=A LongBunched.jpg || name2=Other example caption}}
 
}}
 
}}
 
+
[[Category: Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:33, 11 October 2009

|style="border:1px dashed #dddddd;background-color:#eeeeee;color:#000" colspan="1" width="33%" | [[Image:{{{image1}}}|{{{name1}}}|center|thumb|200px]] | style="border:1px dashed #dddddd;background-color:#eeeeee;color:#000" colspan="1" width="33%" | | style="border:1px dashed #dddddd;background-color:#eeeeee;color:#000" colspan="1" width="34%" | |-



Template originally intended for displaying hair in gallery pages. Must be used in conjunction with Template:HairTable.

Syntax:

{{HairTable || Content=

{{HairTableRow || image1=x.jpg || name1=Example caption || image2=y.jpg || name2=Other example caption || image3=z.jpg || name3=Blah}}
{{HairTableRow || image1=x.jpg || name1=Example caption || image2=y.jpg || name2=Other example caption || image3=z.jpg || name3=Blah}}

}}

Fields:

  • image1 - Filename of the first image. Do not include [[Image:]] tags.
  • name1 - Caption/name for the first image.
  • And so on, maximum # 3

Each row will always include three cells - although more could fit on higher res monitors, this is the maximum for lower res monitors (1024x768). Images will be resized to 200px width.

For rows containing less than three images, omit the image3 and name3 fields (and image2/name2 if necessary).

For example:

{{HairTable || Content=

{{HairTableRow || image1=A LongBunched.jpg || name1=Example caption || image2=A LongBunched.jpg || name2=Other example caption || image3=A LongBunched.jpg || name3=Blah}}
{{HairTableRow || image1=A LongBunched.jpg || name1=Example caption}}
{{HairTableRow || image1=A LongBunched.jpg || name1=Example caption || image2=A LongBunched.jpg || name2=Other example caption}}

}}

Produces:

Example caption
Other example caption
Blah
Example caption
Example caption
Other example caption