Template:Article Information Box: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Work is progressing... added more options.)
(Finished work.)
Line 1: Line 1:
== Template ==
== Template ==
<onlyinclude><div class="{{{class|Article_Information_Box}}}">
<onlyinclude><div class="{{{class name|Article_Information_Box}}}">
<table width="{{{table_width|100%}}}" style="border: {{{table boarder|1px solid #aaaaaa}}};">
<table width="{{{table_width|100%}}}" style="border: {{{table boarder|1px solid #aaaaaa}}};">
<tr valign="{{{table text align|middle}}}">
<tr valign="{{{table text align|middle}}}">
<td style="background: {{{left cell bgcolor|#DFDFDF}}}; border-right: {{{table boarder|1px solid #aaaaaa}}}; font-size: {{{left cell font size|12px}}}; padding: {{{left cell padding|2px 4px 0 2px}}}; width: {{{left cell width|{{PageTitleTemplatesLeftAreaWidth}}}}}; white-space: nowrap;">
<td style="background: {{{left cell bgcolor|#DFDFDF}}}; border-right: {{{table boarder|1px solid #aaaaaa}}}; font-size: {{{left cell font size|12px}}}; padding: {{{left cell padding|2px 4px 0 2px}}}; width: {{{left cell width|{{PageTitleTemplatesLeftAreaWidth}}}}}; white-space: nowrap;">
[[File:Locked Screen.png]]&nbsp;&nbsp;'''Stable Content:'''</td>
{{{left cell icon|[[File:Locked Screen.png]]}}}&nbsp;&nbsp;{{{left cell text|}}}</td>
<td style="background: #EFEFEF; font-size: 12px; padding: 1px 1em 0;">
<td style="background: {{{right cell bgcolor|#EFEFEF}}}; font-size: {{{right cell font size|12px}}}; padding: {{{right cell padding|1px 1em 0}}};">
The information contained on this page is not influenced by the version of Shareaza and should stay accurate in future without bigger changes.</td>
{{{right cell text|}}}</td>
<td style="background: {{{right cell bgcolor|#EFEFEF}}}; font-size: 8px; padding: 1px 5px 1px; width: 8px" align="right">[[Template:{{{class name|Article_Information_Box}}}|e]]</td>
</tr></table></div></onlyinclude>
</tr></table></div></onlyinclude>


Line 12: Line 13:
  <nowiki>
  <nowiki>
  {{Article Information Box
  {{Article Information Box
   class           = (Article_Information_Box)
   class name          = (Article_Information_Box)
   table width     = (100)
   table width         = (100)
   table boarder   = (1px solid #aaaaaa)
   table boarder       = (1px solid #aaaaaa)
   table text align = (middle)
   table text align     = (middle)
   left cell bgcolor   = (#DFDFDF)
   left cell bgcolor   = (#DFDFDF)
   left cell font size = (12px)
   left cell font size = (12px)
   left cell padding   = (2px 4px 0 2px)
   left cell padding   = (2px 4px 0 2px)
   left cell width     = ({{PageTitleTemplatesLeftAreaWidth}})
   left cell width     = ({{PageTitleTemplatesLeftAreaWidth}})
  left cell icon      = ([[File:Locked Screen.png]])
  left cell text      =
  right cell bgcolor  = (#EFEFEF)
  right cell font size = (12px)
  right cell padding  = (1px 1em 0)
  right cell text      =
  }}
  }}
  </nowiki>
  </nowiki>
Line 27: Line 34:
| class        = hallo
| class        = hallo
| table width  = 100%
| table width  = 100%
| table boarder = 10px
| table boarder = 10px solid #aaaaaa
}}
}}


[[Category:Templates]]
[[Category:Templates]]

Revision as of 02:29, 30 July 2010

Template

Syntax

 {{Article Information Box
   class name           = (Article_Information_Box)
   table width          = (100)
   table boarder        = (1px solid #aaaaaa)
   table text align     = (middle)
   left cell bgcolor    = (#DFDFDF)
   left cell font size  = (12px)
   left cell padding    = (2px 4px 0 2px)
   left cell width      = ({{PageTitleTemplatesLeftAreaWidth}})
   left cell icon       = ([[File:Locked Screen.png]])
   left cell text       = 
   right cell bgcolor   = (#EFEFEF)
   right cell font size = (12px)
   right cell padding   = (1px 1em 0)
   right cell text      = 
 }}
 

Example