Template:Article Information Box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
| 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. | |||
== Example == | == Example == | ||
<nowiki> | <nowiki> | ||
{{Article Information Box | {{Article Information Box | ||
| class | | class = hello | ||
| table width | | table width = 80 | ||
| | | left cell text = Hello: | ||
| right cell text = Hello dear Visitor! | |||
}}</nowiki> | }}</nowiki> | ||
{{Article Information Box | {{Article Information Box | ||
| class | | class = hello | ||
| table width | | table width = 80 | ||
| | | left cell text = Hello: | ||
| right cell text = Hello dear Visitor! | |||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 18:24, 31 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 color = (black) | 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 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.
Example
{{Article Information Box | class = hello | table width = 80 | left cell text = Hello: | right cell text = Hello dear Visitor! }}
Hello: |
Hello dear Visitor! | e |