Template:Article Information Box: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
No edit summary
(Added synchronization notice to page header.)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{InSynkPage|{{Quazaa Wiki|Template:Article Information Box}}|{{Quazaa Wiki}}}}
== Template ==
== Template ==
<onlyinclude><div class="{{{class name|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="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}}}; color:{{{left cell font color|black}}}; 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}}}; color:{{{left cell font color|black}}}; font-size: {{{left cell font size|12px}}}; padding: {{{left cell padding|2px 1em 0 0.5em}}}; width: {{{left cell width|{{PageTitleTemplatesLeftAreaWidth}}}}}; white-space: nowrap;">
{{{left cell icon|[[File:Locked Screen.png]]}}}&nbsp;&nbsp;{{{left cell text|}}}</td>
{{{left cell icon|[[File:Locked Screen.png]]}}}&nbsp;&nbsp;{{{left cell text|}}}</td>
<td style="background: {{{right cell bgcolor|#EFEFEF}}}; color: {{{right cell font color|black}}}; font-size: {{{right cell font size|12px}}}; padding: {{{right cell padding|1px 1em 0}}};">
<td style="background: {{{right cell bgcolor|#EFEFEF}}}; color: {{{right cell font color|black}}}; font-size: {{{right cell font size|12px}}}; padding: {{{right cell padding|1px 1em 0}}};">
{{{right cell text|}}}
{{{right cell text|}}}
</td><td style="background: {{{right cell bgcolor|#EFEFEF}}}; color: {{{right cell font color|black}}}; font-size: 8px; padding: 1px 5px 1px; width: 8px" align="right">[[Template:{{{class name|Article_Information_Box}}}|e]]</td>
</td><td style="background: {{{right cell bgcolor|#EFEFEF}}}; color: {{{right cell font color|black}}}; font-size: 8px; padding: 1px 5px; width: 8px" align="right">[[Template:{{{class name|Article_Information_Box}}}|e]]</td>
</tr></table></div></onlyinclude>
</tr></table></div></onlyinclude>


== Syntax ==
== Syntax ==
  <nowiki>
  <nowiki>
{{Article Information Box
{{Article Information Box
| class name          = (Article_Information_Box)
| class name          = (Article_Information_Box)
| 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 color = (black)
| left cell font color = (black)
| left cell font size  = (12px)
| left cell font size  = (12px)
| left cell padding    = (2px 1em 0 0.5em)
| left cell padding    = (2px 4px 0 2px)
| left cell width      = ({{PageTitleTemplatesLeftAreaWidth}})
| left cell width      = ({{PageTitleTemplatesLeftAreaWidth}})
| left cell icon      = ([[File:Locked Screen.png]])
| left cell icon      = ([[File:Locked Screen.png]])
| left cell text      =  
| left cell text      =  
| right cell bgcolor  = (#EFEFEF)
| right cell bgcolor  = (#EFEFEF)
| right cell font color= (black)
| right cell font color= (black)
| right cell font size = (12px)
| right cell font size = (12px)
| right cell padding  = (1px 1em 0)
| right cell padding  = (1px 1em 0)
| right cell text      =  
| right cell text      =  
}}</nowiki>
}}</nowiki>
 
Note that <code>class name</code> needs to be identical with the name of the template for the edit link to work correctly. Note also that <code>padding: 20px 80px 10px 40px</code> means padding for the top is 20 pixels, the right is 80 pixels, the bottom is 10 pixels, and the left is 40 pixels.


== Example ==
== Example ==
  <nowiki>
  <nowiki>
{{Article Information Box
{{Article Information Box
| class         = hallo
| class           = hello
  | table width  = 100%
| left cell text = Hello:
| table boarder = 10px solid #aaaaaa
| right cell text = Hello dear Visitor!
}}</nowiki>
}}</nowiki>


{{Article Information Box
{{Article Information Box
| class         = hallo
| class           = hello
| table width  = 100%
| left cell text  = Hello:
| table boarder = 10px solid #aaaaaa
| right cell text = Hello dear Visitor!
}}
}}
== See also ==
[[Template:PageTitleTemplatesLeftAreaWidth]]


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

Latest revision as of 13:21, 19 August 2010

  Wiki Synk

This page is kept in synchronization with the  Template:Article Information Box page of the  Quazaa Wiki.

e

Template

Syntax

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

Note that class name needs to be identical with the name of the template for the edit link to work correctly. Note also that padding: 20px 80px 10px 40px means padding for the top is 20 pixels, the right is 80 pixels, the bottom is 10 pixels, and the left is 40 pixels.

Example

{{Article Information Box
| class           = hello
| left cell text  = Hello:
| right cell text = Hello dear Visitor!
}}

See also

Template:PageTitleTemplatesLeftAreaWidth